X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f6c54eb076d760cbb6fb15e899f15fbbd575850..849b176b3d1a9b0df1353b4756a2a64204261f46:/samples/html/printing/printing.cpp diff --git a/samples/html/printing/printing.cpp b/samples/html/printing/printing.cpp index fe6db85c75..c2c9f1bac9 100644 --- a/samples/html/printing/printing.cpp +++ b/samples/html/printing/printing.cpp @@ -77,7 +77,6 @@ enum { // menu items Minimal_Quit = 1, - Minimal_About, Minimal_Print, Minimal_Preview, Minimal_PageSetup, @@ -95,7 +94,7 @@ enum // simple menu events like this the static method is much simpler. BEGIN_EVENT_TABLE(MyFrame, wxFrame) EVT_MENU(Minimal_Quit, MyFrame::OnQuit) - EVT_MENU(Minimal_About, MyFrame::OnAbout) + EVT_MENU(wxID_ABOUT, MyFrame::OnAbout) EVT_MENU(Minimal_Print, MyFrame::OnPrint) EVT_MENU(Minimal_Preview, MyFrame::OnPreview) EVT_MENU(Minimal_PageSetup, MyFrame::OnPageSetup) @@ -163,7 +162,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) menuFile->Append(Minimal_Print, "Print..."); menuFile->Append(Minimal_Preview, "Preview..."); menuFile->AppendSeparator(); - menuFile->Append(Minimal_About, "&About"); + menuFile->Append(wxID_ABOUT, "&About"); menuFile->AppendSeparator(); menuFile->Append(Minimal_Quit, "&Exit");