]> git.saurik.com Git - wxWidgets.git/commitdiff
fix icoinse bug
authorChris Elliott <biol75@york.ac.uk>
Thu, 24 Mar 2005 13:21:12 +0000 (13:21 +0000)
committerChris Elliott <biol75@york.ac.uk>
Thu, 24 Mar 2005 13:21:12 +0000 (13:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/frame.cpp

index 777f5ea1f69489dc89aa52b8c3bf44faa76e5194..73f53067bf19d677ef4bed3826ffe7b395f7f274 100644 (file)
@@ -692,7 +692,7 @@ void wxFrame::IconizeChildFrames(bool bIconize)
         wxFrame *frame = wxDynamicCast(win, wxFrame);
         if ( frame
 #if wxUSE_MDI_ARCHITECTURE
-                && !IsMDIChild()
+                && !frame->IsMDIChild()
 #endif // wxUSE_MDI_ARCHITECTURE
            )
         {