X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1bc4d9b0130f8fe6e9ce44fb3dd6b8d61088160c..0d1cb8cb298ae68754575cb65695ff9567a36899:/src/common/matrix.cpp diff --git a/src/common/matrix.cpp b/src/common/matrix.cpp index a19d8ea477..96aee82855 100644 --- a/src/common/matrix.cpp +++ b/src/common/matrix.cpp @@ -4,7 +4,7 @@ // 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 ///////////////////////////////////////////////////////////////////////////// @@ -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; }