]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/geometry.cpp
fixed bug in Set(double jdn): don't test whether the date is valid before setting...
[wxWidgets.git] / src / common / geometry.cpp
index b78f2e79ee6dc2777b8f7619252e974f1b031cdb..1eb3d7b26f1e27ae795edc854fcd8eed5bdd8137 100644 (file)
@@ -10,7 +10,7 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "geometry.cpp"
+    #pragma implementation "geometry.h"
 #endif
 
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/geometry.h"
 #include "wx/datstrm.h"
 
-// normally this is defined in <math.h>
-#ifndef M_PI
-    #define M_PI 3.14159265358979323846
-#endif
-
 //
 // wxPoint2D
 //