]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/debugrpt/debugrpt.cpp
Include <fcntl.h> from a header using fcntl().
[wxWidgets.git] / samples / debugrpt / debugrpt.cpp
index e8b5ee9f3a7eaa6178a1616062ab4ee50bb2b21c..7a1f9c83a35ad5cdf4cda737a220b647281cfbbd 100644 (file)
@@ -35,7 +35,7 @@
     #error "This sample can't be built without wxUSE_ON_FATAL_EXCEPTION"
 #endif // wxUSE_ON_FATAL_EXCEPTION
 
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif
 
@@ -251,7 +251,7 @@ MyFrame::MyFrame()
                        wxT("You need to configure a web server accepting debug report uploads to use this function"));
 
     wxMenu *menuHelp = new wxMenu;
-    menuHelp->Append(DebugRpt_About, wxT("&About...\tF1"));
+    menuHelp->Append(DebugRpt_About, wxT("&About\tF1"));
 
     wxMenuBar *mbar = new wxMenuBar();
     mbar->Append(menuFile, wxT("&File"));