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