- EVT_MENU(ANITEST_ABOUT, MyFrame::OnAbout)
- EVT_MENU(ANITEST_QUIT, MyFrame::OnQuit)
- EVT_MENU(ANITEST_OPEN, MyFrame::OnOpen)
+ EVT_MENU(wxID_ABOUT, MyFrame::OnAbout)
+ EVT_MENU(wxID_EXIT, MyFrame::OnQuit)
+#if wxUSE_FILEDLG
+ EVT_MENU(wxID_OPEN, MyFrame::OnOpen)
+#endif // wxUSE_FILEDLG