Anchors not working in designer
When I right click at an anchor the wxMenu pops up, I
click on it to check/uncheck but it has no effect at
all.. although it works fine If I modify its value from
the inspector.
I've been testing this out on:
Windows XP Professional
python 2.4
wxPython 2.5
boa 0.4.0
it was a fresh install of the following packages:
python-2.4.msi
wxPython2.5-win32-unicode-2.5.4.1-py24.exe
boa-constructor-0.4.0.win32.exe
the fix is to change the file Views/SelectionTags.py
def OnAnchorToggle(self, event):
anchor = not event.Checked()
to this
def OnAnchorToggle(self, event):
anchor = event.Checked()
you can also consider using IsChecked instead of
Checked since it has been deprecated.
I guess this problem only occurs with wxpython 2.5,
maybe the menu event now gets triggered "after" the
value is changed. but I didn't try it on wxpy2.4
just my little collaboration...hope it helps!
keep the good stuff comming!