replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -913,9 +913,9 @@ public:
|
||||
// would break the existing code overriding them, so instead we provide
|
||||
// these const synonyms which can be used from const-correct code
|
||||
int GetRowsCount() const
|
||||
{ return wx_const_cast(wxGridTableBase *, this)->GetNumberRows(); }
|
||||
{ return const_cast<wxGridTableBase *>(this)->GetNumberRows(); }
|
||||
int GetColsCount() const
|
||||
{ return wx_const_cast(wxGridTableBase *, this)->GetNumberCols(); }
|
||||
{ return const_cast<wxGridTableBase *>(this)->GetNumberCols(); }
|
||||
|
||||
|
||||
virtual bool IsEmptyCell( int row, int col ) = 0;
|
||||
|
Reference in New Issue
Block a user