[ 1515217 ] wxComboCtrl textctrl event propagation bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1290,8 +1290,11 @@ wxBitmap& wxComboCtrlBase::GetBufferBitmap( const wxSize& sz ) const
|
||||
|
||||
void wxComboCtrlBase::OnTextCtrlEvent(wxCommandEvent& event)
|
||||
{
|
||||
// Change event id and relay it forward
|
||||
// Change event id, object and string before relaying it forward
|
||||
event.SetId(GetId());
|
||||
wxString s = event.GetString();
|
||||
event.SetEventObject(this);
|
||||
event.SetString(s);
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user