]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/scrolbar.cpp
added wxUSE_STDPATHS
[wxWidgets.git] / src / msw / scrolbar.cpp
index d789c490a7687afdf01e85e9199c50bf2d96b3f3..ecc1eb3dc14617295c488f93b71abaa725ba5649 100644 (file)
@@ -363,16 +363,9 @@ void wxScrollBar::SetScrollbar(int position, int thumbSize, int range, int pageS
 #endif
 }
 
-
-WXHBRUSH wxScrollBar::OnCtlColor(WXHDC WXUNUSED(pDC), WXHWND WXUNUSED(pWnd), WXUINT WXUNUSED(nCtlColor),
-            WXUINT WXUNUSED(message), WXWPARAM WXUNUSED(wParam), WXLPARAM WXUNUSED(lParam))
-{
-  return 0;
-}
-
 void wxScrollBar::Command(wxCommandEvent& event)
 {
-    SetThumbPosition(event.m_commandInt);
+    SetThumbPosition(event.GetInt());
     ProcessCommand(event);
 }