X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bf2c4b942a89de50e29d9296f68420ce43603373..e8b669d34b64c0332bc70eb0959bd6de31397898:/src/common/matrix.cpp diff --git a/src/common/matrix.cpp b/src/common/matrix.cpp index 5fb6624086..5068f5f836 100644 --- a/src/common/matrix.cpp +++ b/src/common/matrix.cpp @@ -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; }