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();
case wxKEY_STRING:
{
- const wxChar *key;
+ const wxChar *key;
for ( wxNodeBase *node = list.GetFirst(); node; node = node->GetNext() )
{
key = node->GetKeyString();
// Makes new storage for the strings
wxStringList::wxStringList (const wxChar *first, ...)
{
+ DeleteContents(TRUE);
if ( !first )
return;