X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9327c3aa027ed135748cf2f059d1555198b02d24..51dc95a4c8ccb00741be48f6353749ada3e9f39a:/src/msw/frame.cpp?ds=inline diff --git a/src/msw/frame.cpp b/src/msw/frame.cpp index 57ac80ebfc..d15747b1ea 100644 --- a/src/msw/frame.cpp +++ b/src/msw/frame.cpp @@ -531,7 +531,10 @@ void wxFrame::IconizeChildFrames(bool bIconize) // restoring it if ( bIconize ) { - frame->m_wasMinimized = frame->IsIconized(); + // note that we shouldn't touch the hidden frames neither + // because iconizing/restoring them would show them as a side + // effect + frame->m_wasMinimized = frame->IsIconized() || !frame->IsShown(); } // this test works for both iconizing and restoring