From: Mattia Barbon Date: Mon, 29 Jul 2002 20:25:52 +0000 (+0000) Subject: Generate EVT_SPINCTRL_UPDATED for wxMotif, too X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1ae72ce2a7c3061ee1c3a3689f1de499c378808e Generate EVT_SPINCTRL_UPDATED for wxMotif, too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/spinctlg.cpp b/src/generic/spinctlg.cpp index 0da033d763..94de1e1584 100644 --- a/src/generic/spinctlg.cpp +++ b/src/generic/spinctlg.cpp @@ -109,7 +109,7 @@ public: protected: void OnSpinButton(wxSpinEvent& eventSpin) { -#ifdef __WXMAC__ +#if defined(__WXMAC__) || defined(__WXMOTIF__) m_spin->SetTextValue(eventSpin.GetPosition()); wxCommandEvent event(wxEVT_COMMAND_SPINCTRL_UPDATED, m_spin->GetId());