X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ec2df6cbc126adc3a5d9e337f057327430e28c3..f538710f0b798b21365fd614ba531055b225b115:/samples/event/event.cpp?ds=sidebyside diff --git a/samples/event/event.cpp b/samples/event/event.cpp index 6a68b78ae6..1f63f7efd1 100644 --- a/samples/event/event.cpp +++ b/samples/event/event.cpp @@ -179,6 +179,9 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame) EVT_UPDATE_UI(Event_Pop, MyFrame::OnUpdateUIPop) EVT_MY_CUSTOM_COMMAND(-1, MyFrame::OnProcessCustom) + + // this would also work: + //EVT_CUSTOM(wxEVT_MY_CUSTOM_COMMAND, -1, MyFrame::OnProcessCustom) END_EVENT_TABLE() BEGIN_EVENT_TABLE(MyEvtHandler, wxEvtHandler)