]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/affinematrix2dbase.h
No changes, just move wxCheckBoxState to wx/defs.h from wx/checkbox.h.
[wxWidgets.git] / include / wx / affinematrix2dbase.h
index a28bafa1306e4aed3ebf8fe72a071f1b806e540e..30b3256500afac787e14c62108e65361c0731c10 100644 (file)
@@ -11,6 +11,9 @@
 #define _WX_AFFINEMATRIX2DBASE_H_
 
 #include "wx/defs.h"
+
+#if wxUSE_GEOMETRY
+
 #include "wx/geometry.h"
 
 struct wxMatrix2D
@@ -36,6 +39,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;
@@ -118,4 +122,6 @@ protected:
         wxPoint2DDouble DoTransformDistance(const wxPoint2DDouble& p) const = 0;
 };
 
+#endif // wxUSE_GEOMETRY
+
 #endif // _WX_AFFINEMATRIX2DBASE_H_