From: Vadim Zeitlin Date: Fri, 6 Apr 2007 19:16:07 +0000 (+0000) Subject: more compilation and linking fixes for !wxHAS_NATIVE_TAB_TRAVERSAL after recent changes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d1cd787b75f5ba9df06b1d51818496e0a6b214dd?ds=inline more compilation and linking fixes for !wxHAS_NATIVE_TAB_TRAVERSAL after recent changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/containr.h b/include/wx/containr.h index d9aed2f13d..375caff127 100644 --- a/include/wx/containr.h +++ b/include/wx/containr.h @@ -163,9 +163,6 @@ public: // the focus and the default processing should take place bool DoSetFocus(); - // can our child get the focus? - bool AcceptsFocus() const; - // called from OnChildFocus() handler, i.e. when one of our (grand) // children gets the focus void SetLastFocus(wxWindow *win); @@ -192,18 +189,14 @@ extern bool wxSetFocusToChild(wxWindow *win, wxWindow **child); // ---------------------------------------------------------------------------- // declare the methods to be forwarded -#define WX_DECLARE_CONTROL_CONTAINER() \ -public: \ - void OnNavigationKey(wxNavigationKeyEvent& event); \ - void OnFocus(wxFocusEvent& event); \ - void SetFocusIgnoringChildren(); \ - virtual void OnChildFocus(wxChildFocusEvent& event); \ - virtual void SetFocus(); \ - virtual void RemoveChild(wxWindowBase *child); \ - virtual bool AcceptsFocus() const; \ -\ -protected: \ - wxControlContainer m_container +#define WX_DECLARE_CONTROL_CONTAINER() \ + WX_DECLARE_CONTROL_CONTAINER_BASE(); \ + \ +public: \ + void OnNavigationKey(wxNavigationKeyEvent& event); \ + void OnFocus(wxFocusEvent& event); \ + virtual void OnChildFocus(wxChildFocusEvent& event); \ + virtual void SetFocus() // implement the event table entries for wxControlContainer #define WX_EVENT_TABLE_CONTROL_CONTAINER(classname) \