]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/matrix.cpp
corrected passing const char * to a function taking char * (part of the patch 543892)
[wxWidgets.git] / src / common / matrix.cpp
index a19d8ea477c0f1a8b7a43152574fb5958a9534ce..7a78af94b4a3a53801727a2e023ea2e34da8060c 100644 (file)
@@ -29,9 +29,7 @@
 #include "wx/matrix.h"
 #include <math.h>
 
-#if ! (defined(__WXMAC__) && defined(__UNIX__))
-const double pi = 3.1415926535;
-#endif
+static const double pi = 3.1415926535;
 
 wxTransformMatrix::wxTransformMatrix(void)
 {