From: Paul Cornett Date: Sat, 20 May 2006 05:43:06 +0000 (+0000) Subject: remove unneeded include of mac/private.h X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6a423d654458a8a7ee1a4d3ce50eb6f2e352098d?ds=sidebyside remove unneeded include of mac/private.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index 0f8e76ccbb..07d3fde9d5 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -52,10 +52,6 @@ namespace std {} using namespace std ; #endif -#ifdef __WXMAC__ - #include "wx/mac/private.h" -#endif - #if wxUSE_WCHAR_T size_t WXDLLEXPORT wxMB2WC(wchar_t *buf, const char *psz, size_t n) { diff --git a/src/generic/splitter.cpp b/src/generic/splitter.cpp index 1dba3581bf..5ba2ae92b8 100644 --- a/src/generic/splitter.cpp +++ b/src/generic/splitter.cpp @@ -12,12 +12,14 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#if wxUSE_SPLITTER - #ifdef __BORLANDC__ #pragma hdrstop #endif +#if wxUSE_SPLITTER + +#include "wx/splitter.h" + #ifndef WX_PRECOMP #include "wx/string.h" #include "wx/utils.h" @@ -33,14 +35,8 @@ #include "wx/settings.h" #endif -#ifdef __WXMAC__ - #include "wx/mac/private.h" -#endif - #include "wx/renderer.h" -#include "wx/splitter.h" - #include DEFINE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)