]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 18 Apr 2007 08:32:19 +0000 (08:32 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 18 Apr 2007 08:32:19 +0000 (08:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/vscroll.h

index e138586233c2cb018770a6b9eefc0b5b33598c0f..4b18ca6333e3396103c45503b5eb511064a726cd 100644 (file)
@@ -434,7 +434,7 @@ protected:
 
     // 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(); }
@@ -654,7 +654,7 @@ protected:
     // 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