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:
@@ -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());
|
||||
|
Reference in New Issue
Block a user