From 3c92ebb1685071d9a4607af541157954d932152c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 23 Jun 2014 01:08:38 +0000 Subject: [PATCH] Force wxUSE_GRAPHICS_CONTEXT to 0 for wxMotif build. wxGraphicsContext is not implemented in this port. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/motif/chkconf.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/wx/motif/chkconf.h b/include/wx/motif/chkconf.h index 79bbaa03b6..4bde6565ef 100644 --- a/include/wx/motif/chkconf.h +++ b/include/wx/motif/chkconf.h @@ -13,3 +13,9 @@ #if !defined(wxUSE_GADGETS) # define wxUSE_GADGETS 0 #endif + +/* wxGraphicsContext is not implemented in wxMotif */ +#if wxUSE_GRAPHICS_CONTEXT +# undef wxUSE_GRAPHICS_CONTEXT +# define wxUSE_GRAPHICS_CONTEXT 0 +#endif