Changeset 53373 in webkit
- Timestamp:
- Jan 17, 2010 3:39:25 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r53372 r53373 1 2010-01-17 Kevin Watters <kevinwatters@gmail.com> 2 3 Reviewed by Kevin Ollivier. 4 5 [wx] On Win and GTK, we need to manually apply the transforms when falling back 6 to GDI / GDK drawing, but this is not needed on Mac since we always use CG there. 7 8 https://bugs.webkit.org/show_bug.cgi?id=33730 9 10 * platform/wx/RenderThemeWx.cpp: 11 (WebCore::RenderThemeWx::paintButton): 12 1 13 2010-01-17 Martin Robinson <martin.james.robinson@gmail.com> 2 14 -
trunk/WebCore/platform/wx/RenderThemeWx.cpp
r48511 r53373 268 268 IntRect rect = r; 269 269 270 #if USE(WXGC) 270 // On Mac, wxGraphicsContext and wxDC share the same native implementation, 271 // and so transformations are available. 272 // On Win and Linux, however, this is not true and transforms are lost, 273 // so we need to restore them here. 274 #if USE(WXGC) && !defined(__WXMAC__) 271 275 double xtrans = 0; 272 276 double ytrans = 0; … … 295 299 flags |= wxCONTROL_CHECKED; 296 300 #if wxCHECK_VERSION(2,9,1) 297 wxRendererNative::Get().DrawRadioBitmap(window, *dc, r , flags);301 wxRendererNative::Get().DrawRadioBitmap(window, *dc, rect, flags); 298 302 #elif wxCHECK_VERSION(2,9,0) 299 303 wxRendererNative::Get().DrawRadioButton(window, *dc, rect, flags);
Note: See TracChangeset
for help on using the changeset viewer.