no_rtti fix was not having correct eval order

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2005-02-28 05:18:28 +00:00
parent 2c47c53728
commit 1b14412585

View 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 ) ;