]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/list.cpp
Made wxNO_DEFAULT set the "no" button as the default, according to the docs
[wxWidgets.git] / src / common / list.cpp
index 8196c3eb26734f08706411bd4423aac34a8c602b..48a91d0d9ecdab1ffd70ff0179565db3cec6050c 100644 (file)
@@ -563,7 +563,7 @@ wxStringList::wxStringList (const wxChar *first, ...)
       s = va_arg(ap, const wxChar *);
       //    if (s == NULL)
 #ifdef __WXMSW__
-      if ((int) s == 0)
+      if ((int)(long) s == 0)
 #else
       if ((long) s == 0)
 #endif