]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/vscroll.h
added wxGetX11Display() returning the pointer of the correct type, unlike the old...
[wxWidgets.git] / include / wx / vscroll.h
index f5b0a2fc5b2a94f8b250361e1f4e7511d7b8f33b..e138586233c2cb018770a6b9eefc0b5b33598c0f 100644 (file)
@@ -351,7 +351,7 @@ protected:
 
     // 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