projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f20c54
)
blind fix for iconizing/restoring hidden child frames bug
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Wed, 28 Nov 2001 00:36:22 +0000
(
00:36
+0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Wed, 28 Nov 2001 00:36:22 +0000
(
00:36
+0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12737
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/msw/frame.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/msw/frame.cpp
b/src/msw/frame.cpp
index 57ac80ebfc462253f2d83186340532f4b1111394..d15747b1ea96bfbfdbe1e46cc890928b7a1cf575 100644
(file)
--- 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