]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
always initialize m_bChanged in wxConfigPathChanger ctor; this could result in diffic...
[wxWidgets.git] / configure.in
index 459c4ac20812d6d5132cda01d720d31759f0dd46..b01862c8a02c5ecafd773ec7e1b3b81b05456c40 100644 (file)
@@ -5079,7 +5079,9 @@ if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
 else
     if test "$wxUSE_GTK" = 1 ; then
-        CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
+        if test "x$wxGTK_VERSION" = "x1" ; then
+            CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
+        fi
     fi
 fi