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