]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/mdig.cpp
Make IsOfClass out-of-line to defend against gcc 3.4.[56] bug:
[wxWidgets.git] / src / generic / mdig.cpp
index 4f002030ea2783ca5283bf256424419e697fdb93..b6a043aad3cb45138383614b74f08090c3f02219 100644 (file)
@@ -24,6 +24,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_MDI
+
 #include "wx/generic/mdig.h"
 
 #ifndef WX_PRECOMP
@@ -812,4 +814,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxMDIParentFrame, wxGenericMDIParentFrame)
 IMPLEMENT_DYNAMIC_CLASS(wxMDIChildFrame, wxGenericMDIChildFrame)
 IMPLEMENT_DYNAMIC_CLASS(wxMDIClientWindow, wxGenericMDIClientWindow)
 
-#endif
+#endif // wxUSE_GENERIC_MDI_AS_NATIVE
+
+#endif // wxUSE_MDI
\ No newline at end of file