]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/slider95.cpp
implemented menu drawing in the GTK theme
[wxWidgets.git] / src / msw / slider95.cpp
index 640e15e40739d354d5503d8eea73f5ba6043877c..e72bb09b172b3f4338a75a70059c624fe36724cc 100644 (file)
@@ -25,6 +25,7 @@
 #ifndef WX_PRECOMP
 #include "wx/utils.h"
 #include "wx/brush.h"
+#include "wx/slider.h"
 #endif
 
 #ifdef __WIN95__
@@ -36,7 +37,7 @@
     #include <commctrl.h>
 #endif
 
-IMPLEMENT_DYNAMIC_CLASS(wxSlider95, wxControl)
+IMPLEMENT_DYNAMIC_CLASS(wxSlider, wxControl)
 
 // Slider
 wxSlider95::wxSlider95()
@@ -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 )