]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/splash/splash.cpp
Allow using either single or multi line wxTextCtrl in keyboard sample.
[wxWidgets.git] / samples / splash / splash.cpp
index 93fbb7f7080e7b8f29d8a24a1538cde43d52b973..79014bd54309f88461e0a6444e8501e795157146 100644 (file)
@@ -40,7 +40,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
 
@@ -182,7 +182,7 @@ MyFrame::MyFrame(const wxString& title)
 
     // the "About" item should be in the help menu
     wxMenu *helpMenu = new wxMenu;
-    helpMenu->Append(wxID_ABOUT, wxT("&About...\tF1"), wxT("Show about frame"));
+    helpMenu->Append(wxID_ABOUT, wxT("&About\tF1"), wxT("Show about frame"));
 
     menuFile->Append(wxID_EXIT, wxT("E&xit\tAlt-X"), wxT("Quit this program"));