]> git.saurik.com Git - wxWidgets.git/commitdiff
removed unneeded cast to wxWindowDC in DrawItemSelectionRect()
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Aug 2006 11:04:54 +0000 (11:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Aug 2006 11:04:54 +0000 (11:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/renderer.cpp

index a477a1ea395978d838f8206012aa463343ba0f2a..7a7beefbd2a71ee52daa9b677525150bbfc0b34f 100644 (file)
@@ -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)
     {