]> git.saurik.com Git - wxWidgets.git/commitdiff
add needed includes, remove unneeded ones
authorPaul Cornett <paulcor@bullseye.com>
Sat, 26 Aug 2006 18:37:51 +0000 (18:37 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sat, 26 Aug 2006 18:37:51 +0000 (18:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/menu.cpp
src/gtk/toplevel.cpp

index f11a1571d57c29bbdac581ddbbdd3c95d9017b78..ff08f83f5aa22fdfed3c33f237e70682448c5908 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/intl.h"
     #include "wx/log.h"
-    #include "wx/app.h"
+    #include "wx/frame.h"
     #include "wx/bitmap.h"
 #endif
 
-#if wxUSE_ACCEL
-    #include "wx/accel.h"
-#endif // wxUSE_ACCEL
-
+#include "wx/accel.h"
 #include "wx/stockitem.h"
 #include "wx/gtk/private.h"
 
-#include <gdk/gdkkeysyms.h>
-
 // FIXME: is this right? somehow I don't think so (VZ)
 
 #define gtk_accel_group_attach(g, o) gtk_window_add_accel_group((o), (g))
index f599caeab3160bca41275714560fa5cb8e507fa7..2584ec651203cfc39e576e20830964fa80e7bd4a 100644 (file)
 #include "wx/toplevel.h"
 
 #ifndef WX_PRECOMP
+    #include "wx/frame.h"
+    #include "wx/icon.h"
     #include "wx/log.h"
     #include "wx/app.h"
-    #include "wx/dcclient.h"
-    #include "wx/dialog.h"
-    #include "wx/timer.h"
-    #include "wx/settings.h"
-    #include "wx/control.h"
 #endif
 
 #include "wx/gtk/private.h"
 #include "wx/evtloop.h"
 
-#include <glib.h>
-#include <gdk/gdk.h>
 #include <gtk/gtk.h>
-#include <gdk/gdkkeysyms.h>
 #include <gdk/gdkx.h>
 
 #include "wx/gtk/win_gtk.h"