X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5d01a1cb74ad197a1e0cf2e05152322b4765f7f..7af284fda7500594b2ab86c8ba60138164ab4d04:/samples/dynamic/dynamic.cpp?ds=sidebyside diff --git a/samples/dynamic/dynamic.cpp b/samples/dynamic/dynamic.cpp index c32ca01362..d1547a2a5f 100644 --- a/samples/dynamic/dynamic.cpp +++ b/samples/dynamic/dynamic.cpp @@ -25,7 +25,7 @@ #include "wx/wx.h" #endif -#if defined(__WXGTK__) || defined(__WXMOTIF__) +#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) #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