Added some const qualifiers.
"Fixed" bug no 500487 by limiting wxGrid::DoGetBestSize's return value by DisplaySize. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1131,7 +1131,7 @@ public:
|
||||
|
||||
// ------ edit control functions
|
||||
//
|
||||
bool IsEditable() { return m_editable; }
|
||||
bool IsEditable() const { return m_editable; }
|
||||
void EnableEditing( bool edit );
|
||||
|
||||
void EnableCellEditControl( bool enable = TRUE );
|
||||
@@ -1382,9 +1382,9 @@ public:
|
||||
|
||||
void ClearSelection();
|
||||
|
||||
bool IsInSelection( int row, int col );
|
||||
bool IsInSelection( int row, int col ) const;
|
||||
|
||||
bool IsInSelection( const wxGridCellCoords& coords )
|
||||
bool IsInSelection( const wxGridCellCoords& coords ) const
|
||||
{ return IsInSelection( coords.GetRow(), coords.GetCol() ); }
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user