]> git.saurik.com Git - wxWidgets.git/commitdiff
added EVT_CUSTOM test
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 14 Dec 2001 23:45:17 +0000 (23:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 14 Dec 2001 23:45:17 +0000 (23:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/event/event.cpp

index 6a68b78ae6c04ae3fc1b379d0d71bae3cf1b0269..1f63f7efd164bbc0f43f7c2433765199cfa85e55 100644 (file)
@@ -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)