a small GUI glitch corrected (if a frame with child frames was resized, it
was lowered below it's children) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -683,6 +683,12 @@ void wxFrame::MSWOnSize(int x, int y, WXUINT id)
|
|||||||
switch (id)
|
switch (id)
|
||||||
{
|
{
|
||||||
case SIZENORMAL:
|
case SIZENORMAL:
|
||||||
|
// only do it it if we were iconized before, otherwise resizing the
|
||||||
|
// parent frame has a curious side effect of bringing it under it's
|
||||||
|
// children
|
||||||
|
if ( !m_iconized )
|
||||||
|
break;
|
||||||
|
|
||||||
// restore all child frames too
|
// restore all child frames too
|
||||||
IconizeChildFrames(FALSE);
|
IconizeChildFrames(FALSE);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user