// forward calls to OnGetRowsHeightHint()
virtual void OnGetUnitsSizeHint(size_t unitMin, size_t unitMax) const
- { return OnGetRowsHeightHint(unitMin, unitMax); }
+ { OnGetRowsHeightHint(unitMin, unitMax); }
// again, if not overridden, it will fall back on default method
virtual wxCoord EstimateTotalHeight() const
// forward calls to OnGetColumnsWidthHint()
virtual void OnGetUnitsSizeHint(size_t unitMin, size_t unitMax) const
- { return OnGetColumnsWidthHint(unitMin, unitMax); }
+ { OnGetColumnsWidthHint(unitMin, unitMax); }
// again, if not overridden, it will fall back on default method
virtual wxCoord EstimateTotalWidth() const { return DoEstimateTotalSize(); }
// unless the code has been updated to override OnGetRowHeight() instead,
// this function must be overridden in the derived class and it should
// return the height of the given row in pixels
- virtual wxCoord OnGetLineHeight(size_t n) const
+ virtual wxCoord OnGetLineHeight(size_t WXUNUSED(n)) const
{
wxFAIL_MSG( _T("must be overridden if OnGetRowHeight() isn't!") );
// forwards the calls from base class pure virtual function to pure virtual
// OnGetLinesHint instead (backwards compatible name)
void OnGetRowsHeightHint(size_t rowMin, size_t rowMax) const
- { return OnGetLinesHint(rowMin, rowMax); }
+ { OnGetLinesHint(rowMin, rowMax); }
// get the total height of the lines between lineMin (inclusive) and