Fix to wxTreeCtrl::GetNextChild from Marcel Rasche. Corrected WXUSINGDLL in 2 makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
# Set WXDIR for your system
|
# Set WXDIR for your system
|
||||||
WXDIR = $(WXWIN)
|
WXDIR = $(WXWIN)
|
||||||
WXUSINGDLL=1
|
WXUSINGDLL=0
|
||||||
|
|
||||||
!include $(WXDIR)\src\ntwxwin.mak
|
!include $(WXDIR)\src\ntwxwin.mak
|
||||||
|
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
# Set WXDIR for your system
|
# Set WXDIR for your system
|
||||||
WXDIR = $(WXWIN)
|
WXDIR = $(WXWIN)
|
||||||
|
|
||||||
WXUSINGDLL=1
|
WXUSINGDLL=0
|
||||||
|
|
||||||
!include $(WXDIR)\src\ntwxwin.mak
|
!include $(WXDIR)\src\ntwxwin.mak
|
||||||
|
|
||||||
|
@@ -407,8 +407,10 @@ wxTreeItemId wxTreeCtrl::GetFirstChild(const wxTreeItemId& item,
|
|||||||
wxTreeItemId wxTreeCtrl::GetNextChild(const wxTreeItemId& WXUNUSED(item),
|
wxTreeItemId wxTreeCtrl::GetNextChild(const wxTreeItemId& WXUNUSED(item),
|
||||||
long& _cookie) const
|
long& _cookie) const
|
||||||
{
|
{
|
||||||
return wxTreeItemId((WXHTREEITEM) TreeView_GetNextSibling(wxhWnd,
|
wxTreeItemId l=wxTreeItemId((WXHTREEITEM) TreeView_GetNextSibling(wxhWnd,
|
||||||
(HTREEITEM) (WXHTREEITEM)_cookie));
|
(HTREEITEM) (WXHTREEITEM)_cookie));
|
||||||
|
_cookie=(long)l;
|
||||||
|
return l;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxTreeItemId wxTreeCtrl::GetNextSibling(const wxTreeItemId& item) const
|
wxTreeItemId wxTreeCtrl::GetNextSibling(const wxTreeItemId& item) const
|
||||||
|
Reference in New Issue
Block a user