+void SliderWidgetsPage::DoSetLineSize()
+{
+ long lineSize;
+ if ( !m_textLineSize->GetValue().ToLong(&lineSize) )
+ {
+ wxLogWarning(_T("Invalid slider line size"));
+
+ return;
+ }
+
+ m_slider->SetLineSize(lineSize);
+
+ if ( m_slider->GetLineSize() != lineSize )
+ {
+ wxLogWarning(_T("Invalid line size in slider."));
+ }
+}
+
+void SliderWidgetsPage::DoSetPageSize()
+{
+ long pageSize;
+ if ( !m_textPageSize->GetValue().ToLong(&pageSize) )
+ {
+ wxLogWarning(_T("Invalid slider page size"));
+
+ return;
+ }
+
+ m_slider->SetPageSize(pageSize);
+
+ if ( m_slider->GetPageSize() != pageSize )
+ {
+ wxLogWarning(_T("Invalid page size in slider."));
+ }
+}
+