[solved] wxproj.cpp and wx2.5

Daniel Calvelo Aros dcalvelo at minag.gob.pe
Wed Feb 16 16:30:15 CET 2005


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.

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

Daniel.




More information about the Thuban-devel mailing list

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