]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/scrolbar.h
removed unused SYMBOL_WXRICHTEXT.*_TITLE values that were only polluting translation...
[wxWidgets.git] / include / wx / scrolbar.h
index 6cdf392a2697300440e5b1137bc2ac28b435831f..fc46906736c6c874d2bf86d283b219d0933f6d1e 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "wx/control.h"
 
-extern WXDLLEXPORT_DATA(const wxChar) wxScrollBarNameStr[];
+extern WXDLLEXPORT_DATA(const char) wxScrollBarNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxScrollBar: a scroll bar control
@@ -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)
 };