Removed redundant m_left etc. variables

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Bedward
2000-08-04 05:16:26 +00:00
parent bfcc7524b1
commit 50dce4e225
2 changed files with 2 additions and 7 deletions

View File

@@ -1537,11 +1537,6 @@ protected:
wxGridTableBase *m_table;
bool m_ownTable;
int m_left;
int m_top;
int m_right;
int m_bottom;
int m_numRows;
int m_numCols;

View File

@@ -7362,7 +7362,7 @@ void wxGrid::SetRowLabelValue( int row, const wxString& s )
if ( rect.height > 0 )
{
CalcScrolledPosition(0, rect.y, &rect.x, &rect.y);
rect.x = m_left;
rect.x = 0;
rect.width = m_rowLabelWidth;
m_rowLabelWin->Refresh( TRUE, &rect );
}
@@ -7381,7 +7381,7 @@ void wxGrid::SetColLabelValue( int col, const wxString& s )
if ( rect.width > 0 )
{
CalcScrolledPosition(rect.x, 0, &rect.x, &rect.y);
rect.y = m_top;
rect.y = 0;
rect.height = m_colLabelHeight;
m_colLabelWin->Refresh( TRUE, &rect );
}