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