Fixes for handle change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2004-03-08 20:01:04 +00:00
parent 49299ddc41
commit 2e3b8fa75a
2 changed files with 2 additions and 2 deletions

View 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

View 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