X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5d01a1cb74ad197a1e0cf2e05152322b4765f7f..93c4157c6cf8603eaba7ebbbc3b1e7bd303d8241:/samples/dynamic/dynamic.cpp diff --git a/samples/dynamic/dynamic.cpp b/samples/dynamic/dynamic.cpp index c32ca01362..6eaf7eb148 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(__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