wxMSW compilation fixes for old mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -149,6 +149,8 @@ public:
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
size_t GetCount() const { return m_selections.GetCount(); }
|
||||
|
||||
private:
|
||||
wxArrayTreeItemIds& m_selections;
|
||||
};
|
||||
@@ -978,7 +980,7 @@ size_t wxTreeCtrl::GetSelections(wxArrayTreeItemIds& selections) const
|
||||
{
|
||||
TraverseSelections selector(this, selections);
|
||||
|
||||
return selections.GetCount();
|
||||
return selector.GetCount();
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user