From: Stefan Csomor Date: Wed, 30 Jul 2008 15:48:24 +0000 (+0000) Subject: default to using graphics context on osx X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/84b204157940cebc3ed9552b6858fa3b7fe20520 default to using graphics context on osx git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure b/configure index b911d56313..7c87d38701 100755 --- a/configure +++ b/configure @@ -46441,6 +46441,9 @@ _ACEOF fi fi +if test "$wxUSE_MAC" = 1; then + wxUSE_GRAPHICS_CONTEXT="yes" +fi if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then diff --git a/configure.in b/configure.in index ee268ff8d4..de95af2d25 100644 --- a/configure.in +++ b/configure.in @@ -7121,6 +7121,10 @@ dnl --------------------------------------------------------------------------- dnl wxGraphicsContext dnl --------------------------------------------------------------------------- +if test "$wxUSE_MAC" = 1; then + wxUSE_GRAPHICS_CONTEXT="yes" +fi + if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then AC_DEFINE(wxUSE_GRAPHICS_CONTEXT)