From: Stefan Csomor Date: Fri, 4 Jan 2002 22:06:19 +0000 (+0000) Subject: removing dependancy on mac headers from public wx headers (eventually adding wx/mac... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b34039cf55bc7cb87cedf396f60396e2f8fc0d62 removing dependancy on mac headers from public wx headers (eventually adding wx/mac/private and typecasts), carbon additions git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/dc.cpp b/src/mac/carbon/dc.cpp index 5e62998da3..95d6293c85 100644 --- a/src/mac/carbon/dc.cpp +++ b/src/mac/carbon/dc.cpp @@ -20,12 +20,15 @@ #include "wx/region.h" #include "wx/image.h" -#include "wx/mac/private.h" #if __MSL__ >= 0x6000 #include "math.h" +using namespace std ; #endif +#include "wx/mac/private.h" + + #if !USE_SHARED_LIBRARY IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject) #endif diff --git a/src/mac/dc.cpp b/src/mac/dc.cpp index 5e62998da3..95d6293c85 100644 --- a/src/mac/dc.cpp +++ b/src/mac/dc.cpp @@ -20,12 +20,15 @@ #include "wx/region.h" #include "wx/image.h" -#include "wx/mac/private.h" #if __MSL__ >= 0x6000 #include "math.h" +using namespace std ; #endif +#include "wx/mac/private.h" + + #if !USE_SHARED_LIBRARY IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject) #endif