]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/toolbar/test.cpp
fixed Stricmp ifdef to also check for __unix__
[wxWidgets.git] / samples / toolbar / test.cpp
index 07ebd62085128432f4fe287bf8b59ce55fb8bb41..0274aefac2b093e389779770cdaa8dd2c85fb842 100644 (file)
@@ -161,7 +161,7 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame)
     EVT_MENU(wxID_HELP, MyFrame::OnAbout)
     EVT_CLOSE(MyFrame::OnCloseWindow)
     EVT_TOOL_RANGE(wxID_OPEN, wxID_PASTE, MyFrame::OnToolLeftClick)
-    EVT_TOOL_ENTER(ID_TOOLBAR, MyFrame::OnToolEnter)
+    EVT_TOOL_ENTER(wxID_OPEN, MyFrame::OnToolEnter)
 END_EVENT_TABLE()
 
 // Define my frame constructor