]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixes for handle change
authorJulian Smart <julian@anthemion.co.uk>
Mon, 8 Mar 2004 20:01:04 +0000 (20:01 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 8 Mar 2004 20:01:04 +0000 (20:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/utils/wxrcedit/splittree.cpp
samples/regtest/regtest.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
index 76845feb09506282befaac326e0fd75064307434..d584c7b05ab0389fb092924ae208ff8dd210897b 100644 (file)
@@ -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