Changed __GTK__, __WINDOWS__ and __MOTIF__ to __WXGTK__, __WXMSW__ and __WXMOTIF__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -174,7 +174,7 @@ wxList::wxList (wxObject * first_one...)
|
||||
{
|
||||
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)
|
||||
@@ -525,7 +525,7 @@ wxStringList::wxStringList (const char *first...)
|
||||
{
|
||||
char *s = va_arg (ap, char *);
|
||||
// if (s == NULL)
|
||||
#ifdef __WINDOWS__
|
||||
#ifdef __WXMSW__
|
||||
if ((int) s == 0)
|
||||
#else
|
||||
if ((long) s == 0)
|
||||
|
||||
Reference in New Issue
Block a user