X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d3e7b52d84580c28df8f754b81363502f917ac7..f6840be66eb772c08f0cbb43de677509d5d132bb:/include/wx/geometry.h diff --git a/include/wx/geometry.h b/include/wx/geometry.h index 0b21a02f57..b9d3c7c502 100644 --- a/include/wx/geometry.h +++ b/include/wx/geometry.h @@ -13,20 +13,16 @@ #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 +#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;