X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..4e15d1caa03346c126015019c1fdf093033ef40b:/samples/debugrpt/debugrpt.cpp diff --git a/samples/debugrpt/debugrpt.cpp b/samples/debugrpt/debugrpt.cpp index 3ec7fc7f31..7a1f9c83a3 100644 --- a/samples/debugrpt/debugrpt.cpp +++ b/samples/debugrpt/debugrpt.cpp @@ -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")); @@ -322,7 +322,7 @@ void MyFrame::OnPaint(wxPaintEvent& WXUNUSED(event)) MyApp::MyApp() { - // user needs to explicitely enable this + // user needs to explicitly enable this m_uploadReport = false; // call this to tell the library to call our OnFatalException()