X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6695f8f8260b32219b42294531bfb7e2396cceef..d8a16cc8c93a1ad03d2888340cbff6c432b4b0f4:/samples/controls/controls.cpp diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index 6ff54f2ae3..1902bdf531 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -34,10 +34,6 @@ #define USE_XPM #endif -#if defined(__WXGTK__) - #include "wx/gtk/private.h" -#endif - #ifdef USE_XPM #include "mondrian.xpm" #include "icons/choice.xpm" @@ -1916,8 +1912,8 @@ void MyFrame::OnMove( wxMoveEvent& event ) void MyFrame::OnIconized( wxIconizeEvent& event ) { - wxLogMessage(_T("Frame %s"), event.Iconized() ? _T("iconized") - : _T("restored")); + wxLogMessage(_T("Frame %s"), event.IsIconized() ? _T("iconized") + : _T("restored")); event.Skip(); }