From: David Webster Date: Thu, 22 Aug 2002 04:59:03 +0000 (+0000) Subject: Minor slider fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9e25f50910b4e197e0c7447634228f40fa9c3cf1?ds=inline Minor slider fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/os2/slider.cpp b/src/os2/slider.cpp index 574aa25b43..c8584fc44f 100644 --- a/src/os2/slider.cpp +++ b/src/os2/slider.cpp @@ -286,7 +286,7 @@ bool wxSlider::Create( if (m_windowStyle & wxSL_VERTICAL) lMsStyle = SLS_VERTICAL | SLS_HOMEBOTTOM | WS_VISIBLE | WS_TABSTOP; else - lMsStyle = SLS_HORIZONTAL | SLS_HOMELEFT| WS_VISIBLE | WS_TABSTOP; + lMsStyle = SLS_HORIZONTAL | SLS_HOMELEFT | WS_VISIBLE | WS_TABSTOP; if (m_windowStyle & wxCLIP_SIBLINGS) lMsStyle |= WS_CLIPSIBLINGS; @@ -657,10 +657,6 @@ void wxSlider::DoSetSize( int nNewWidth = wxMax(nMinLen, nMaxLen); int nValueHeight = nCyf; - // - // The height needs to be a bit bigger under Win95 if using native - // 3D effects. - // ::WinSetWindowPos( (HWND)m_hStaticValue ,HWND_TOP ,(LONG)nXOffset