]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/tevent.tex
I think I found out how GTK+ want popup windows
[wxWidgets.git] / docs / latex / wx / tevent.tex
index 0d0ae34d0b47ace45360697cafd72e6629901b26..e4a42328aebb98b162c2398e35e36ec47c497c2a 100644 (file)
@@ -447,7 +447,7 @@ DEFINE_EVENT_TYPE(wxEVT_MY_EVENT)
 BEGIN_EVENT_TABLE(MyFrame, wxFrame)
   EVT_MENU    (wxID_EXIT, MyFrame::OnExit)
   // ....
-  EVT_COMMAND  (wxEVT_MY_EVENT, ID_MY_WINDOW,  MyFrame::OnMyEvent)
+  EVT_COMMAND  (ID_MY_WINDOW, wxEVT_MY_EVENT, MyFrame::OnMyEvent)
 END_EVENT_TABLE()
 
 void MyFrame::OnMyEvent( wxCommandEvent &event )