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:
@@ -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__
|
||||||
|
@@ -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"
|
||||||
|
@@ -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"
|
||||||
|
@@ -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__
|
||||||
|
@@ -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__)
|
||||||
|
@@ -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>
|
||||||
|
|
||||||
|
@@ -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)
|
||||||
{
|
{
|
||||||
|
@@ -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"
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user