]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/pickerbase.cpp
reusing existing API
[wxWidgets.git] / src / common / pickerbase.cpp
index fa3532995222f2e35437fb3611078c246142e25e..74f27c24a2b5475691f4708a3d75db9a12db3e88 100644 (file)
@@ -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,