X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17376dc37e2a570a37cf704314b18b2d3484384f..f773e9b0bbfd051a4ae316461fd241230c87e39f:/src/msw/slider95.cpp diff --git a/src/msw/slider95.cpp b/src/msw/slider95.cpp index 4187123630..b6c68e1628 100644 --- a/src/msw/slider95.cpp +++ b/src/msw/slider95.cpp @@ -722,20 +722,6 @@ void wxSlider95::SetRange(int minValue, int maxValue) } } -WXHBRUSH wxSlider95::OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, - WXUINT message, WXWPARAM wParam, WXLPARAM lParam) -{ -#ifndef __WXWINCE__ - if ( nCtlColor == CTLCOLOR_SCROLLBAR ) - return 0; -#else - if ( nCtlColor != CTLCOLOR_STATIC ) - return 0; -#endif - // Otherwise, it's a static - return wxControl::OnCtlColor(pDC, pWnd, nCtlColor, message, wParam, lParam); -} - // For trackbars only void wxSlider95::SetTickFreq(int n, int pos) {