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:
Vadim Zeitlin
2006-03-22 19:14:28 +00:00
parent 80f218424f
commit d4d8988c72
2 changed files with 14 additions and 12 deletions

View File

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