X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1bc4d9b0130f8fe6e9ce44fb3dd6b8d61088160c..dd83f6184e8873b12adbb43071f8f8762f39f82c:/src/common/matrix.cpp?ds=sidebyside 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; }