|
From: <tim...@en...> - 2006-11-18 12:49:40
|
Ethan A Merritt wrote: > On Friday 17 November 2006 04:07 pm, Timoth=C3=A9e Lecomte wrote: > =20 >> To sum up: >> *get 4.2rc1 from gnuplot.sf.net >> *apply wxmac.diff to src/wxterminal >> =20 > > Most of wxmac.diff looks like an obvious accommodation to=20 > Mac build options. > =20 Exact. > However the bit below doesn't look like it has anything to > do with the Mac, but rather Windows. Is this something that needs > to go into the general code regardless of this Mac discussion? > =20 > > diff -Naur old/wxt_gui.h new/wxt_gui.h > --- old/wxt_gui.h 2006-10-08 22:37:53.000000000 +0200 > +++ new/wxt_gui.h 2006-10-08 22:48:38.000000000 +0200 > @@ -127,6 +127,11 @@ > # define IMAGE_SURFACE > #endif > =20 > +/* by default, enable IMAGE_SURFACE */ > +#if !defined(GTK_SURFACE)&&!defined(IMAGE_SURFACE)&&!defined(__WXMSW__= ) > +# define IMAGE_SURFACE > +#endif > + > /* temporarly undef GTK_SURFACE for two reasons : > * - because of a CAIRO_OPERATOR_SATURATE bug, > * - because as for now, it is slower than the pure image surface, > > =20 It is needed for Mac. Think about the '!defined(__WXMSW__)' as a=20 '!defined(__WINDOWS_SURFACE__)'. I think this patch can go to CVS. Best regards, Timoth=C3=A9e |