X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1bc4d9b0130f8fe6e9ce44fb3dd6b8d61088160c..93bfd481b7f2f0fec50dd79fcab52374aa59ebbb:/src/common/matrix.cpp diff --git a/src/common/matrix.cpp b/src/common/matrix.cpp index a19d8ea477..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,9 +29,7 @@ #include "wx/matrix.h" #include -#if ! (defined(__WXMAC__) && defined(__UNIX__)) -const double pi = 3.1415926535; -#endif +static const double pi = 3.1415926535; wxTransformMatrix::wxTransformMatrix(void) { @@ -41,6 +39,7 @@ wxTransformMatrix::wxTransformMatrix(void) } wxTransformMatrix::wxTransformMatrix(const wxTransformMatrix& mat) + : wxObject() { (*this) = mat; }