]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/dc.cpp
make sure gs_captureWindow is always set to NULL in DoReleaseMouse
[wxWidgets.git] / src / mgl / dc.cpp
index 2c48b7f25601656e0d30e89ab84cff39b33e68c3..d462c90486d5bcef085dcc43d26e471de786e4c3 100644 (file)
 // constants
 //-----------------------------------------------------------------------------
 
 // constants
 //-----------------------------------------------------------------------------
 
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
 const double mm2inches      = 0.0393700787402;
 const double inches2mm      = 25.4;
 const double mm2twips       = 56.6929133859;
 const double mm2inches      = 0.0393700787402;
 const double inches2mm      = 25.4;
 const double mm2twips       = 56.6929133859;