-/////////////////////////////////////////////////////////////////////////////
// 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)
{
}
wxTransformMatrix::wxTransformMatrix(const wxTransformMatrix& mat)
+ : wxObject()
{
(*this) = mat;
}
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);