git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34252
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxGrid::DrawRowLabel( wxDC& dc, int row )
{
void wxGrid::DrawRowLabel( wxDC& dc, int row )
{
- if ( GetRowHeight(row) <= 0 )
+ if ( GetRowHeight(row) <= 0 || m_rowLabelWidth <= 0 )
void wxGrid::DrawColLabel( wxDC& dc, int col )
{
void wxGrid::DrawColLabel( wxDC& dc, int col )
{
- if ( GetColWidth(col) <= 0 )
+ if ( GetColWidth(col) <= 0 || m_colLabelHeight <= 0 )
return;
int colLeft = GetColLeft(col);
return;
int colLeft = GetColLeft(col);