]> git.saurik.com Git - wxWidgets.git/commitdiff
Workaround for compile problem in IconizeChildFrames.
authorStefan Neis <Stefan.Neis@t-online.de>
Sun, 2 May 2004 15:25:44 +0000 (15:25 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sun, 2 May 2004 15:25:44 +0000 (15:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/frame.cpp

index f5024c8eb4ade77ea2ef87088190b36e92da649e..d455626ed87fd461784825c481e3b25f34209495 100644 (file)
@@ -781,6 +781,10 @@ void wxFrame::IconizeChildFrames(
   bool                              bIconize
 )
 {
+  // FIXME: Generic MDI does not use Frames for the Childs, so this does _not_
+  //        work. Possibly, the right thing is simply to eliminate this
+  //        functions and all the calls to it from within this file.
+#if 0
     for (wxWindowList::Node* pNode = GetChildren().GetFirst();
          pNode;
          pNode = pNode->GetNext() )
@@ -812,6 +816,7 @@ void wxFrame::IconizeChildFrames(
                 pFrame->Iconize(bIconize);
         }
     }
+#endif
 } // end of wxFrame::IconizeChildFrames
 
 WXHICON wxFrame::GetDefaultIcon() const