X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/debe6624c1e9d4bf3243381153d1e173c849bcd8..3168a13f907e99a97a835514ab1832f0151f040c:/src/common/list.cpp?ds=sidebyside diff --git a/src/common/list.cpp b/src/common/list.cpp index 728c8c483d..b4d2ab7410 100644 --- a/src/common/list.cpp +++ b/src/common/list.cpp @@ -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)