Renderer should only be used for GTK+ 2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2005-05-20 08:17:11 +00:00
parent 0d9b889148
commit c2651b0a5c

View File

@ -7259,7 +7259,7 @@ void wxGrid::DrawRowLabel( wxDC& dc, int row )
return;
wxRect rect;
#ifdef __WXGTK__
#ifdef __WXGTK20__
rect.SetX( 1 );
rect.SetY( GetRowTop(row) + 1 );
rect.SetWidth( m_rowLabelWidth - 2 );
@ -7323,7 +7323,7 @@ void wxGrid::DrawColLabel( wxDC& dc, int col )
int colLeft = GetColLeft(col);
wxRect rect;
#ifdef __WXGTK__
#ifdef __WXGTK20__
rect.SetX( colLeft + 1 );
rect.SetY( 1 );
rect.SetWidth( GetColWidth(col) - 2 );