This isn't quite the behavior I'm looking for because
the controls static box jumps around each time the
toggle button is pressed. If you leave these lines
commented out...
# val = not self.toggleButton.GetValue()
# self.toggleButton.SetValue(val)
# self.OnButton(wx.PyEvent())
...and run through it you'll get an idea of what I'm
trying to do as far as the layout is concerned.
I don't see this behavior.
I'm using wxPython-2.6.1.1pre.20050615/gtk2/unicode
That's odd. If it helps, this is what I get for the
following...
import wx
print wx.__version__
2.6.1.2pre
···
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
On Mon, 2005-09-12 at 11:18 -0700, Vernon Dozier wrote:
This isn't quite the behavior I'm looking for because
the controls static box jumps around each time the
toggle button is pressed. If you leave these lines
commented out...
# val = not self.toggleButton.GetValue()
# self.toggleButton.SetValue(val)
# self.OnButton(wx.PyEvent())