Compilation fix for PCH-less build after r74586.
Don't use wxWindow methods in wx/container.h, move AcceptsFocus() implementation to containr.cpp. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9c34a21681
commit
1b7c3d909a
@ -76,8 +76,7 @@ public:
|
||||
bool DoSetFocus();
|
||||
|
||||
// returns whether we should accept focus ourselves or not
|
||||
bool AcceptsFocus() const
|
||||
{ return m_acceptsFocusSelf && m_winParent->CanBeFocused(); }
|
||||
bool AcceptsFocus() const;
|
||||
|
||||
// Returns whether we or one of our children accepts focus.
|
||||
bool AcceptsFocusRecursively() const
|
||||
|
@ -153,6 +153,11 @@ bool wxControlContainerBase::DoSetFocus()
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool wxControlContainerBase::AcceptsFocus() const
|
||||
{
|
||||
return m_acceptsFocusSelf && m_winParent->CanBeFocused();
|
||||
}
|
||||
|
||||
bool wxControlContainerBase::SetFocusToChild()
|
||||
{
|
||||
return wxSetFocusToChild(m_winParent, &m_winLastFocused);
|
||||
|
Loading…
Reference in New Issue
Block a user