X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e9b80221a9845a19e3f6f4a3e80e841929d31c0..14b682f7c36ecf660c2f0bd5c791b8d36d9775f8:/src/msw/slider.cpp diff --git a/src/msw/slider.cpp b/src/msw/slider.cpp index 23e8f0ac87..1b87047ed2 100644 --- a/src/msw/slider.cpp +++ b/src/msw/slider.cpp @@ -583,7 +583,7 @@ void wxSlider::SetValue(int value) if ( m_labels ) { - ::SetWindowText((*m_labels)[SliderLabel_Value], Format(value).wx_str()); + ::SetWindowText((*m_labels)[SliderLabel_Value], Format(value).t_str()); } } @@ -603,9 +603,9 @@ void wxSlider::SetRange(int minValue, int maxValue) if ( m_labels ) { ::SetWindowText((*m_labels)[SliderLabel_Min], - Format(ValueInvertOrNot(m_rangeMin)).wx_str()); + Format(ValueInvertOrNot(m_rangeMin)).t_str()); ::SetWindowText((*m_labels)[SliderLabel_Max], - Format(ValueInvertOrNot(m_rangeMax)).wx_str()); + Format(ValueInvertOrNot(m_rangeMax)).t_str()); } // When emulating wxSL_INVERSE style in wxWidgets, we need to update the