Get corner window's rectangle in a more clear way
This commit is contained in:
@@ -7343,7 +7343,7 @@ void wxGrid::SetCornerLabelValue( const wxString& s )
|
|||||||
m_table->SetCornerLabelValue( s );
|
m_table->SetCornerLabelValue( s );
|
||||||
if ( !GetBatchCount() )
|
if ( !GetBatchCount() )
|
||||||
{
|
{
|
||||||
wxRect rect(wxSize(m_rowLabelWidth, m_colLabelHeight));
|
wxRect rect = m_cornerLabelWin->GetRect();
|
||||||
m_cornerLabelWin->Refresh(true, &rect);
|
m_cornerLabelWin->Refresh(true, &rect);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user