Use wxClientDC in header window so we don't clip (because of gtk_paint_box not
being clippable). This cures the header refresh problem. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1249,7 +1249,12 @@ void wxListHeaderWindow::AdjustDC(wxDC& dc)
|
|||||||
|
|
||||||
void wxListHeaderWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
void wxListHeaderWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
||||||
{
|
{
|
||||||
|
#ifdef __WXGTK__
|
||||||
|
wxClientDC dc( this );
|
||||||
|
#else
|
||||||
wxPaintDC dc( this );
|
wxPaintDC dc( this );
|
||||||
|
#endif
|
||||||
|
|
||||||
PrepareDC( dc );
|
PrepareDC( dc );
|
||||||
AdjustDC( dc );
|
AdjustDC( dc );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user