X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1dc9f8394c1488ad8e7d945e6f943f7b34554ce..558820fd083635d3e1dc026a56b2f14870cb5c38:/include/wx/notebook.h?ds=sidebyside diff --git a/include/wx/notebook.h b/include/wx/notebook.h index d6b68457f0..f94e516227 100644 --- a/include/wx/notebook.h +++ b/include/wx/notebook.h @@ -106,6 +106,9 @@ public: // new is -1) void SendPageChangedEvent(int nPageOld, int nPageNew = -1); + // wxBookCtrlBase overrides this method to return false but we do need + // focus because we have tabs + virtual bool AcceptsFocus() const { return wxControl::AcceptsFocus(); } protected: DECLARE_NO_COPY_CLASS(wxNotebookBase)