From dc771347d0aefc11e71dea57e3a50649a2a4c47e Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sat, 8 Jan 2011 18:05:33 +0000 Subject: [PATCH] remove unneeded #includes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/private/stattext.h | 2 -- src/common/convauto.cpp | 4 ---- src/gtk/glcanvas.cpp | 7 ------- src/gtk/radiobox.cpp | 6 ------ src/gtk/utilsgtk.cpp | 9 +++------ 5 files changed, 3 insertions(+), 25 deletions(-) diff --git a/include/wx/private/stattext.h b/include/wx/private/stattext.h index 508587113b..21742ccc83 100644 --- a/include/wx/private/stattext.h +++ b/include/wx/private/stattext.h @@ -12,8 +12,6 @@ #ifndef _WX_PRIVATE_STATTEXT_H_ #define _WX_PRIVATE_STATTEXT_H_ -#include "wx/window.h" - enum { wxMARKUP_ENTITY_AMP, diff --git a/src/common/convauto.cpp b/src/common/convauto.cpp index 756e81c233..8620d4e02e 100644 --- a/src/common/convauto.cpp +++ b/src/common/convauto.cpp @@ -23,10 +23,6 @@ #pragma hdrstop #endif -#ifndef WX_PRECOMP - #include "wx/wx.h" -#endif //WX_PRECOMP - #include "wx/convauto.h" // we use latin1 by default as it seems the least bad choice: the files we need diff --git a/src/gtk/glcanvas.cpp b/src/gtk/glcanvas.cpp index 1d6963ddd6..30f09a61ef 100644 --- a/src/gtk/glcanvas.cpp +++ b/src/gtk/glcanvas.cpp @@ -16,13 +16,6 @@ #include "wx/glcanvas.h" -#ifndef WX_PRECOMP - #include "wx/app.h" - #include "wx/frame.h" - #include "wx/colour.h" - #include "wx/module.h" -#endif // WX_PRECOMP - #include #include diff --git a/src/gtk/radiobox.cpp b/src/gtk/radiobox.cpp index 08368f2459..3467b72318 100644 --- a/src/gtk/radiobox.cpp +++ b/src/gtk/radiobox.cpp @@ -14,12 +14,6 @@ #include "wx/radiobox.h" -#ifndef WX_PRECOMP - #include "wx/log.h" - #include "wx/frame.h" - #include "wx/dialog.h" -#endif - #if wxUSE_TOOLTIPS #include "wx/tooltip.h" #endif diff --git a/src/gtk/utilsgtk.cpp b/src/gtk/utilsgtk.cpp index 93b8f02790..0850010f6e 100644 --- a/src/gtk/utilsgtk.cpp +++ b/src/gtk/utilsgtk.cpp @@ -40,14 +40,11 @@ #include // for WNOHANG #include -#include "glib.h" -#include "gdk/gdk.h" -#include "gtk/gtk.h" -#include "gdk/gdkx.h" +#include +#include #if wxUSE_DETECT_SM - #include "X11/Xlib.h" - #include "X11/SM/SMlib.h" + #include #include "wx/unix/utilsx11.h" #endif -- 2.45.2