Did you disbale WXART2D_USE_GRAPHICS_CONTEXT in cmake?

Is so, I have to change wxUSE_GRAPHICS_CONTEXT in wxart2d to 
wxART2D_USE_GRAPHICS_CONTEXT.
I want to be able to choose independent of wxWidgets its setting, but maybe not 
possible.

In any case, you can recompile wxWidgets with wxUSE_GRAPHICS_CONTEXT=0, and it 
will be oke I think.
later  I will check against trunk 2.9.

> -----Original Message-----
> From: Michael Stratmann [mailto:stratm...@micst.de]
> Sent: Thursday, 01 April, 2010 14:12
> To: wxart2d-users_dev@lists.sourceforge.net
> Subject: Re: [Wxart2d-users_dev] wxWidgets-2.9.0-Trunk
> incompatibilities
> 
> Hello Klaas,
> 
> My art2dsetup.h contains
>   #define _GRAPHICS_CONTEXT 0
> in wx widgets' setup.h
> #define wxUSE_GRAPHICS_CONTEXT 1
> 
> Regards,
> Michael
> 
> Am 01.04.2010 09:59, schrieb HOLWERDA Klaas:
> > And if you disable WXART2D_USE_GRAPHICS_CONTEXT when running cmake-
> gui ?
> >
> >
> >> -----Original Message-----
> >> From: Michael Stratmann [mailto:stratm...@micst.de]
> >> Sent: Wednesday, 31 March, 2010 18:00
> >> To: wxart2d-users_dev@lists.sourceforge.net
> >> Subject: [Wxart2d-users_dev] wxWidgets-2.9.0-Trunk incompatibilities
> >>
> >> Hello,
> >>
> >> I am getting more and more in difficulties, because I can not use
> >> wxWidgets-2.9.0-Trunk with my project, due to incompatibilities with
> >> wxArt2D. Most errors are:
> >>
> >> 2>..\..\..\..\modules\artbase\src\graphica.cpp(3685) : error C2259:
> >> 'a2dRenderer' : cannot instantiate abstract class
> >> 2>         due to following members:
> >> 2>         'wxGraphicsBitmap
> >> wxGraphicsRenderer::CreateBitmapFromNativeBitmap(void *)' : is
> abstract
> >> 2>         D:\wxWidgets-2.9.0-Trunk\include\wx/graphics.h(663) : see
> >> declaration of 'wxGraphicsRenderer::CreateBitmapFromNativeBitmap'
> >> or warnings like
> >> 32>D:\wxWidgets-2.9.0-Trunk\lib\vc_lib\mswud\wx/setup.h(668) :
> warning
> >> C4005: 'wxUSE_GRAPHICS_CONTEXT' : macro redefinition
> >> 32>         D:\wxArt2D\buildud\include\art2dsetup.h(51) : see
> previous
> >> definition of 'wxUSE_GRAPHICS_CONTEXT'
> >>
> >> So I would like to ask when could these be fixed? Thank you very
> much
> >> in advance.
> >>
> >> Happy Easter!
> >> Michael
> >>
> >> --------------------------------------------------------------------
> ---
> >> -------
> >> Download Intel® Parallel Studio Eval
> >> Try the new software tools for yourself. Speed compiling, find bugs
> >> proactively, and fine-tune applications for parallel performance.
> >> See why Intel Parallel Studio got high marks during beta.
> >> http://p.sf.net/sfu/intel-sw-dev
> >> _______________________________________________
> >> Wxart2d-users_dev mailing list
> >> Wxart2d-users_dev@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev
> >
> > ---------------------------------------------------------------------
> ---------------------------------------
> > Disclaimer:
> >
> > If you are not the intended recipient of this email, please notify
> the sender and delete it.
> > Any unauthorized copying, disclosure or distribution of this email or
> its attachment(s) is forbidden.
> > Thales Nederland BV will not accept liability for any damage caused
> by this email or its attachment(s).
> > Thales Nederland BV is seated in Hengelo and is registered at the
> Chamber of Commerce under number 06061578.
> > ---------------------------------------------------------------------
> ---------------------------------------
> >
> >
> > ---------------------------------------------------------------------
> ---------
> > Download Intel® Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > _______________________________________________
> > Wxart2d-users_dev mailing list
> > Wxart2d-users_dev@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev
> >
> 
> -----------------------------------------------------------------------
> -------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Wxart2d-users_dev mailing list
> Wxart2d-users_dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

------------------------------------------------------------------------------------------------------------
Disclaimer:

If you are not the intended recipient of this email, please notify the sender 
and delete it. 
Any unauthorized copying, disclosure or distribution of this email or its 
attachment(s) is forbidden. 
Thales Nederland BV will not accept liability for any damage caused by this 
email or its attachment(s). 
Thales Nederland BV is seated in Hengelo and is registered at the Chamber of 
Commerce under number 06061578.
------------------------------------------------------------------------------------------------------------


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to