]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/mdi.cpp
deprecation fixes, plus some code size reduction and cleanup
[wxWidgets.git] / src / gtk1 / mdi.cpp
index 9f853fcae7ddeecfaeff554427852941e672426d..47b3493b95b725a287e030d763d5bb0450812a4c 100644 (file)
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
+#if wxUSE_MDI
+
 #include "wx/mdi.h"
-#include "wx/notebook.h"
 
-#if wxUSE_MDI
+#ifndef WX_PRECOMP
+    #include "wx/intl.h"
+    #include "wx/menu.h"
+    #include "wx/dialog.h"
+#endif
 
-#include "wx/dialog.h"
-#include "wx/menu.h"
-#include "wx/intl.h"
+#include "wx/notebook.h"
 #include "wx/gtk1/private.h"
 
 #include <glib.h>
@@ -42,8 +45,6 @@ extern bool g_isIdle;
 // globals
 //-----------------------------------------------------------------------------
 
-extern wxList wxPendingDelete;
-
 //-----------------------------------------------------------------------------
 // "switch_page"
 //-----------------------------------------------------------------------------