]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/pickerbase.cpp
extract setters from wxHeaderColumnBase into a separate wxSettableHeaderColumn class...
[wxWidgets.git] / src / common / pickerbase.cpp
index 53ec72d19e064240ed421ccf572c4b7c5995462d..0176c2a2a829e4727980c3e5fc2a54e0708f152b 100644 (file)
@@ -144,9 +144,9 @@ void wxPickerBase::DoSetToolTip(wxToolTip *tip)
 // wxPickerBase - event handlers
 // ----------------------------------------------------------------------------
 
 // 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())
 
     // don't leave the textctrl empty
     if (m_text->GetValue().empty())