From ff7744a99382d2811f9c47c421a65ed92bd67297 Mon Sep 17 00:00:00 2001 From: Roman Rolinsky Date: Mon, 12 May 2003 14:12:39 +0000 Subject: [PATCH] just a test for IsShown (no refreshing if not) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wxPython/tools/XRCed/tools.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wxPython/wxPython/tools/XRCed/tools.py b/wxPython/wxPython/tools/XRCed/tools.py index 718385ed99..5cca5d282b 100644 --- a/wxPython/wxPython/tools/XRCed/tools.py +++ b/wxPython/wxPython/tools/XRCed/tools.py @@ -178,6 +178,7 @@ class Tools(wxPanel): # Update interface def UpdateUI(self): + if not self.IsShown(): return # Update status bar pullDownMenu = g.pullDownMenu tree = g.tree