]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed typo in EVT_COMMAND definition
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 17 Feb 2005 16:56:35 +0000 (16:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 17 Feb 2005 16:56:35 +0000 (16:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/event.h

index 332f501a4dec7fb65d93e31c622c5427d04c0554..884459101c20e70f07fe48fbd6617d9e8f2a2ed0 100644 (file)
@@ -2632,9 +2632,9 @@ typedef void (wxEvtHandler::*wxMouseCaptureChangedEventFunction)(wxMouseCaptureC
     wx__DECLARE_EVT2(event, id1, id2, wxEventHandler(func))
 
 // EVT_COMMAND
-#define EVT_COMMAND(winid, event, fn) \
+#define EVT_COMMAND(winid, event, func) \
     wx__DECLARE_EVT1(event, winid, wxCommandEventHandler(func))
-#define EVT_COMMAND_RANGE(id1, id2, event, fn) \
+#define EVT_COMMAND_RANGE(id1, id2, event, func) \
     wx__DECLARE_EVT2(event, id1, id2, wxCommandEventHandler(func))
 
 #define EVT_NOTIFY(event, winid, func) \