]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/minimal/minimal.cpp
Fix testing for existence of paths with trailing separators in wxMSW.
[wxWidgets.git] / samples / minimal / minimal.cpp
index fb8f7212e3740b3f6ab01a57cf43889c175dc5ec..a78e462908be84bf2a6acba019340414f7ff813c 100644 (file)
@@ -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");