1. fixed bug with MDI child frames changign state when parent frame was

iconized/uniconized
2. multiple selection emulation for wxTreeCtrl almost done


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-02-29 01:47:34 +00:00
parent ebd773c6f8
commit 3f7bc32b53
4 changed files with 431 additions and 72 deletions

View File

@@ -805,9 +805,12 @@ void wxFrame::IconizeChildFrames(bool bIconize)
{
wxWindow *win = node->GetData();
if ( win->IsKindOf(CLASSINFO(wxFrame)) )
// the child MDI frames are a special case and should not be touched by
// the parent frame - instead, they are managed by the user
wxFrame *frame = wxDynamicCast(win, wxFrame);
if ( frame && !wxDynamicCast(frame, wxMDIChildFrame) )
{
((wxFrame *)win)->Iconize(bIconize);
frame->Iconize(bIconize);
}
}
}