]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/slider95.cpp
Committing in .
[wxWidgets.git] / src / msw / slider95.cpp
index 640e15e40739d354d5503d8eea73f5ba6043877c..116e2e5647b1e15c84ff6ed1f5954e8fbe0c1e03 100644 (file)
@@ -25,6 +25,7 @@
 #ifndef WX_PRECOMP
 #include "wx/utils.h"
 #include "wx/brush.h"
+#include "wx/slider.h"
 #endif
 
 #ifdef __WIN95__
@@ -202,7 +203,7 @@ bool wxSlider95::Create(wxWindow *parent, wxWindowID id,
 }
 
 bool wxSlider95::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam,
-                             WXWORD pos, WXHWND control)
+                             WXWORD WXUNUSED(pos), WXHWND control)
 {
     wxEventType scrollEvent;
     switch ( wParam )