/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/classgen.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/classgen.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2462 by bh, Wed Dec 15 16:42:56 2004 UTC revision 2527 by bernhard, Thu Jan 20 11:45:15 2005 UTC
# Line 904  class GenQuantilesPanel(wxPanel): Line 904  class GenQuantilesPanel(wxPanel):
904              try:              try:
905                  min, max = table.ValueRange(self.fieldName)                  min, max = table.ValueRange(self.fieldName)
906                  self.text_range.SetValue("[" + str(min) + ";" + str(max) + "]")                  self.text_range.SetValue("[" + str(min) + ";" + str(max) + "]")
907                    # This is a workaround, which will result in OnRangeText
908                    # being called twice on some platforms.
909                    # Testing showed this is needed with current wx 2.4. versions
910                    # on MacOSX to guarantee that it is called at all.
911                    self.OnRangeText(None)
912              finally:              finally:
913                  ThubanEndBusyCursor()                  ThubanEndBusyCursor()
914    

Legend:
Removed from v.2462  
changed lines
  Added in v.2527

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26