X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/513abb883f5b0d02a9458becb2802dc01479bd38..7aa5864467bf0bb220fdc447876f13f178ae8f35:/src/common/matrix.cpp diff --git a/src/common/matrix.cpp b/src/common/matrix.cpp index 05b6a90982..a19d8ea477 100644 --- a/src/common/matrix.cpp +++ b/src/common/matrix.cpp @@ -1,4 +1,3 @@ -///////////////////////////////////////////////////////////////////////////// // Name: matrix.cpp // Purpose: wxTransformMatrix class // Author: Chris Breeze, Julian Smart @@ -27,10 +26,12 @@ #include "wx/defs.h" #endif -#include "wxmatrix.h" +#include "wx/matrix.h" #include +#if ! (defined(__WXMAC__) && defined(__UNIX__)) const double pi = 3.1415926535; +#endif wxTransformMatrix::wxTransformMatrix(void) { @@ -268,12 +269,12 @@ wxTransformMatrix& wxTransformMatrix::Mirror(bool x, bool y) if (x) { temp.m_matrix[1][1] = -1; - temp.m_isIdentity=false; + temp.m_isIdentity=FALSE; } if (y) { temp.m_matrix[0][0] = -1; - temp.m_isIdentity=false; + temp.m_isIdentity=FALSE; } *this = temp * (*this);