]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/frame.cpp
Added clipboard cut and paste
[wxWidgets.git] / src / msw / frame.cpp
index 57ac80ebfc462253f2d83186340532f4b1111394..d15747b1ea96bfbfdbe1e46cc890928b7a1cf575 100644 (file)
@@ -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