]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/scrolbar.cpp
[wxGTK2] wxTextCtrl: Implemented support for wxTEXT_ALIGNMENT_{LEFT,RIGHT,CENTRE...
[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)
 {
 
 void wxScrollBar::Command(wxCommandEvent& event)
 {
-    SetThumbPosition(event.m_commandInt);
+    SetThumbPosition(event.GetInt());
     ProcessCommand(event);
 }
 
     ProcessCommand(event);
 }