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:
parent
7b342d55c3
commit
e331a94e90
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ wxRegionContain wxRegion::DoContainsPoint(wxCoord x, wxCoord y) const
|
|||
if (!m_refData)
|
||||
return wxOutRegion;
|
||||
|
||||
CGPoint p = { y , x } ;
|
||||
CGPoint p = { x, y } ;
|
||||
if (HIShapeContainsPoint( M_REGION , &p ) )
|
||||
return wxInRegion;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue