git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62638
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
::SendMessage(GetHwnd(), TBM_SETPOS, (WPARAM)TRUE, (LPARAM)ValueInvertOrNot(value));
{
::SendMessage(GetHwnd(), TBM_SETPOS, (WPARAM)TRUE, (LPARAM)ValueInvertOrNot(value));
+ if ( HasFlag(wxSL_VALUE_LABEL) )
{
::SetWindowText((*m_labels)[SliderLabel_Value], Format(value).wx_str());
}
{
::SetWindowText((*m_labels)[SliderLabel_Value], Format(value).wx_str());
}
::SendMessage(GetHwnd(), TBM_SETRANGEMIN, TRUE, m_rangeMin);
::SendMessage(GetHwnd(), TBM_SETRANGEMAX, TRUE, m_rangeMax);
::SendMessage(GetHwnd(), TBM_SETRANGEMIN, TRUE, m_rangeMin);
::SendMessage(GetHwnd(), TBM_SETRANGEMAX, TRUE, m_rangeMax);
+ if ( HasFlag(wxSL_MIN_MAX_LABELS) )
{
::SetWindowText((*m_labels)[SliderLabel_Min],
Format(ValueInvertOrNot(m_rangeMin)).wx_str());
{
::SetWindowText((*m_labels)[SliderLabel_Min],
Format(ValueInvertOrNot(m_rangeMin)).wx_str());