// Author: Francesco Montorsi
// Modified by:
// Created: 15/04/2006
-// RCS-ID: $Id$
// Copyright: (c) Francesco Montorsi
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
return false;
}
- // set the maximum lenght allowed for this textctrl.
+ // set the maximum length allowed for this textctrl.
// This is very important since any change to it will trigger an update in
// the m_picker; for very long strings, this real-time synchronization could
// become a CPU-blocker and thus should be avoided.
// 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,