]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/affinematrix2dbase.h
Define WXDLLIMPEXP_FWD_RIBBON for consistency with all the other libraries.
[wxWidgets.git] / include / wx / affinematrix2dbase.h
index a28bafa1306e4aed3ebf8fe72a071f1b806e540e..94b1955aa3b781f2655acd486e6514b6fa7b0c70 100644 (file)
@@ -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
@@ -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_