]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/scrolbar.cpp
revert togglable tools to previous state if the change was vetoed by OnLeftClick()
[wxWidgets.git] / src / motif / scrolbar.cpp
index 3d17e927afd2b5e999d46d3d7f95a841261581a3..bb3f97a8d24262bd4506ade89412a5af3da16c89 100644 (file)
@@ -107,7 +107,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);
 }