key_type = wxKEY_NONE;
}
-wxList::wxList (const int N, wxObject * Objects[])
+wxList::wxList (int N, wxObject * Objects[])
{
wxNode *last = NULL;
{
wxObject *object = va_arg (ap, wxObject *);
// if (object == NULL) // Doesn't work in Windows -- segment is non-zero for NULL!
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
if ((int) object == 0)
#else
if ((long) object == 0)
return node;
}
-wxNode *wxList::Nth (const int i) const
+wxNode *wxList::Nth (int i) const
{
int j = 0;
for (wxNode * current = First (); current; current = current->Next ())
}
-wxNode *wxList::Find (const long key) const
+wxNode *wxList::Find (long key) const
{
wxNode *current = First();
while (current)
}
// Keyed append
-wxNode *wxList::Append (const long key, wxObject * object)
+wxNode *wxList::Append (long key, wxObject * object)
{
wxNode *node = new wxNode (this, last_node, NULL, object, key);
if (!first_node)
{
char *s = va_arg (ap, char *);
// if (s == NULL)
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
if ((int) s == 0)
#else
if ((long) s == 0)
}
// Only makes new strings if arg is TRUE
-char **wxStringList::ListToArray (const bool new_copies) const
+char **wxStringList::ListToArray (bool new_copies) const
{
char **string_array = new char *[Number ()];
wxNode *node = First ();