]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed redundant m_left etc. variables
authorMichael Bedward <mbedward@ozemail.com.au>
Fri, 4 Aug 2000 05:22:34 +0000 (05:22 +0000)
committerMichael Bedward <mbedward@ozemail.com.au>
Fri, 4 Aug 2000 05:22:34 +0000 (05:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/grid.h
src/generic/grid.cpp

index 3fc9dfb640de8b982aff125adf97c6d1aa9c452a..21ad06b098d4d4c724819726bb03e6fe3e1da52f 100644 (file)
@@ -1535,11 +1535,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;
 
index 7930995a2b45a2c2fb9bf7ab3f0ebafd99700529..d643c0ff7c60405e645991c31da66f894185e772 100644 (file)
@@ -7405,7 +7405,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 );
             }
@@ -7424,7 +7424,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 );
             }