Send wxEVT_TEXT when wxComboBox value changes in wxOSX
This must be done for consistency with the other ports and because it just generally makes sense. Closes #18973.
This commit is contained in:
committed by
Vadim Zeitlin
parent
4390a092f6
commit
cd571515cb
@@ -159,6 +159,10 @@
|
||||
event.SetString( val );
|
||||
wxpeer->HandleWindowEvent( event );
|
||||
|
||||
wxCommandEvent eventText(wxEVT_TEXT, wxpeer->GetId());
|
||||
eventText.SetEventObject( wxpeer );
|
||||
eventText.SetString( val );
|
||||
wxpeer->HandleWindowEvent( eventText );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user