X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e63e750766f9c6313a08a79e625cb0d9fa74294..7bebedd82651a0fc6cf002497956c467375362f7:/src/msw/scrolbar.cpp diff --git a/src/msw/scrolbar.cpp b/src/msw/scrolbar.cpp index 7f7b7c2c7e..4f1b342899 100644 --- a/src/msw/scrolbar.cpp +++ b/src/msw/scrolbar.cpp @@ -173,6 +173,8 @@ bool wxScrollBar::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam, int position, maxPos, trackPos = pos; + wxUnusedVar(trackPos); + // when we're dragging the scrollbar we can't use pos parameter because it // is limited to 16 bits // JACS: now always using GetScrollInfo, since there's no reason