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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user