]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/geometry.h
added support for saving grey and grey-red PNG images (patch 985447)
[wxWidgets.git] / include / wx / geometry.h
index 1d42615fa054b7cd125004b00d9b49dab797fb2c..b9d3c7c502b9c7e2e6f578ebb2ea5003f5dcbb99 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_GEOMETRY_H_
 
 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "geometry.cpp"
+    #pragma interface "geometry.h"
 #endif
 
 #include "wx/defs.h"
@@ -785,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;