Correct the order of coordinates in CGPoint initializer.

The order was reversed.

Closes #11020.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-08-23 22:25:00 +00:00
parent 7b342d55c3
commit e331a94e90

View File

@@ -301,7 +301,7 @@ wxRegionContain wxRegion::DoContainsPoint(wxCoord x, wxCoord y) const
if (!m_refData) if (!m_refData)
return wxOutRegion; return wxOutRegion;
CGPoint p = { y , x } ; CGPoint p = { x, y } ;
if (HIShapeContainsPoint( M_REGION , &p ) ) if (HIShapeContainsPoint( M_REGION , &p ) )
return wxInRegion; return wxInRegion;