The use of wxSlider can be seen in the controls, mediaplayer and widgets projects in the wxWidgets samples directory.
Enabling wxSlider step intervals