moving themeing include to private.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2009-09-21 12:57:12 +00:00
parent 0fd2ecfed3
commit 0a84f928e9
9 changed files with 3 additions and 28 deletions

View File

@@ -23,6 +23,9 @@
#if wxOSX_USE_ATSU_TEXT #if wxOSX_USE_ATSU_TEXT
// we need theming and atsu // we need theming and atsu
#include <Carbon/Carbon.h> #include <Carbon/Carbon.h>
#else
// we only need theming, if we find a better include replace the following
#include <Carbon/Carbon.h>
#endif #endif
#ifdef __OBJC__ #ifdef __OBJC__

View File

@@ -38,8 +38,6 @@
#ifdef __WXMAC__ #ifdef __WXMAC__
#include "wx/osx/private.h" #include "wx/osx/private.h"
// for theming support
#include <Carbon/Carbon.h>
#endif #endif
#include "wx/arrimpl.cpp" #include "wx/arrimpl.cpp"

View File

@@ -35,8 +35,6 @@
#ifdef __WXMAC__ #ifdef __WXMAC__
#include "wx/osx/private.h" #include "wx/osx/private.h"
// for theming support
#include <Carbon/Carbon.h>
#endif #endif
#include "wx/arrimpl.cpp" #include "wx/arrimpl.cpp"

View File

@@ -38,8 +38,6 @@
#include "wx/osx/private.h" #include "wx/osx/private.h"
#include "wx/graphics.h" #include "wx/graphics.h"
#include "wx/dcgraph.h" #include "wx/dcgraph.h"
// for theming support
#include <Carbon/Carbon.h>
#endif #endif
#ifdef __WXGTK__ #ifdef __WXGTK__

View File

@@ -52,8 +52,6 @@
#ifdef __WXMAC__ #ifdef __WXMAC__
#include "wx/osx/private.h" #include "wx/osx/private.h"
// for theming support
#include <Carbon/Carbon.h>
#endif #endif
#if defined(__WXMSW__) && !defined(__WXWINCE__) && !defined(__WXUNIVERSAL__) #if defined(__WXMSW__) && !defined(__WXWINCE__) && !defined(__WXUNIVERSAL__)

View File

@@ -28,11 +28,6 @@
#include "wx/osx/private.h" #include "wx/osx/private.h"
#if wxOSX_USE_ATSU_TEXT && !wxOSX_USE_CARBON
// include theming support
#include <Carbon/Carbon.h>
#endif
#include <map> #include <map>
#include <string> #include <string>

View File

@@ -30,11 +30,6 @@
#include "wx/dcgraph.h" #include "wx/dcgraph.h"
#include "wx/osx/private.h" #include "wx/osx/private.h"
#if wxOSX_USE_COCOA
// bring in the theme headers
#include <Carbon/Carbon.h>
#endif
// check if we're currently in a paint event // check if we're currently in a paint event
inline bool wxInPaintEvent(wxWindow* win, wxDC& dc) inline bool wxInPaintEvent(wxWindow* win, wxDC& dc)
{ {

View File

@@ -40,12 +40,6 @@
#endif #endif
#include "wx/osx/private.h" #include "wx/osx/private.h"
#if wxOSX_USE_COCOA
// to get the theming APIs
#include <Carbon/Carbon.h>
#endif
#include "wx/osx/private/timer.h" #include "wx/osx/private/timer.h"
#include "wx/evtloop.h" #include "wx/evtloop.h"

View File

@@ -67,10 +67,6 @@
#include "wx/osx/uma.h" #include "wx/osx/uma.h"
#else #else
#include "wx/osx/private.h" #include "wx/osx/private.h"
#if wxOSX_USE_COCOA
// bring in theming
#include <Carbon/Carbon.h>
#endif
#endif #endif
#define MAC_SCROLLBAR_SIZE 15 #define MAC_SCROLLBAR_SIZE 15