summaryrefslogtreecommitdiff
path: root/gr-wxgui/src/python/forms/forms.py
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2013-01-20 09:33:03 -0800
committerJohnathan Corgan <johnathan@corganlabs.com>2013-01-20 09:33:03 -0800
commite41b7a54b2c7799bc4c3e177232574f1d38ccab9 (patch)
treee024f943985dcb86f0bf94636b94acc444acfce5 /gr-wxgui/src/python/forms/forms.py
parentad65dd6c70d11dba26ecbad07a6290801151e044 (diff)
parent6b9b1f762eacd6ad53727cf116d12a76d6e8b6b8 (diff)
Merge remote-tracking branch 'balint/windows_fixes' into maint
Diffstat (limited to 'gr-wxgui/src/python/forms/forms.py')
-rw-r--r--gr-wxgui/src/python/forms/forms.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-wxgui/src/python/forms/forms.py b/gr-wxgui/src/python/forms/forms.py
index f1d0038abd..cabc5860b9 100644
--- a/gr-wxgui/src/python/forms/forms.py
+++ b/gr-wxgui/src/python/forms/forms.py
@@ -500,7 +500,8 @@ class notebook(_chooser_base):
self._add_widget(self._notebook)
def _handle(self, event): self[INT_KEY] = self._notebook.GetSelection()
- def _update(self, i): self._notebook.SetSelection(i)
+ # SetSelection triggers a page change event (deprecated, breaks on Windows) and ChangeSelection does not
+ def _update(self, i): self._notebook.ChangeSelection(i)
# ----------------------------------------------------------------
# Stand-alone test application