]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/scrolbar.h
some Hildon integration work: use HildonProgram (for integration with the OS), Hildon...
[wxWidgets.git] / include / wx / scrolbar.h
index 6cdf392a2697300440e5b1137bc2ac28b435831f..be108b18f979220faa88c32094859f124e29aeb9 100644 (file)
@@ -52,6 +52,9 @@ public:
                               int range, int pageSize,
                               bool refresh = true) = 0;
 
+    // implementation-only
+    bool IsNeeded() const { return GetRange() > GetThumbSize(); }
+
 private:
     DECLARE_NO_COPY_CLASS(wxScrollBarBase)
 };