]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dc.cpp
workaround because regions that were built up, were sometimes being drawn on the...
[wxWidgets.git] / src / mac / carbon / dc.cpp
index 3d7902505911e40cf8f9169d9d9f31347e0d5aa1..d1cfb0411d052ff896318ff0f2b9beca1816f316 100644 (file)
 #include "wx/image.h"
 #include "wx/log.h"
 
-#if __MSL__ >= 0x6000
-namespace std {}
-using namespace std ;
+#ifdef __MSL__
+    #if __MSL__ >= 0x6000
+        namespace std {}
+        using namespace std ;
+    #endif
 #endif
 
 #include "wx/mac/private.h"
+#ifndef __DARWIN__
 #include <ATSUnicode.h>
 #include <TextCommon.h>
 #include <TextEncodingConverter.h>
+#endif
 
 IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject)