]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/matrix.cpp
fixed compilation without wxUSE_STREAMS
[wxWidgets.git] / src / common / matrix.cpp
index 05b6a90982ae9e2f9e8343280c7e63aad3fd5915..7a78af94b4a3a53801727a2e023ea2e34da8060c 100644 (file)
@@ -1,4 +1,3 @@
-/////////////////////////////////////////////////////////////////////////////
 // Name:        matrix.cpp
 // Purpose:     wxTransformMatrix class
 // Author:      Chris Breeze, Julian Smart
 #include "wx/defs.h"
 #endif
 
-#include "wxmatrix.h"
+#include "wx/matrix.h"
 #include <math.h>
 
-const double pi = 3.1415926535;
+static const double pi = 3.1415926535;
 
 wxTransformMatrix::wxTransformMatrix(void)
 {
@@ -268,12 +267,12 @@ wxTransformMatrix&  wxTransformMatrix::Mirror(bool x, bool y)
     if (x)
     {
         temp.m_matrix[1][1] = -1;
-        temp.m_isIdentity=false;
+        temp.m_isIdentity=FALSE;
     }
     if (y)
     {
         temp.m_matrix[0][0] = -1;
-        temp.m_isIdentity=false;
+        temp.m_isIdentity=FALSE;
     }
 
     *this = temp * (*this);