]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/slider95.cpp
Don't skip after writing tab or we could get another one in some circumstances
[wxWidgets.git] / src / msw / slider95.cpp
index 39ee05810acd7f793df6a7acfee6f0ba60d38433..f6ce131dfcff3be148998d87188fab7a0ec09d46 100644 (file)
@@ -188,7 +188,7 @@ wxSlider::Create(wxWindow *parent,
             }
     };
 
-    wxASSERT_MSG( !(style & wxSL_VERTICAL) | !(style & wxSL_HORIZONTAL),
+    wxASSERT_MSG( !(style & wxSL_VERTICAL) || !(style & wxSL_HORIZONTAL),
                     _T("incompatible slider direction and orientation") );