I don't think anylonger that DrawHeaderButton() should

be used for drawing grid row/col buttons. Also, the
   GTK2 port should not waste space per line of wxMSW
   doesn' waste it neither.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2006-10-15 19:44:39 +00:00
parent 34445cc76d
commit e60022505d
2 changed files with 7 additions and 4 deletions

View File

@@ -3882,7 +3882,8 @@ void wxGridCornerLabelWindow::OnPaint( wxPaintEvent& WXUNUSED(event) )
GetClientSize( &client_width, &client_height );
// VZ: any reason for this ifdef? (FIXME)
#ifdef __WXGTK__
#if 0
def __WXGTK__
wxRect rect;
rect.SetX( 1 );
rect.SetY( 1 );
@@ -7798,7 +7799,8 @@ void wxGrid::DrawRowLabel( wxDC& dc, int row )
wxRect rect;
#ifdef __WXGTK20__
#if 0
def __WXGTK20__
rect.SetX( 1 );
rect.SetY( GetRowTop(row) + 1 );
rect.SetWidth( m_rowLabelWidth - 2 );
@@ -7860,7 +7862,8 @@ void wxGrid::DrawColLabel( wxDC& dc, int col )
wxRect rect;
#ifdef __WXGTK20__
#if 0
def __WXGTK20__
rect.SetX( colLeft + 1 );
rect.SetY( 1 );
rect.SetWidth( GetColWidth(col) - 2 );