]> git.saurik.com Git - wxWidgets.git/commitdiff
Add missing Contains overload
authorRobin Dunn <robin@alldunn.com>
Sat, 28 Oct 2006 02:59:41 +0000 (02:59 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 28 Oct 2006 02:59:41 +0000 (02:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/graphcmn.cpp

index 4193b2b9cce9e6f5c5d9a02972e026867cc7818f..3cbc6cb3c4e0119a5447f439a186113014f303e4 100644 (file)
@@ -162,6 +162,11 @@ wxRect2DDouble wxGraphicsPath::GetBox()
        return wxRect2DDouble( x,y,w,h );
 }
 
+bool wxGraphicsPath::Contains( const wxPoint2DDouble& c, int fillStyle )
+{
+    return Contains( c.m_x, c.m_y, fillStyle);
+}
+
 //
 // Emulations
 //