class DropList ... ... Callback WhenSelected; ...
void DropList::Select() { int c = list.GetCursor(); if(c >= 0) value = key[c]; if(dropfocus) SetFocus(); Sync(); UpdateAction(); WhenSelected.Execute(); }
Report message to a moderator