Send text updated events when pasting into time edits

Originally committed to SVN as r6505.
This commit is contained in:
Thomas Goyne 2012-02-23 00:46:33 +00:00
parent 7992009392
commit 7e87e95526

View file

@ -242,6 +242,10 @@ void TimeEdit::PasteTime() {
if (tempTime.GetASSFormated() == text) { if (tempTime.GetASSFormated() == text) {
SetTime(tempTime); SetTime(tempTime);
SetSelection(0, GetValue().size()); SetSelection(0, GetValue().size());
wxCommandEvent evt(wxEVT_COMMAND_TEXT_UPDATED, GetId());
evt.SetEventObject(this);
HandleWindowEvent(evt);
} }
} }
} }