// 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/matrix.h"
#include <math.h>
-#if ! (defined(__WXMAC__) && defined(__UNIX__))
-const double pi = 3.1415926535;
-#endif
+static const double pi = 3.1415926535;
wxTransformMatrix::wxTransformMatrix(void)
{
}
wxTransformMatrix::wxTransformMatrix(const wxTransformMatrix& mat)
+ : wxObject()
{
(*this) = mat;
}