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

@@ -109,6 +109,7 @@ wxGTK:
- wxTopLevelWindow::GetClientSize() returns 0x0 when the window is minimized. - wxTopLevelWindow::GetClientSize() returns 0x0 when the window is minimized.
- Added support for colour cursors (Pascal Monasse). - Added support for colour cursors (Pascal Monasse).
- Setting foreground colour of single line wxTextCtrl now works - Setting foreground colour of single line wxTextCtrl now works
- Pass current control text to EVT_TEXT handler for wxSpinCtrl (John Ratliff)
- Added gtk.tlw.can-set-transparency system option - Added gtk.tlw.can-set-transparency system option
wxMac: wxMac:

View File

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