]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/frame.cpp
Hopefully fixed library names generated by wx-config for OS/2's PM port.
[wxWidgets.git] / 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
            )
         {