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:
parent
de160b0647
commit
3368424ae8
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user