made wxList methods return compatibility_iterator instead of Node * to further reduce differences between wxUSE_STL==0 and 1 cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -742,12 +742,14 @@ void wxStringList::Sort()
|
||||
|
||||
wxNode *wxStringList::Add(const wxChar *s)
|
||||
{
|
||||
return (wxNode *)wxStringListBase::Append(MYcopystring(s));
|
||||
return (wxNode *)(wxStringListBase::Node *)
|
||||
wxStringListBase::Append(MYcopystring(s));
|
||||
}
|
||||
|
||||
wxNode *wxStringList::Prepend(const wxChar *s)
|
||||
{
|
||||
return (wxNode *)wxStringListBase::Insert(MYcopystring(s));
|
||||
return (wxNode *)(wxStringListBase::Node *)
|
||||
wxStringListBase::Insert(MYcopystring(s));
|
||||
}
|
||||
|
||||
#endif // wxLIST_COMPATIBILITY
|
||||
|
||||
Reference in New Issue
Block a user