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:
Julian Smart
1998-11-23 14:28:18 +00:00
parent 3517843735
commit 2e5dddb0a4
3 changed files with 6 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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