]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/geometry.h
Incremented preview number, reswigged a couple things
[wxWidgets.git] / include / wx / geometry.h
index 0c61a813bafd408b4062783f18a94549f61c77ef..dacbdd62032a3d6b4323d8bfc2145ba5b6fe1312 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_GEOMETRY_H_
 #define _WX_GEOMETRY_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "geometry.cpp"
 #endif
 
@@ -585,9 +585,9 @@ public:
         { m_x += pt.m_x - (m_x+m_width/2) , m_y += pt.m_y -(m_y+m_height/2); }
     inline wxOutCode GetOutCode( const wxPoint2DDouble &pt ) const
         { return (wxOutCode) (( ( pt.m_x < m_x ) ? wxOutLeft : 0 ) +
-                     ( ( pt.m_x >= m_x + m_width ) ? wxOutRight : 0 ) +
+                     ( ( pt.m_x > m_x + m_width ) ? wxOutRight : 0 ) +
                      ( ( pt.m_y < m_y ) ? wxOutTop : 0 )  +
-                     ( ( pt.m_y >= m_y + m_height ) ? wxOutBottom : 0 )); }
+                     ( ( pt.m_y > m_y + m_height ) ? wxOutBottom : 0 )); }
        inline wxOutCode GetOutcode(const wxPoint2DDouble &pt) const
                { return GetOutCode(pt) ; }
     inline bool Contains( const wxPoint2DDouble &pt ) const