]> git.saurik.com Git - wxWidgets.git/commitdiff
clang compat.
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 29 May 2012 15:18:52 +0000 (15:18 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 29 May 2012 15:18:52 +0000 (15:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/carbon/region.cpp

index e7d5a1fe373eaf6e160f6fbde643cee54f91c658..f19be2230cf3d03ff6bdae3a042dc9c7b0e674b1 100644 (file)
@@ -303,7 +303,7 @@ wxRegionContain wxRegion::DoContainsPoint(wxCoord x, wxCoord y) const
     if (!m_refData)
         return wxOutRegion;
 
-    CGPoint p = { x, y } ;
+    CGPoint p = CGPointMake( x, y ) ;
     if (HIShapeContainsPoint( M_REGION , &p ) )
         return wxInRegion;