X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a8dcc3421f4740681173a6fbe8359fc977599dc..09cbc94feafe9c5a424eb1d462589f9620a1977e:/src/msw/slider95.cpp diff --git a/src/msw/slider95.cpp b/src/msw/slider95.cpp index f58b8902fd..1668ce9f0d 100644 --- a/src/msw/slider95.cpp +++ b/src/msw/slider95.cpp @@ -620,42 +620,6 @@ WXHWND wxSlider95::GetEditValue() const return m_labels ? (WXHWND)(*m_labels)[SliderLabel_Value] : NULL; } -bool wxSlider95::ContainsHWND(WXHWND hWnd) const -{ - return m_labels && m_labels->HasWindow((HWND)hWnd); -} - -bool wxSlider95::Show(bool show) -{ - if ( !wxSliderBase::Show(show) ) - return false; - - if ( m_labels ) - m_labels->Show(show); - - return true; -} - -bool wxSlider95::Enable(bool enable) -{ - if ( !wxSliderBase::Enable(enable) ) - return false; - - if ( m_labels ) - m_labels->Enable(enable); - - return true; -} - -bool wxSlider95::SetFont(const wxFont& font) -{ - if ( !wxSliderBase::SetFont(font) ) - return false; - - if ( m_labels ) - m_labels->SetFont(font); - - return true; -} +WX_FORWARD_STD_METHODS_TO_SUBWINDOWS(wxSlider95, wxSliderBase, m_labels) #endif // wxUSE_SLIDER