X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/00a77b7c5d9e1714198cd5d7e3a905bca2df2534..00bb6d6f57537b68de41ddde01388aa55cb6379b:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index 62396ddcac..d09acb8c5b 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -1044,6 +1044,20 @@ public: bool PageUp() { return ScrollPages(-1); } bool PageDown() { return ScrollPages(1); } + // call this to always show one or both scrollbars, even if the window + // is big enough to not require them + virtual void AlwaysShowScrollbars(bool WXUNUSED(horz) = true, + bool WXUNUSED(vert) = true) + { + } + + // return true if AlwaysShowScrollbars() had been called before for the + // corresponding orientation + virtual bool IsScrollbarAlwaysShown(int WXUNUSED(orient)) const + { + return false; + } + // context-sensitive help // ---------------------- @@ -1249,7 +1263,6 @@ protected: // implementation of Navigate() and NavigateIn() virtual bool DoNavigateIn(int flags); - #if wxUSE_CONSTRAINTS // satisfy the constraints for the windows but don't set the window sizes void SatisfyConstraints();