From 3368424ae85b218c11253b85483b6f56a634fb81 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 25 Mar 2007 22:55:35 +0000 Subject: [PATCH] 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 --- include/wx/bookctrl.h | 3 +++ 1 file changed, 3 insertions(+) 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() -- 2.50.0