]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/doxygen/overviews/eventhandling.h
Fix typo in an example of Bind()-ing a function in the event overview.
[wxWidgets.git] / docs / doxygen / overviews / eventhandling.h
index 10a1c6543ac21bea1a86572412156fe4916063a9..098c7efafa15fd82ce822806f9e1ca68f66d33e4 100644 (file)
@@ -374,7 +374,7 @@ MyFunctor myFunctor;
 
 MyFrame::MyFrame()
 {
-    Bind( wxEVT_COMMAND_MENU_SELECTED, &myFunctor, wxID_EXIT );
+    Bind( wxEVT_COMMAND_MENU_SELECTED, myFunctor, wxID_EXIT );
 }
 @endcode