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
1 changed files with 4 additions and 0 deletions

View File

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