]> git.saurik.com Git - wxWidgets.git/commitdiff
no_rtti fix was not having correct eval order
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 28 Feb 2005 05:18:28 +0000 (05:18 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 28 Feb 2005 05:18:28 +0000 (05:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/renderer.cpp

index 78251956e4ecf79371a75589f36f4af5a65f2087..d726076a49c98d63b654d8851737df2c199b877a 100644 (file)
@@ -162,7 +162,7 @@ wxRendererMac::DrawHeaderButton(wxWindow *win,
         {
             CGContextRef cgContext ;
 #if wxMAC_USE_CORE_GRAPHICS
-            cgContext = (wxMacCGContext*)(dc.GetGraphicContext())->GetNativeContext() ;
+            cgContext = ((wxMacCGContext*)(dc.GetGraphicContext()))->GetNativeContext() ;
 #else
             Rect bounds ;
             GetPortBounds( (CGrafPtr) dc.m_macPort , &bounds ) ;
@@ -286,7 +286,7 @@ wxRendererMac::DrawSplitterSash(wxWindow *win,
         {
             CGContextRef cgContext ;
 #if wxMAC_USE_CORE_GRAPHICS
-            cgContext = (wxMacCGContext*)(dc.GetGraphicContext())->GetNativeContext() ;
+            cgContext = ((wxMacCGContext*)(dc.GetGraphicContext()))->GetNativeContext() ;
 #else
             Rect bounds ;
             GetPortBounds( (CGrafPtr) dc.m_macPort , &bounds ) ;