X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a0dce9cd0e7aff802571b93c3d3a8ad9ba7d1d1..e3276230de335908f70232b2a5ede43665bd8d9d:/src/msw/mdi.cpp 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