Changeset 48138

Show
Ignore:
Timestamp:
09/07/09 16:05:49 (6 months ago)
Author:
kevino@webkit.org
Message:

wx build fix for 2.8 compilation.

Location:
trunk/WebCore
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r48137 r48138  
     12009-09-07  Kevin Ollivier  <kevino@theolliviers.com> 
     2 
     3        wx build fix for 2.8 compilation. 
     4 
     5        * platform/wx/wxcode/mac/carbon/scrollbar_render.cpp: 
     6        (wxRenderer_DrawScrollbar): 
     7 
    182009-09-07  Drew Wilson  <atwilson@google.com> 
    29 
  • trunk/WebCore/platform/wx/wxcode/mac/carbon/scrollbar_render.cpp

    r48125 r48138  
    7272 
    7373    CGContextRef cgContext; 
    74     wxGCDC gcdc = static_cast<wxGCDC>(dc); 
    75     cgContext = (CGContextRef) gcdc.GetGraphicsContext()->GetNativeContext(); 
     74#if wxCHECK_VERSION(2,9,0) 
     75    wxGraphicsContext* gc = static_cast<wxGCDC>(dc).GetGraphicsContext(); 
     76#else 
     77    wxGraphicsContext* gc = dc.GetGraphicsContext(); 
     78#endif 
     79    cgContext = (CGContextRef) gc->GetNativeContext(); 
    7680 
    7781    {