WX_DECLARE_HASH() macro for type safe hashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -172,10 +172,10 @@ void wxListBase::DoCopy(const wxListBase& list)
|
||||
m_nodeLast = (wxNodeBase *) NULL;
|
||||
|
||||
switch (m_keyType) {
|
||||
|
||||
|
||||
case wxKEY_INTEGER:
|
||||
{
|
||||
long key;
|
||||
long key;
|
||||
for ( wxNodeBase *node = list.GetFirst(); node; node = node->GetNext() )
|
||||
{
|
||||
key = node->GetKeyInteger();
|
||||
@@ -186,7 +186,7 @@ void wxListBase::DoCopy(const wxListBase& list)
|
||||
|
||||
case wxKEY_STRING:
|
||||
{
|
||||
const wxChar *key;
|
||||
const wxChar *key;
|
||||
for ( wxNodeBase *node = list.GetFirst(); node; node = node->GetNext() )
|
||||
{
|
||||
key = node->GetKeyString();
|
||||
|
||||
Reference in New Issue
Block a user