X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae1cdb2d075b89badb7e429cde5f331ccbff2aef..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index bdb96cdcad..199c4b7ef3 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -1221,11 +1221,7 @@ public: // ---------- // can the window have the scrollbar in this orientation? - bool CanScroll(int orient) const - { - return (m_windowStyle & - (orient == wxHORIZONTAL ? wxHSCROLL : wxVSCROLL)) != 0; - } + virtual bool CanScroll(int orient) const; // does the window have the scrollbar in this orientation? bool HasScrollbar(int orient) const;