fix typo in windows scroll change

svn: r14604
This commit is contained in:
Matthew Flatt 2009-04-24 21:52:05 +00:00
parent afd8b0c2fd
commit 333ecffe3e

View File

@ -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;
}