- m_chkVert = CreateCheckBoxAndAddToSizer(sizerLeft, _T("&Vertical"));
- m_chkTicks = CreateCheckBoxAndAddToSizer(sizerLeft, _T("Show &ticks"));
- m_chkLabels = CreateCheckBoxAndAddToSizer(sizerLeft, _T("Show &labels"));
- m_chkOtherSide = CreateCheckBoxAndAddToSizer
- (
- sizerLeft,
- _T("On &other side"),
- SliderPage_OtherSide
- );
+ m_chkInverse = CreateCheckBoxAndAddToSizer(sizerLeft, wxT("&Inverse"));
+ m_chkTicks = CreateCheckBoxAndAddToSizer(sizerLeft, wxT("Show &ticks"));
+ m_chkLabels = CreateCheckBoxAndAddToSizer(sizerLeft, wxT("Show &labels"));
+ static const wxString sides[] =
+ {
+ wxT("top"),
+ wxT("bottom"),
+ wxT("left"),
+ wxT("right"),
+ };
+ m_radioSides = new wxRadioBox(this, SliderPage_RadioSides, wxT("&Ticks/Labels"),
+ wxDefaultPosition, wxDefaultSize,
+ WXSIZEOF(sides), sides,
+ 1, wxRA_SPECIFY_COLS);
+ sizerLeft->Add(m_radioSides, 0, wxGROW | wxALL, 5);
+ m_chkBothSides = CreateCheckBoxAndAddToSizer
+ (sizerLeft, wxT("&Both sides"), SliderPage_BothSides);
+#if wxUSE_TOOLTIPS
+ m_chkBothSides->SetToolTip( wxT("\"Both sides\" is only supported \nin Win95 and Universal") );
+#endif // wxUSE_TOOLTIPS