]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/xti/xti.cpp
Fix return value of wxGenericTreeCtrl::FindItem().
[wxWidgets.git] / samples / xti / xti.cpp
index 75e4a9a71bd55d13033b9d86898fd7ac396b29f5..f67a32fbdb05ee2c932c31aec3c295cdd4014a44 100644 (file)
@@ -58,7 +58,7 @@
 // resources
 // ----------------------------------------------------------------------------
 
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif
 
@@ -169,7 +169,7 @@ MyFrame::MyFrame(const wxString& title)
 
     // the "About" item should be in the help menu
     wxMenu *helpMenu = new wxMenu;
-    helpMenu->Append(Minimal_About, wxT("&About...\tF1"), wxT("Show about dialog"));
+    helpMenu->Append(Minimal_About, wxT("&About\tF1"), wxT("Show about dialog"));
 
     fileMenu->Append(Minimal_Persist, wxT("Persist a wxFrame to XML..."), 
                     wxT("Creates a wxFrame using wxXTI and saves its description as XML"));