]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use deprecated wxIconizeEvent::Iconized()
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 24 Jun 2008 23:42:43 +0000 (23:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 24 Jun 2008 23:42:43 +0000 (23:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/mdi.cpp

index 5225e86be57ba44b5faa8b93d86cfcbc97ede51a..c854040c0529e03b1b964ca324e65a56cf6575fe 100644 (file)
@@ -344,10 +344,8 @@ void wxMDIParentFrame::OnIconized(wxIconizeEvent& event)
 {
     event.Skip();
 
-    if ( !event.Iconized() )
-    {
+    if ( !event.IsIconized() )
         UpdateClientSize();
-    }
 }
 
 // Returns the active MDI child window