]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
Use wxClientDC in header window so we don't clip (because of gtk_paint_box not
[wxWidgets.git] / src / generic / listctrl.cpp
index 065aa5d627d3c3fa012d87db85d81ff875bdca47..a0fdcc15196b642398be8a19ed460123b7edfc69 100644 (file)
@@ -1249,7 +1249,12 @@ void wxListHeaderWindow::AdjustDC(wxDC& dc)
 
 void wxListHeaderWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
 {
+#ifdef __WXGTK__
+    wxClientDC dc( this );
+#else
     wxPaintDC dc( this );
+#endif
+
     PrepareDC( dc );
     AdjustDC( dc );