[root: Re: wxpython2.5 problem]

Bernhard Herzog bh at intevation.de
Tue Dec 7 15:03:45 CET 2004


Yao Heling <yaoheling at yahoo.com> writes:

>   File "/root/src/cvs/thuban/thuban/Thuban/UI/dock.py", line 378, in __CreateBorder
>     headerBox.Add(1, 5, 1, wxGROW)

This should read as follows:

headerBox.Add((1, 5), 1, wxGROW)


AFAICT from the wxPython sources, even in wxPython 2.4, the form
currently used in Thuban is only supported for backwards compatibility.
Apparently support for it was removed in 2.5.

The attached patch contains the necessary change.  Again, if it works
for you with 2.5 I'll apply it later.

   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)