X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e70abc2dd7d3c40677f1c94eb3b499f09129934c..78e37b46a4c1581822bab8d99486bc35c0f360ea:/src/common/pickerbase.cpp 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())