]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/notebook.h
another DMC build fix (http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/93155)
[wxWidgets.git] / include / wx / notebook.h
index d6b68457f04c5caeb2b09eeb747204a5e424aec5..f94e51622737c6e7cced934fb2ae1e115579a552 100644 (file)
@@ -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)