projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use more clear names for variables in wxHtmlSelection code.
[wxWidgets.git]
/
src
/
common
/
list.cpp
diff --git
a/src/common/list.cpp
b/src/common/list.cpp
index 4bdefdba206de4c34ba73b947f251673b6eb7b47..01fb9664bb76020e32abc7f3681d788e16336a41 100644
(file)
--- a/
src/common/list.cpp
+++ b/
src/common/list.cpp
@@
-33,7
+33,7
@@
#include "wx/crt.h"
#endif
#include "wx/crt.h"
#endif
-#if !wxUSE_ST
L
+#if !wxUSE_ST
D_CONTAINERS
// =============================================================================
// implementation
// =============================================================================
// implementation
@@
-171,22
+171,18
@@
void wxListBase::DoCopy(const wxListBase& list)
{
case wxKEY_INTEGER:
{
{
case wxKEY_INTEGER:
{
- long key;
for ( wxNodeBase *node = list.GetFirst(); node; node = node->GetNext() )
{
for ( wxNodeBase *node = list.GetFirst(); node; node = node->GetNext() )
{
- key = node->GetKeyInteger();
- Append(key, node->GetData());
+ Append(node->GetKeyInteger(), node->GetData());
}
break;
}
case wxKEY_STRING:
{
}
break;
}
case wxKEY_STRING:
{
- const wxChar *key;
for ( wxNodeBase *node = list.GetFirst(); node; node = node->GetNext() )
{
for ( wxNodeBase *node = list.GetFirst(); node; node = node->GetNext() )
{
- key = node->GetKeyString();
- Append(key, node->GetData());
+ Append(node->GetKeyString(), node->GetData());
}
break;
}
}
break;
}
@@
-201,7
+197,7
@@
void wxListBase::DoCopy(const wxListBase& list)
}
}
}
}
- wxASSERT_MSG( m_count == list.m_count,
_
T("logic error in wxList::DoCopy") );
+ wxASSERT_MSG( m_count == list.m_count,
wx
T("logic error in wxList::DoCopy") );
}
wxListBase::~wxListBase()
}
wxListBase::~wxListBase()
@@
-756,16
+752,16
@@
wxNode *wxStringList::Prepend(const wxChar *s)
#endif // wxLIST_COMPATIBILITY
#endif // wxLIST_COMPATIBILITY
-#else // wxUSE_ST
L
= 1
+#else // wxUSE_ST
D_CONTAINERS
= 1
#include "wx/listimpl.cpp"
WX_DEFINE_LIST(wxObjectList)
#include "wx/listimpl.cpp"
WX_DEFINE_LIST(wxObjectList)
-// with wxUSE_ST
L
wxStringList contains wxString objects, not pointers
+// with wxUSE_ST
D_CONTAINERS
wxStringList contains wxString objects, not pointers
void _WX_LIST_HELPER_wxStringListBase::DeleteFunction( wxString WXUNUSED(X) )
{
}
wxStringListBase::BaseListType wxStringListBase::EmptyList;
void _WX_LIST_HELPER_wxStringListBase::DeleteFunction( wxString WXUNUSED(X) )
{
}
wxStringListBase::BaseListType wxStringListBase::EmptyList;
-#endif // !wxUSE_ST
L
+#endif // !wxUSE_ST
D_CONTAINERS