X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5d01a1cb74ad197a1e0cf2e05152322b4765f7f..8f974c520a8733158591891458fda10fae4c3950:/samples/dynamic/dynamic.cpp 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