]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/slider95.cpp
suppress annoying beeps when enter is pressed in combobox and there is no default...
[wxWidgets.git] / src / msw / slider95.cpp
index f58b8902fdc802c72afcab2b068da966fa5bdc66..1668ce9f0da5c15272e9f1bf17a3b49228284efd 100644 (file)
@@ -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