X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/25e3f0c69e5c2b921ce8c54faca15a5671d03237..ef3f06797d8410b1dffe6244e2cc7597f5727adb:/src/common/pickerbase.cpp diff --git a/src/common/pickerbase.cpp b/src/common/pickerbase.cpp index fa35329952..74f27c24a2 100644 --- a/src/common/pickerbase.cpp +++ b/src/common/pickerbase.cpp @@ -92,7 +92,7 @@ bool wxPickerBase::CreateBase(wxWindow *parent, // set the initial contents of the textctrl m_text->SetValue(text); - m_text->Connect(m_text->GetId(), wxEVT_COMMAND_TEXT_UPDATED, + m_text->Connect(m_text->GetId(), wxEVT_TEXT, wxCommandEventHandler(wxPickerBase::OnTextCtrlUpdate), NULL, this); m_text->Connect(m_text->GetId(), wxEVT_KILL_FOCUS,