From: Vadim Zeitlin Date: Sun, 20 Aug 2006 11:04:54 +0000 (+0000) Subject: removed unneeded cast to wxWindowDC in DrawItemSelectionRect() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/75deeb0dee11a4d87c121820be72aac895a3a1d4 removed unneeded cast to wxWindowDC in DrawItemSelectionRect() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/renderer.cpp b/src/gtk/renderer.cpp index a477a1ea39..7a7beefbd2 100644 --- a/src/gtk/renderer.cpp +++ b/src/gtk/renderer.cpp @@ -519,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) {