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:
@@ -209,7 +209,7 @@ void wxRemotelyScrolledTreeCtrl::ScrollToLine(int WXUNUSED(posHoriz), int posVer
|
|||||||
{
|
{
|
||||||
UINT sbCode = SB_THUMBPOSITION;
|
UINT sbCode = SB_THUMBPOSITION;
|
||||||
HWND vertScrollBar = 0;
|
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
|
#if USE_GENERIC_TREECTRL
|
||||||
else
|
else
|
||||||
|
@@ -156,7 +156,7 @@ private:
|
|||||||
wxString m_nameOld; // the initial value of item being renamed
|
wxString m_nameOld; // the initial value of item being renamed
|
||||||
|
|
||||||
TreeNode *GetNode(const wxTreeEvent& event)
|
TreeNode *GetNode(const wxTreeEvent& event)
|
||||||
{ return (TreeNode *)GetItemData((WXHTREEITEM)event.GetItem()); }
|
{ return (TreeNode *)GetItemData(event.GetItem()); }
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// create a new node and insert it to the tree
|
// create a new node and insert it to the tree
|
||||||
|
Reference in New Issue
Block a user