X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1248b41f9f71110347659db8c54c75786eba23c6..9bb50fd0b04c824fc7ba14c0dc4ba4a2a9a1e6ad:/src/motif/scrolbar.cpp?ds=inline diff --git a/src/motif/scrolbar.cpp b/src/motif/scrolbar.cpp index 3d17e927af..bb3f97a8d2 100644 --- a/src/motif/scrolbar.cpp +++ b/src/motif/scrolbar.cpp @@ -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); }