]> git.saurik.com Git - wxWidgets.git/commitdiff
Generate EVT_SPINCTRL_UPDATED for wxMotif, too
authorMattia Barbon <mbarbon@cpan.org>
Mon, 29 Jul 2002 20:25:52 +0000 (20:25 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Mon, 29 Jul 2002 20:25:52 +0000 (20:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/spinctlg.cpp

index 0da033d7631b3541e77b4b728361cbe2315b0f62..94de1e158413abb72a12e60353431304de7ab2ab 100644 (file)
@@ -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());