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:
@@ -162,7 +162,7 @@ wxRendererMac::DrawHeaderButton(wxWindow *win,
|
|||||||
{
|
{
|
||||||
CGContextRef cgContext ;
|
CGContextRef cgContext ;
|
||||||
#if wxMAC_USE_CORE_GRAPHICS
|
#if wxMAC_USE_CORE_GRAPHICS
|
||||||
cgContext = (wxMacCGContext*)(dc.GetGraphicContext())->GetNativeContext() ;
|
cgContext = ((wxMacCGContext*)(dc.GetGraphicContext()))->GetNativeContext() ;
|
||||||
#else
|
#else
|
||||||
Rect bounds ;
|
Rect bounds ;
|
||||||
GetPortBounds( (CGrafPtr) dc.m_macPort , &bounds ) ;
|
GetPortBounds( (CGrafPtr) dc.m_macPort , &bounds ) ;
|
||||||
@@ -286,7 +286,7 @@ wxRendererMac::DrawSplitterSash(wxWindow *win,
|
|||||||
{
|
{
|
||||||
CGContextRef cgContext ;
|
CGContextRef cgContext ;
|
||||||
#if wxMAC_USE_CORE_GRAPHICS
|
#if wxMAC_USE_CORE_GRAPHICS
|
||||||
cgContext = (wxMacCGContext*)(dc.GetGraphicContext())->GetNativeContext() ;
|
cgContext = ((wxMacCGContext*)(dc.GetGraphicContext()))->GetNativeContext() ;
|
||||||
#else
|
#else
|
||||||
Rect bounds ;
|
Rect bounds ;
|
||||||
GetPortBounds( (CGrafPtr) dc.m_macPort , &bounds ) ;
|
GetPortBounds( (CGrafPtr) dc.m_macPort , &bounds ) ;
|
||||||
|
Reference in New Issue
Block a user