It's been renamed to G_NO_CHECK_CASTS in gtk2 stack, but we don't appear to need it.
Why do we need to supress cast checks for gtk1?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36893
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
else
if test "$wxUSE_GTK" = 1 ; 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