fix typo in windows scroll change
svn: r14604
This commit is contained in:
parent
afd8b0c2fd
commit
333ecffe3e
|
@ -2410,7 +2410,7 @@ void wxSubWnd::OnHScroll( WORD wParam, WORD pos, HWND control)
|
|||
ZeroMemory(&si, sizeof(si));
|
||||
si.cbSize = sizeof(si);
|
||||
si.fMask = SIF_TRACKPOS;
|
||||
if (GetScrollInfo(hwnd, SB_HORZ, &si)) {
|
||||
if (GetScrollInfo(handle, SB_HORZ, &si)) {
|
||||
pos = si.nTrackPos;
|
||||
event->pos = pos;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user