X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2012fa63905c4b1e2a144a56e48097a46e3f3e1..e0dec8753abaf97e006ea1185bfb6775b28df0a8:/samples/display/display.cpp diff --git a/samples/display/display.cpp b/samples/display/display.cpp index 1016c70392..8477103b8b 100644 --- a/samples/display/display.cpp +++ b/samples/display/display.cpp @@ -36,7 +36,7 @@ // the application icon (under Windows and OS/2 it is in resources) -#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXX11__) +#ifndef wxHAS_IMAGES_IN_RESOURCES #include "../sample.xpm" #endif @@ -213,7 +213,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size, // the "About" item should be in the help menu wxMenu *helpMenu = new wxMenu; - helpMenu->Append(Display_About, _("&About...\tF1"), _("Show about dialog")); + helpMenu->Append(Display_About, _("&About\tF1"), _("Show about dialog")); // now append the freshly created menu to the menu bar... wxMenuBar *menuBar = new wxMenuBar();