]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/spinbutt.cpp
make it possible to use wxToolBarSimple as wxToolBar with wxUniv
[wxWidgets.git] / src / mac / spinbutt.cpp
index c2b0a7bbc2d0f5614fc9bdeb5199acacd73943d5..fc4e5e588852d3e193f2af9dfcc2378b0f01df7d 100644 (file)
@@ -84,11 +84,6 @@ int wxSpinButton::GetValue() const
 void wxSpinButton::SetValue(int val)
 {
        m_value = val ;
-  wxScrollEvent event(wxEVT_SCROLL_THUMBTRACK, m_windowId);
-
-  event.SetPosition(m_value);
-  event.SetEventObject( this );
-  GetEventHandler()->ProcessEvent(event);
 }
 
 void wxSpinButton::SetRange(int minVal, int maxVal)