one step further ;-)
Bernhard Herzog
bh at intevation.de
Tue Apr 4 18:34:10 CEST 2006
Bernhard Reiter <bernhard at intevation.de> writes:
> Am 4. Apr 2006 um 09:11:59 schrieb Didrik Pinte:
>> Le lundi 03 avril 2006 à 20:18 +0200, Didrik Pinte a écrit :
>> >
>> > That must be the problem. I'll recompile all the project with only the
>> > wxWindows source installed (not the binary package installed in my
>> > python 2.4 installation)
Note that wxPython for Windows comes with its own wxWidgets DLL.
There's no need to install it separately. The wxPython developers also
provide a package with the development files including all the wxWidgets
headers. To compile Thuban you need the development package that
matches your wxPython version exactly. Sorry for not mentioning this
earlier, it's been a while since I did any Thuban development.
>> low_level_renderer
>> self.scale, -self.scale, offx, offy))
>> TypeError: third argument must be a wxDC instance
>>
>> This seems to be related to wxproj.draw_polygon_init.
>>
>> Bernhard, you probably know wxWindows better than me. Do you have an
>> idea on the problem ?
>
> Maybe Bernhard H. has an idea.
It's most likely still an incompatibility between the headerfiles and
the wxWidgets and/or wxpython dlls. In this case Thubans C++-code
probably ends up using the wrong function pointer to convert python
objects to their wxWidgets counterparts of an incompatible difference
between the struct used by wxpython to export it's C-level interface.
Bernhard
--
Intevation GmbH http://intevation.de/
Skencil http://skencil.org/
Thuban http://thuban.intevation.org/
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)