]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/slider.cpp
Trigger wxLog auto-creation when getting old logger in wxLogChain ctor.
[wxWidgets.git] / src / univ / slider.cpp
index 431707a0956f04ca7a73d3032fdfe5ebc44cb2f6..7cbf97e9dea32077aad5bfabc40c9adbf4fd143c 100644 (file)
@@ -220,7 +220,7 @@ bool wxSlider::ChangeValueTo(int value)
     eventScroll.SetEventObject( this );
     (void)GetEventHandler()->ProcessEvent(eventScroll);
 
-    wxCommandEvent event(wxEVT_COMMAND_SLIDER_UPDATED, GetId());
+    wxCommandEvent event(wxEVT_SLIDER, GetId());
     event.SetInt(m_value);
     event.SetEventObject(this);
     (void)GetEventHandler()->ProcessEvent(event);
@@ -352,7 +352,7 @@ int wxSlider::GetThumbLength() const
 // wxSlider ticks
 // ----------------------------------------------------------------------------
 
-void wxSlider::SetTickFreq(int n, int WXUNUSED(dummy))
+void wxSlider::DoSetTickFreq(int n)
 {
     wxCHECK_RET (n > 0, wxT("invalid slider tick frequency"));