X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31af22fa2d70b5103f67d8eeea24d7dc3bc763cc..1bcef6701be81d1f4473eb5a297bdf20fa292d98:/include/wx/containr.h diff --git a/include/wx/containr.h b/include/wx/containr.h index a0ce88484f..d4eb907682 100644 --- a/include/wx/containr.h +++ b/include/wx/containr.h @@ -179,29 +179,29 @@ public: #endif // !wxHAS_NATIVE_TAB_TRAVERSAL } - virtual bool AcceptsFocus() const + WXDLLIMPEXP_INLINE_CORE virtual bool AcceptsFocus() const { return m_container.AcceptsFocus(); } - virtual bool AcceptsFocusRecursively() const + WXDLLIMPEXP_INLINE_CORE virtual bool AcceptsFocusRecursively() const { return m_container.AcceptsFocusRecursively(); } - virtual bool AcceptsFocusFromKeyboard() const + WXDLLIMPEXP_INLINE_CORE virtual bool AcceptsFocusFromKeyboard() const { return m_container.AcceptsFocusFromKeyboard(); } - virtual void AddChild(wxWindowBase *child) + WXDLLIMPEXP_INLINE_CORE virtual void AddChild(wxWindowBase *child) { BaseWindowClass::AddChild(child); m_container.UpdateCanFocus(); } - virtual void RemoveChild(wxWindowBase *child) + WXDLLIMPEXP_INLINE_CORE virtual void RemoveChild(wxWindowBase *child) { #ifndef wxHAS_NATIVE_TAB_TRAVERSAL m_container.HandleOnWindowDestroy(child); @@ -212,7 +212,7 @@ public: m_container.UpdateCanFocus(); } - virtual void SetFocus() + WXDLLIMPEXP_INLINE_CORE virtual void SetFocus() { if ( !m_container.DoSetFocus() ) BaseWindowClass::SetFocus(); @@ -258,7 +258,7 @@ protected: // look at them. // ---------------------------------------------------------------------------- -#ifdef WXWIN_COMPATIBILITY_2_8 +#if WXWIN_COMPATIBILITY_2_8 // common part of WX_DECLARE_CONTROL_CONTAINER in the native and generic cases, // it should be used in the wxWindow-derived class declaration