X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/28f12ffb86b5a32c7eaa596a095f4b01890c9f46..9696657f22ee2f10017c0bc305ae1843ee8fe768:/samples/minimal/minimal.cpp diff --git a/samples/minimal/minimal.cpp b/samples/minimal/minimal.cpp index 80bf766199..a78e462908 100644 --- a/samples/minimal/minimal.cpp +++ b/samples/minimal/minimal.cpp @@ -16,10 +16,10 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- - + // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" - + #ifdef __BORLANDC__ #pragma hdrstop #endif @@ -36,7 +36,7 @@ // the application icon (under Windows and OS/2 it is in resources and even // though we could still include the XPM here it would be unused) -#if !defined(__WXMSW__) && !defined(__WXPM__) +#ifndef wxHAS_IMAGES_IN_RESOURCES #include "../sample.xpm" #endif @@ -154,7 +154,7 @@ MyFrame::MyFrame(const wxString& title) // the "About" item should be in the help menu wxMenu *helpMenu = new wxMenu; - helpMenu->Append(Minimal_About, "&About...\tF1", "Show about dialog"); + helpMenu->Append(Minimal_About, "&About\tF1", "Show about dialog"); fileMenu->Append(Minimal_Quit, "E&xit\tAlt-X", "Quit this program");