]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dc.cpp
added a preImage of the selection in order to avoid unnecessary events being triggered
[wxWidgets.git] / src / mac / carbon / dc.cpp
index f66cf2735707d1f84c08d27210acdf99f6fd80dd..f4bf8ea95c72269bdc1947e08f90faed117f3efd 100644 (file)
@@ -38,7 +38,7 @@ IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject)
 #define twips2mm               0.0176388888889
 #define mm2pt                  2.83464566929
 #define pt2mm                  0.352777777778
-#ifndef __UNIX__
+#ifndef __DARWIN__
 const double M_PI = 3.14159265358979 ;
 #endif
 const double RAD2DEG  = 180.0 / M_PI;