]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/slider95.cpp
full keyboard access support
[wxWidgets.git] / src / msw / slider95.cpp
index 39ee05810acd7f793df6a7acfee6f0ba60d38433..193017c84ab3678af047944e2fd083aca2703b74 100644 (file)
 // declarations
 // ============================================================================
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "slider95.h"
-#endif
-
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
@@ -188,7 +184,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") );