-/////////////////////////////////////////////////////////////////////////////
// Name: matrix.cpp
// Purpose: wxTransformMatrix class
// Author: Chris Breeze, Julian Smart
// Modified by: Klaas Holwerda
// Created: 01/02/97
// RCS-ID: $Id$
-// Copyright: (c) Julian Smart and Markus Holzem
+// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "matrix.h"
#endif
#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);