]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/scrolbar.cpp
WinCE doesn't have GetThreadLocale
[wxWidgets.git] / src / msw / scrolbar.cpp
index ef305d4e54e056c2131cd90a1c79f02c4ebba756..ecc1eb3dc14617295c488f93b71abaa725ba5649 100644 (file)
@@ -365,7 +365,7 @@ void wxScrollBar::SetScrollbar(int position, int thumbSize, int range, int pageS
 
 void wxScrollBar::Command(wxCommandEvent& event)
 {
-    SetThumbPosition(event.m_commandInt);
+    SetThumbPosition(event.GetInt());
     ProcessCommand(event);
 }