]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mdi.cpp
Added wxMGL switch
[wxWidgets.git] / src / msw / mdi.cpp
index c50af442421d408e8b003f07b2acfc3ed985a33c..626131f0bec930314b458027b714ce07e33664d9 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ---------------------------------------------------------------------------
 
 // headers
 // ---------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "mdi.h"
 #endif
 
     #pragma implementation "mdi.h"
 #endif
 
@@ -1064,7 +1064,7 @@ bool wxMDIChildFrame::HandleGetMinMaxInfo(void *mmInfo)
         processed = true;
     }
 
         processed = true;
     }
 
-    return true;
+    return processed;
 }
 
 // ---------------------------------------------------------------------------
 }
 
 // ---------------------------------------------------------------------------