From: Vadim Zeitlin Date: Sun, 25 Mar 2007 22:55:35 +0000 (+0000) Subject: don't accept focus in book control itself X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3368424ae85b218c11253b85483b6f56a634fb81 don't accept focus in book control itself git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/bookctrl.h b/include/wx/bookctrl.h index 9cb9472600..3fce57b2d8 100644 --- a/include/wx/bookctrl.h +++ b/include/wx/bookctrl.h @@ -159,6 +159,7 @@ public: // returns the sizer containing the control, if any wxSizer* GetControlSizer() const { return m_controlSizer; } + // operations // ---------- @@ -229,6 +230,8 @@ public: // we do have multiple pages virtual bool HasMultiplePages() const { return true; } + // we don't want focus for ourselves + virtual bool AcceptsFocus() const { return false; } protected: // flags for DoSetSelection()