X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5d01a1cb74ad197a1e0cf2e05152322b4765f7f..ab7ce33c563651f790f99d64ee56727706047ae3:/samples/dynamic/dynamic.cpp?ds=sidebyside diff --git a/samples/dynamic/dynamic.cpp b/samples/dynamic/dynamic.cpp index c32ca01362..308b391f82 100644 --- a/samples/dynamic/dynamic.cpp +++ b/samples/dynamic/dynamic.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma implementation "dynamic.cpp" #pragma interface "dynamic.cpp" #endif @@ -25,7 +25,7 @@ #include "wx/wx.h" #endif -#if defined(__WXGTK__) || defined(__WXMOTIF__) +#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXMGL__) #include "mondrian.xpm" #endif @@ -43,7 +43,6 @@ class MyFrame: public wxFrame public: void OnQuit(wxCommandEvent& event); void OnAbout(wxCommandEvent& event); - bool OnClose(void) { return TRUE; } }; // ID for the menu commands