]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/utils/wxrcedit/splittree.cpp
Applied patch [ 919791 ] [widgets sample] Update wxListbox selection handling
[wxWidgets.git] / contrib / utils / wxrcedit / splittree.cpp
index 57c241d9546c6c57afe56d2898c0f7ebbec22963..e5eedeec2cfe4e67e8d8aa1e3666a413873a09b7 100644 (file)
@@ -209,7 +209,7 @@ void wxRemotelyScrolledTreeCtrl::ScrollToLine(int WXUNUSED(posHoriz), int posVer
     {
            UINT sbCode = SB_THUMBPOSITION;
            HWND vertScrollBar = 0;
-           MSWDefWindowProc((WXUINT) WM_VSCROLL, MAKELONG(sbCode, posVert), (WXHWND) vertScrollBar);
+           MSWDefWindowProc((WXUINT) WM_VSCROLL, MAKELONG(sbCode, posVert), (WXLPARAM) vertScrollBar);
     }
 #if USE_GENERIC_TREECTRL
     else