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
This commit is contained in:
@@ -159,6 +159,7 @@ public:
|
|||||||
// returns the sizer containing the control, if any
|
// returns the sizer containing the control, if any
|
||||||
wxSizer* GetControlSizer() const { return m_controlSizer; }
|
wxSizer* GetControlSizer() const { return m_controlSizer; }
|
||||||
|
|
||||||
|
|
||||||
// operations
|
// operations
|
||||||
// ----------
|
// ----------
|
||||||
|
|
||||||
@@ -229,6 +230,8 @@ public:
|
|||||||
// we do have multiple pages
|
// we do have multiple pages
|
||||||
virtual bool HasMultiplePages() const { return true; }
|
virtual bool HasMultiplePages() const { return true; }
|
||||||
|
|
||||||
|
// we don't want focus for ourselves
|
||||||
|
virtual bool AcceptsFocus() const { return false; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// flags for DoSetSelection()
|
// flags for DoSetSelection()
|
||||||
|
Reference in New Issue
Block a user