]> git.saurik.com Git - wxWidgets.git/commitdiff
Minor slider fix
authorDavid Webster <Dave.Webster@bhmi.com>
Thu, 22 Aug 2002 04:59:03 +0000 (04:59 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Thu, 22 Aug 2002 04:59:03 +0000 (04:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/slider.cpp

index 574aa25b435cd1c672017acead2568999a046f38..c8584fc44f81ec7cc7b8a27f7df1808343bb0664 100644 (file)
@@ -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