]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/slider95.cpp
reverted JS' rev. 1.27 - the real fix was 1.28, disabling recursion protection is...
[wxWidgets.git] / src / msw / slider95.cpp
index 49038728576b4b2b0412c30a6bca8e1ff122cfdb..9cbb71978c1250e576aab20cbd3b35f086f298b9 100644 (file)
@@ -168,7 +168,7 @@ bool wxSlider95::Create(wxWindow *parent, wxWindowID id,
         minLabel.Printf(wxT("%d"), minValue);
         wstyle = STATIC_FLAGS;
         if ( m_windowStyle & wxCLIP_SIBLINGS )
-            msStyle |= WS_CLIPSIBLINGS;
+            wstyle |= WS_CLIPSIBLINGS;
         m_staticMin = (WXHWND) CreateWindowEx
             (
                 0, wxT("STATIC"), minLabel,
@@ -237,7 +237,7 @@ bool wxSlider95::Create(wxWindow *parent, wxWindowID id,
         wstyle = STATIC_FLAGS;
 
         if ( m_windowStyle & wxCLIP_SIBLINGS )
-            msStyle |= WS_CLIPSIBLINGS;
+            wstyle |= WS_CLIPSIBLINGS;
 
         m_staticMax = (WXHWND) CreateWindowEx
             (