]> git.saurik.com Git - wxWidgets.git/commitdiff
renderer::DrawHeaderButton() seems to need space
authorRobert Roebling <robert@roebling.de>
Wed, 19 Apr 2006 08:32:55 +0000 (08:32 +0000)
committerRobert Roebling <robert@roebling.de>
Wed, 19 Apr 2006 08:32:55 +0000 (08:32 +0000)
    which should be corrected in a general way.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/datavgen.cpp

index 6ee454f6f32d7abe51527332d42e2c8d5659367e..823ba3099aebf3e060ab6c6ea8e82b975f94d44e 100644 (file)
@@ -616,7 +616,7 @@ void wxDataViewHeaderWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
                                 (
                                     this,
                                     dc,
-                                    wxRect(xpos, 0, cw, ch),
+                                    wxRect(xpos+1, 1, cw-1, ch-1),
                                     m_parent->IsEnabled() ? 0
                                                           : (int)wxCONTROL_DISABLED
                                 );