]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/scrolbar.cpp
Linup API of wxRadioBox::Show on all ports. Move wxRadioBox::IsValid from wxUniversal...
[wxWidgets.git] / src / mac / classic / scrolbar.cpp
index 70545c7c8d3a20445431a12cc54ee170ede4afe1..6947803c444fb3dda6ee46b7dc35bb32a93f37f2 100644 (file)
@@ -102,7 +102,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);
 }