]> git.saurik.com Git - wxWidgets.git/commitdiff
simplified RTTI chain: wxFrame base class is now directly wxWindow, not wxFrameMSW
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 9 Jul 2001 21:45:59 +0000 (21:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 9 Jul 2001 21:45:59 +0000 (21:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/frame.cpp

index e99831a461b6aee638a9c28fde02e12eeee61d43..0a453aba9aada46a477f9fa54995b232f112bc86 100644 (file)
@@ -926,7 +926,7 @@ void wxFrameMSW::IconizeChildFrames(bool bIconize)
 
         // the child MDI frames are a special case and should not be touched by
         // the parent frame - instead, they are managed by the user
 
         // the child MDI frames are a special case and should not be touched by
         // the parent frame - instead, they are managed by the user
-        wxFrameMSW *frame = wxDynamicCast(win, wxFrameMSW);
+        wxFrameMSW *frame = wxDynamicCast(win, wxFrame);
         if ( frame
 #if wxUSE_MDI_ARCHITECTURE
                 && !wxDynamicCast(frame, wxMDIChildFrame)
         if ( frame
 #if wxUSE_MDI_ARCHITECTURE
                 && !wxDynamicCast(frame, wxMDIChildFrame)