set string field of wxCommandEvent object generated by spin control when its text changes (part of patch 1312699)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-03-31 15:16:35 +00:00
parent 6ceb105f1e
commit cf5d50573f
2 changed files with 2 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ gtk_changed(GtkSpinButton* spinbutton, wxSpinCtrl* win)
wxCommandEvent event( wxEVT_COMMAND_TEXT_UPDATED, win->GetId() );
event.SetEventObject( win );
event.SetString( GTK_ENTRY(spinbutton)->text );
// see above
event.SetInt(win->m_pos);