From: Vadim Zeitlin Date: Sun, 10 Sep 2006 23:19:50 +0000 (+0000) Subject: use wxID_OPEN instead of INTERNAT_OPEN X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6ea0cc70f73396407b8759fed3b4168416a86c3f?hp=dd2040736c6ff011a5a62b1abd26173806c36de4 use wxID_OPEN instead of INTERNAT_OPEN git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/internat/internat.cpp b/samples/internat/internat.cpp index 089ed4b3d0..4bde4cdea4 100644 --- a/samples/internat/internat.cpp +++ b/samples/internat/internat.cpp @@ -81,8 +81,7 @@ enum INTERNAT_TEST, INTERNAT_TEST_1, INTERNAT_TEST_2, - INTERNAT_TEST_3, - INTERNAT_OPEN + INTERNAT_TEST_3 }; // language data @@ -144,7 +143,7 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame) EVT_MENU(wxID_EXIT, MyFrame::OnQuit) EVT_MENU(wxID_ABOUT, MyFrame::OnAbout) EVT_MENU(INTERNAT_TEST, MyFrame::OnPlay) - EVT_MENU(INTERNAT_OPEN, MyFrame::OnOpen) + EVT_MENU(wxID_OPEN, MyFrame::OnOpen) EVT_MENU(INTERNAT_TEST_1, MyFrame::OnTest1) EVT_MENU(INTERNAT_TEST_2, MyFrame::OnTest2) EVT_MENU(INTERNAT_TEST_3, MyFrame::OnTest3) @@ -227,7 +226,7 @@ bool MyApp::OnInit() file_menu->Append(wxID_EXIT, _("E&xit")); wxMenu *test_menu = new wxMenu; - test_menu->Append(INTERNAT_OPEN, _("&Open bogus file")); + test_menu->Append(wxID_OPEN, _("&Open bogus file")); test_menu->Append(INTERNAT_TEST, _("&Play a game")); test_menu->AppendSeparator(); test_menu->Append(INTERNAT_TEST_1, _("&1 _() (gettext)"));