X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/906c935a80b10d53cecf57f71ab5f3f4f1d529ec..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/include/wx/affinematrix2dbase.h diff --git a/include/wx/affinematrix2dbase.h b/include/wx/affinematrix2dbase.h index 9a70402e53..94b1955aa3 100644 --- a/include/wx/affinematrix2dbase.h +++ b/include/wx/affinematrix2dbase.h @@ -4,13 +4,16 @@ // Author: Catalin Raceanu // Created: 2011-04-06 // Copyright: (c) wxWidgets team -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_AFFINEMATRIX2DBASE_H_ #define _WX_AFFINEMATRIX2DBASE_H_ #include "wx/defs.h" + +#if wxUSE_GEOMETRY + #include "wx/geometry.h" struct wxMatrix2D @@ -37,7 +40,7 @@ class WXDLLIMPEXP_CORE wxAffineMatrix2DBase public: wxAffineMatrix2DBase() {} virtual ~wxAffineMatrix2DBase() {} - + // sets the matrix to the respective values virtual void Set(const wxMatrix2D& mat2D, const wxPoint2DDouble& tr) = 0; @@ -119,4 +122,6 @@ protected: wxPoint2DDouble DoTransformDistance(const wxPoint2DDouble& p) const = 0; }; +#endif // wxUSE_GEOMETRY + #endif // _WX_AFFINEMATRIX2DBASE_H_