]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/scrolbar.cpp
we need our own implementation because in wxmac wxIcon does not inherit from wxBitmap...
[wxWidgets.git] / src / os2 / scrolbar.cpp
index 8b88e4078cf083b77ba6ffda69cbcced2096f962..8837a464042ae9c8a4e9e944a1230db4d45b2a1c 100644 (file)
@@ -307,7 +307,7 @@ void wxScrollBar::Command (
   wxCommandEvent&                   rEvent
 )
 {
-    SetThumbPosition(rEvent.m_commandInt);
+    SetThumbPosition(rEvent.GetInt());
     ProcessCommand(rEvent);
 } // end of wxScrollBar::Command