skip wxChildFocusEvent in WX_DELEGATE_TO_CONTROL_CONTAINER, so that other code can see the notification too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -254,6 +254,7 @@ public: \
|
|||||||
void classname::OnChildFocus(wxChildFocusEvent& event) \
|
void classname::OnChildFocus(wxChildFocusEvent& event) \
|
||||||
{ \
|
{ \
|
||||||
m_container.SetLastFocus(event.GetWindow()); \
|
m_container.SetLastFocus(event.GetWindow()); \
|
||||||
|
event.Skip(); \
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
void classname::OnFocus(wxFocusEvent& event) \
|
void classname::OnFocus(wxFocusEvent& event) \
|
||||||
|
Reference in New Issue
Block a user