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:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user