fix focus problems in picker controls under MSW which were due to not letting the system process kill focus for the text part of the control (#9687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
bcc8c9033a
commit
a7b15169f9
@ -144,9 +144,9 @@ void wxPickerBase::DoSetToolTip(wxToolTip *tip)
|
||||
// wxPickerBase - event handlers
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
void wxPickerBase::OnTextCtrlKillFocus(wxFocusEvent &)
|
||||
void wxPickerBase::OnTextCtrlKillFocus(wxFocusEvent& event)
|
||||
{
|
||||
wxASSERT(m_text);
|
||||
event.Skip();
|
||||
|
||||
// don't leave the textctrl empty
|
||||
if (m_text->GetValue().empty())
|
||||
|
Loading…
Reference in New Issue
Block a user