wxSize/wxPoint/wxRect versions of functions added to wxMSW, wxMotif;
wxScrollBar::Set/GetPosition changed to Set/GetThumbPosition to avoid clash; various other portability changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -490,7 +490,7 @@ wxTreeItemId wxTreeCtrl::DoInsertItem(const wxTreeItemId& parent,
|
||||
|
||||
tvIns.item.mask = mask;
|
||||
|
||||
HTREEITEM id = TreeView_InsertItem(wxhWnd, &tvIns);
|
||||
HTREEITEM id = (HTREEITEM) TreeView_InsertItem(wxhWnd, &tvIns);
|
||||
if ( id == 0 )
|
||||
{
|
||||
wxLogLastError("TreeView_InsertItem");
|
||||
@@ -740,6 +740,12 @@ void wxTreeCtrl::SortChildren(const wxTreeItemId& item,
|
||||
}
|
||||
}
|
||||
|
||||
// TODO
|
||||
size_t wxTreeCtrl::GetChildrenCount(const wxTreeItemId& item, bool recursively)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// implementation
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user