search for: commandeventhandler

Displaying 1 result from an estimated 1 matches for "commandeventhandler".

2007 Apr 13
2
who can give me an EvtHandler#connect example?
...t. EvtHandler#connect connect(Integer id, Integer lastId, EventType eventType, ObjectEventFunction function, Object userData = nil, EvtHandler eventSink = nil) the online doc''s example is write in C++: frame->Connect( ID_EXIT, EVT_COMMAND_MENU_SELECTED, CommandEventHandler(MyFrame::OnQuit) ); is it like this?: frame.connect(Wx::ID_EXIT, Wx::EVT_COMMAND_MENU_SELECTED,frame.on_exit); I need to attach event, but not in initialtion function. thanks! cy