Reset text override if the text is manually modified

Otherwise the newly entered text wouldn't be taken into account, as it
would still be overridden.
This commit is contained in:
Vadim Zeitlin
2021-04-21 09:02:59 +02:00
parent 32258bd10a
commit 86c0394383

View File

@@ -524,6 +524,8 @@ bool wxSpinCtrlGTKBase::GTKOutput(wxString* text) const
void wxSpinCtrlGTKBase::GTKTextChanged()
{
GTKResetTextOverride();
wxCommandEvent event( wxEVT_TEXT, GetId() );
event.SetEventObject( this );
event.SetString(GetTextValue());