X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d0ee33f5c6908b4ac5e1364381f0ef00942e3936..02bcd285fac7124a41292d905609220005f51087:/src/common/matrix.cpp?ds=sidebyside diff --git a/src/common/matrix.cpp b/src/common/matrix.cpp index 66cad04fe5..72a72517e4 100644 --- a/src/common/matrix.cpp +++ b/src/common/matrix.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "matrix.h" -#endif - // Note: this is intended to be used in wxDC at some point to replace // the current system of scaling/translation. It is not yet used. @@ -75,7 +71,7 @@ void wxTransformMatrix::operator = (const wxTransformMatrix& mat) m_isIdentity = mat.m_isIdentity; } -bool wxTransformMatrix::operator == (const wxTransformMatrix& mat) +bool wxTransformMatrix::operator == (const wxTransformMatrix& mat) const { if (m_isIdentity && mat.m_isIdentity) return true; @@ -92,7 +88,7 @@ bool wxTransformMatrix::operator == (const wxTransformMatrix& mat) return true; } -bool wxTransformMatrix::operator != (const wxTransformMatrix& mat) +bool wxTransformMatrix::operator != (const wxTransformMatrix& mat) const { return (! ((*this) == mat)); }