From 00b946e49986edae6896b2f5d1ecedb85ef80d65 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Sun, 10 Oct 2010 04:13:48 +0300 Subject: [PATCH] Fix the fix that fixes the bug fixing in multiswitch wxmsw notebook page changed fix for wxmac/wxgtk. --- gui/multiSwitch.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gui/multiSwitch.py b/gui/multiSwitch.py index 54eab00da..a38afa8b9 100644 --- a/gui/multiSwitch.py +++ b/gui/multiSwitch.py @@ -148,8 +148,10 @@ class MultiSwitch(wx.Notebook): self.countEvt -= 1 if self.countEvt < 0: - self.countEvt = 1 - + if "__WXMSW__" not in wx.PlatformInfo: + self.countEvt = 0 + else: + self.countEvt = 1 event.Skip() def changeFit(self, event):