- m_slider = new wxSlider(wxTheApp->GetTopWindow(), wxID_ANY, 50, 0, 100);
+ long style = wxSL_HORIZONTAL;
+
+ if ( ms_inversed )
+ style |= wxSL_INVERSE;
+
+ m_slider = new wxSlider(wxTheApp->GetTopWindow(), wxID_ANY, 50, 0, 100,
+ wxDefaultPosition, wxDefaultSize,
+ style);