X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e70abc2dd7d3c40677f1c94eb3b499f09129934c..e408bf5257ead0754de5ef37a39867c7536dbe03:/src/common/pickerbase.cpp?ds=inline diff --git a/src/common/pickerbase.cpp b/src/common/pickerbase.cpp index 53ec72d19e..0176c2a2a8 100644 --- a/src/common/pickerbase.cpp +++ b/src/common/pickerbase.cpp @@ -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())