diff --git a/samples/toolbar/test.cpp b/samples/toolbar/test.cpp index f157066d7e..bb9c4c22b0 100644 --- a/samples/toolbar/test.cpp +++ b/samples/toolbar/test.cpp @@ -174,9 +174,9 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame) EVT_MENU(wxID_EXIT, MyFrame::OnQuit) EVT_MENU(wxID_HELP, MyFrame::OnAbout) - EVT_MENU(IDM_TOOLBAR_TOGGLETOOLBAR, OnToggleToolbar) - EVT_MENU(IDM_TOOLBAR_ENABLEPRINT, OnEnablePrint) - EVT_MENU(IDM_TOOLBAR_TOGGLEHELP, OnToggleHelp) + EVT_MENU(IDM_TOOLBAR_TOGGLETOOLBAR, MyFrame::OnToggleToolbar) + EVT_MENU(IDM_TOOLBAR_ENABLEPRINT, MyFrame::OnEnablePrint) + EVT_MENU(IDM_TOOLBAR_TOGGLEHELP, MyFrame::OnToggleHelp) EVT_MENU(-1, MyFrame::OnToolLeftClick) EVT_TOOL_ENTER(ID_TOOLBAR, MyFrame::OnToolEnter)