]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/vscroll/vstest.cpp
fixes potential crash under gatekeeper
[wxWidgets.git] / samples / vscroll / vstest.cpp
index 344fc0e85087b4d2f39f21f3c6552323de8ddb35..47e2822b3cf75506aede81b7fc5c7f2ad5a63696 100644 (file)
@@ -40,7 +40,7 @@
 // ----------------------------------------------------------------------------
 
 // the application icon (under Windows and OS/2 it is in resources)
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif
 
@@ -513,7 +513,7 @@ VarScrollFrame::VarScrollFrame()
 
     // the "About" item should be in the help menu
     wxMenu *menuHelp = new wxMenu;
-    menuHelp->Append(VScroll_About, wxT("&About...\tF1"), wxT("Show about dialog"));
+    menuHelp->Append(VScroll_About, wxT("&About\tF1"), wxT("Show about dialog"));
 
 #ifdef wxHAS_RADIO_MENU_ITEMS
     menuMode->AppendRadioItem(VScroll_VScrollMode, wxT("&Vertical\tAlt-V"),