Use the IsMDIChild() function instead of wxRTTI,
avoiding linking MDI classes in all programs. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3543c79e6f
commit
dad285d71f
@ -663,7 +663,7 @@ void wxFrame::IconizeChildFrames(bool bIconize)
|
||||
wxFrame *frame = wxDynamicCast(win, wxFrame);
|
||||
if ( frame
|
||||
#if wxUSE_MDI_ARCHITECTURE
|
||||
&& !wxDynamicCast(frame, wxMDIChildFrame)
|
||||
&& !IsMDIChild()
|
||||
#endif // wxUSE_MDI_ARCHITECTURE
|
||||
)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user