X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e55ad60e195f1007db921b2a73a3cac98ed9df65..f97c985452b20a8c2f0bbfb1d0275298bf09fb45:/samples/memcheck/memcheck.cpp?ds=sidebyside diff --git a/samples/memcheck/memcheck.cpp b/samples/memcheck/memcheck.cpp index 2c0f398439..44f024be6b 100644 --- a/samples/memcheck/memcheck.cpp +++ b/samples/memcheck/memcheck.cpp @@ -59,8 +59,9 @@ bool MyApp::OnInit(void) MyFrame *frame = new MyFrame((wxFrame *) NULL); // Give it an icon -#ifdef wx_msw +#ifdef __WXMSW__ frame->SetIcon(wxIcon("mondrian")); +#else frame->SetIcon(wxIcon(mondrian_xpm)); #endif @@ -113,7 +114,7 @@ MyFrame::MyFrame(wxFrame *parent): {} // Intercept menu commands -void MyFrame::OnQuit(wxCommandEvent& event) +void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) { Close(TRUE); }