X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..9914bfbb77f48baf869b63aff58feb2b145ff4d3:/src/osx/carbon/region.cpp diff --git a/src/osx/carbon/region.cpp b/src/osx/carbon/region.cpp index 1df36935a3..d5e113408a 100644 --- a/src/osx/carbon/region.cpp +++ b/src/osx/carbon/region.cpp @@ -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;