summaryrefslogtreecommitdiff
path: root/gr-wxgui/src/python/forms/forms.py
diff options
context:
space:
mode:
authorJosh Blum2013-02-17 16:46:08 -0800
committerJosh Blum2013-02-17 16:46:08 -0800
commit7839db580435ad0d39f307bde185dfdcda01ec12 (patch)
tree7c15be4cb502d65f808d390abd24e7b388b7c4e0 /gr-wxgui/src/python/forms/forms.py
parentbc8bbc71f799ea81e38104ff9d943a5eab1e203c (diff)
parent0dcdc099ecbb01e72b0c5935437f154e47763055 (diff)
downloadgnuradio-7839db580435ad0d39f307bde185dfdcda01ec12.tar.gz
gnuradio-7839db580435ad0d39f307bde185dfdcda01ec12.tar.bz2
gnuradio-7839db580435ad0d39f307bde185dfdcda01ec12.zip
Merge branch 'maint' into v3.6.4git_gras_support
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 f1d0038ab..cabc5860b 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