From: Vadim Zeitlin Date: Tue, 24 Jun 2008 23:42:43 +0000 (+0000) Subject: don't use deprecated wxIconizeEvent::Iconized() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6ad7799c0b5415daf839955055c812cb782bb758 don't use deprecated wxIconizeEvent::Iconized() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/mdi.cpp b/src/msw/mdi.cpp index 5225e86be5..c854040c05 100644 --- a/src/msw/mdi.cpp +++ b/src/msw/mdi.cpp @@ -344,10 +344,8 @@ void wxMDIParentFrame::OnIconized(wxIconizeEvent& event) { event.Skip(); - if ( !event.Iconized() ) - { + if ( !event.IsIconized() ) UpdateClientSize(); - } } // Returns the active MDI child window