]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
added and documented wxWindow::RemoveEventHandler()
[wxWidgets.git] / src / generic / listctrl.cpp
index f61435dac07279023a4b26e14c263be115ac3c0f..9e22abf5a0c4d574441a09eb4e08efcefce51a14 100644 (file)
@@ -1804,7 +1804,8 @@ void wxListHeaderWindow::DoDrawRect( wxDC *dc, int x, int y, int w, int h )
 
     gtk_paint_box (m_wxwindow->style, GTK_PIZZA(m_wxwindow)->bin_window,
                    state, GTK_SHADOW_OUT,
-                   (GdkRectangle*) NULL, m_wxwindow, "button",
+                   (GdkRectangle*) NULL, m_wxwindow,
+                   (char *)"button", // const_cast
                    x-1, y-1, w+2, h+2);
 #elif defined( __WXMAC__  )
     const int m_corner = 1;