]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/region.cpp
supporting switching back background style from transparent on tlws
[wxWidgets.git] / src / osx / carbon / region.cpp
index 1df36935a32dd09ec113e956b4b8972a8c33fdba..d5e113408ad7d3346152aa54351677bd8d7315b3 100644 (file)
@@ -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;