[solved] wxproj.cpp and wx2.5

Jonathan Coles jonathan at jpcoles.com
Wed Feb 16 16:41:43 CET 2005


Am Mittwoch, den 16.02.2005, 10:30 -0500 schrieb Daniel Calvelo Aros:
> From: Jonathan Coles <jonathan at jpcoles.com>
> Sent: Wed, 16 Feb 2005 08:28:58 -0500
> [...]
> > i've hacked up a solution just to get things working. i created a new
> > header file called swigConvertPtrHack.h which has the necessary 
> > macros as well as including wxPython_int.h, which i copied over from 
> > the wx2.5 source. these two files need to be in the same place as 
> > wxproj.cpp. a patch against cvs for wxproj.cpp is also attached.
> 
> I think some chopping could be done for wxPython_int.h as well; by superficial
> reading, it seems that not much more than the wxPyCoreAPI is needed. All the
> #ifndef PyUSE_EXPORTED_API blocks may be cut out, since wxPython.h #defines that.

ok, i'll do that.

> You think baking our own own header is the way to go?

well, it's not ideal. it would be much better, of course, to rely on
wxPython.h being available. for the time being, however, this at least
allows us to work with wx2.5.

--jonathan

-- 
=====================================================================
 Jonathan Coles                               http://www.jpcoles.com
 jonathan at jpcoles.com                    GnuPG Key: /gpg_pub_key.asc
=====================================================================




More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)