]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/slider95.cpp
<br><br><br> is now handled correctly, e.g. empty lines are inserted (unlike <p>...
[wxWidgets.git] / src / msw / slider95.cpp
index bc9805ff4d7f1b3be2034ab2e56ae5ea870fa2be..da73283d1c786fccc0462833731ef3e913894353 100644 (file)
@@ -22,8 +22,8 @@
 
 #ifndef WX_PRECOMP
 #include <stdio.h>
-#include <wx/utils.h>
-#include <wx/brush.h>
+#include "wx/utils.h"
+#include "wx/brush.h"
 #endif
 
 #ifdef __WIN95__
@@ -239,7 +239,7 @@ bool wxSlider95::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam,
             nScrollInc = 0;
     }
 
-    if ( nScrollInc == 0 )
+    if (scrollEvent == wxEVT_NULL)
     {
         // no event...
         return FALSE;