X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bf2c4b942a89de50e29d9296f68420ce43603373..6bb000ec67f671142ba67feaddbaeddd2b575811:/src/common/matrix.cpp diff --git a/src/common/matrix.cpp b/src/common/matrix.cpp index 5fb6624086..d0d16755a3 100644 --- a/src/common/matrix.cpp +++ b/src/common/matrix.cpp @@ -4,11 +4,11 @@ // 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 @@ -29,7 +29,7 @@ #include "wx/matrix.h" #include -const double pi = 3.1415926535; +static const double pi = 3.1415926535; wxTransformMatrix::wxTransformMatrix(void) { @@ -39,6 +39,7 @@ wxTransformMatrix::wxTransformMatrix(void) } wxTransformMatrix::wxTransformMatrix(const wxTransformMatrix& mat) + : wxObject() { (*this) = mat; }