]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/geometry.h
Added GetBitmap, GetIcon to wxImageList
[wxWidgets.git] / include / wx / geometry.h
index 0b21a02f5767540ee21c90005d9d06ffe2b5f743..b9d3c7c502b9c7e2e6f578ebb2ea5003f5dcbb99 100644 (file)
 #define _WX_GEOMETRY_H_
 
 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "geometry.cpp"
+    #pragma interface "geometry.h"
 #endif
 
 #include "wx/defs.h"
 
-#ifndef wxUSE_GEOMETRY
-    #define wxUSE_GEOMETRY 0
-#endif
-
 #if wxUSE_GEOMETRY
 
 #include "wx/utils.h"
 #include "wx/gdicmn.h"
-#include <math.h>
+#include "wx/math.h"
 
 #ifdef __WXMSW__
     #define wxMulDivInt32( a , b , c ) ::MulDiv( a , b , c )
@@ -789,6 +785,7 @@ inline bool wxRect2DInt::operator != (const wxRect2DInt& rect) const
 class wxTransform2D
 {
 public :
+    virtual ~wxTransform2D() { }
     virtual void                    Transform( wxPoint2DInt* pt )const  = 0;
     virtual void                    Transform( wxRect2DInt* r ) const;
     virtual wxPoint2DInt    Transform( const wxPoint2DInt &pt ) const;