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:
parent
49299ddc41
commit
2e3b8fa75a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user