X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23645bfa01b6450257f140a30c87565225b1ef4a..bc55104d9ab0b0b835644f17a152b4fbbfa8c7b9:/include/wx/univ/scrolbar.h?ds=sidebyside diff --git a/include/wx/univ/scrolbar.h b/include/wx/univ/scrolbar.h index 1a1eb9de00..e1ec962adf 100644 --- a/include/wx/univ/scrolbar.h +++ b/include/wx/univ/scrolbar.h @@ -99,6 +99,10 @@ public: long numArg = 0, const wxString& strArg = wxEmptyString); + // The scrollbars around a normal window should not + // receive the focus. + virtual bool AcceptsFocus() const; + // wxScrollBar sub elements state (combination of wxCONTROL_XXX) void SetState(Element which, int flags); int GetState(Element which) const; @@ -122,6 +126,9 @@ protected: // event handlers void OnIdle(wxIdleEvent& event); + + // forces update of thumb's visual appearence (does nothing if m_dirty=FALSE) + void UpdateThumb(); // SetThumbPosition() helper void DoSetThumb(int thumbPos);