X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1bc4d9b0130f8fe6e9ce44fb3dd6b8d61088160c..12447831a8ebc506f730cafac6f6ef13f243b7d2:/src/common/matrix.cpp diff --git a/src/common/matrix.cpp b/src/common/matrix.cpp index a19d8ea477..5068f5f836 100644 --- a/src/common/matrix.cpp +++ b/src/common/matrix.cpp @@ -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; }