OSX quantiles [Re: [Thuban-list] Some errors on version 1.0.1]

Bernhard Reiter bernhard at intevation.de
Thu Jan 20 12:21:48 CET 2005

On Wed, Jan 19, 2005 at 03:05:14PM -0500, Daniel Calvelo Aros wrote:
> The problem with quantiles under OSX comes from these handlers:
> [UI/classgen.py, lines 857-858]
> ...
>         EVT_TEXT(self, ID_QUANTILES_RANGE, self.OnRangeText)
>         EVT_BUTTON(self, ID_QUANTILES_RETRIEVE, self.OnRetrieve)
> ...
> OnRetrieve is triggered by the "Retrieve" button. It retrieves the range and
> does write it in the text field, but that does not trigger EVT_TEXT. I'd say
> it does in the other platforms since all this works.
> User workaround: If you *edit* the retrieved range (e.g. by deleting and
> retyping one digit), OnRangeText is called and everything's fine.
> Code workaround: I'd suggest force-calling OnRangeText within OnRetrieve,
> (insert 'self.OnRangeText(0)' in line 906 before the 'finally'; what do you
> think? I tried and it works, but is ugly. The real problem is inconsistency
> between wx platforms; should this be submitted to the wx people?

It should be submitted to the wx people.
Can you reproduce it with any wx demo?

I guess that we need to make Thuban fully work with wx 2.5.x
to have better change to get those bugs fixed by them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-list/attachments/20050120/92181929/attachment.bin

More information about the Thuban-list mailing list

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