X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9eddec696f06d65a80e7339b2fae14fcb55f8383..8d361e835331bd48245957e1ca9461d1b119f7f8:/src/gtk/renderer.cpp diff --git a/src/gtk/renderer.cpp b/src/gtk/renderer.cpp index a16251eaf7..7a7beefbd2 100644 --- a/src/gtk/renderer.cpp +++ b/src/gtk/renderer.cpp @@ -28,7 +28,6 @@ #ifndef WX_PRECOMP #include "wx/window.h" - #include "wx/dc.h" #include "wx/dcclient.h" #include "wx/settings.h" #endif @@ -205,7 +204,7 @@ wxRendererGTK::DrawHeaderButton(wxWindow *win, NULL, button, "button", - dc.XLOG2DEV(rect.x), rect.y, rect.width, rect.height + dc.LogicalToDeviceX(rect.x), rect.y, rect.width, rect.height ); } @@ -520,10 +519,6 @@ wxRendererGTK::DrawItemSelectionRect(wxWindow *win, const wxRect& rect, int flags ) { - // for reason why we do this, see DrawDropArrow - wxWindowDC& wdc = (wxWindowDC&)dc; - wxASSERT ( wdc.IsKindOf(CLASSINFO(wxWindowDC)) ); - GtkStateType state; if (flags & wxCONTROL_SELECTED) {