From 2e3b8fa75aab0136fc7022a410e873acf78ad085 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 8 Mar 2004 20:01:04 +0000 Subject: [PATCH] Fixes for handle change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/utils/wxrcedit/splittree.cpp | 2 +- samples/regtest/regtest.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/utils/wxrcedit/splittree.cpp b/contrib/utils/wxrcedit/splittree.cpp index 57c241d954..e5eedeec2c 100644 --- a/contrib/utils/wxrcedit/splittree.cpp +++ b/contrib/utils/wxrcedit/splittree.cpp @@ -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 diff --git a/samples/regtest/regtest.cpp b/samples/regtest/regtest.cpp index 76845feb09..d584c7b05a 100644 --- a/samples/regtest/regtest.cpp +++ b/samples/regtest/regtest.cpp @@ -156,7 +156,7 @@ private: wxString m_nameOld; // the initial value of item being renamed TreeNode *GetNode(const wxTreeEvent& event) - { return (TreeNode *)GetItemData((WXHTREEITEM)event.GetItem()); } + { return (TreeNode *)GetItemData(event.GetItem()); } public: // create a new node and insert it to the tree -- 2.45.2