OSX quantiles [Re: [Thuban-list] Some errors on version 1.0.1]
Daniel Calvelo Aros
dcalvelo at minag.gob.pe
Thu Jan 20 19:07:05 CET 2005
From: Bernhard Reiter <bernhard at intevation.de>
> On Thu, Jan 20, 2005 at 10:55:43AM +0100, Lorenzo Moretti wrote:
> > UI/classgen.py 904-907
> >
> > try:
> > min, max = table.ValueRange(self.fieldName)
> > self.text_range.SetValue("[" + str(min) + ";" + str(max) +
> > "]")
> > + self.OnRangeText(0)
> > finally:
> >
> > Why you say "is ugly"?
>
> I cannot immedeatly see how this could hurt otherwise,
> so I commited this to CVS HEAD for now.
I said ugly because OnRangeText is supposed to be an event handler, not a
regular function... Oh, never mind, it's just nitpicky.
It works well for the other platforms too, BTW.
I've also been looking at the other OSX problems. Most are wx's fault. For
example, the sash assertion exception is triggered by the fact that the sash's
GetChildren() returns a triplet [scrollbar,scrollbar,panel] in OSX instead of
[panel,panel]. I suspect this is linked to the toolbar not displaying, the
legend scrollbar not always working, and docking/undocking not resizing
properly the sash. Events not triggered and panel wierdnesses...
I'm afraid we should aim for wx2.5 in order to have OSX as a supported
platform. Will look into it a little: try to spot these problems in the wx
demo and look into wx bug reports, I hope they are fixed in 2.5.
Lorenzo, could you describe your development environment (python modules, wx
installation,...) in order to duplicate it here? I only have your dmg
installed. And a great piece of work it is.
Daniel.
More information about the Thuban-list
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)