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
This commit is contained in:
Roman Rolinsky
2003-05-12 14:12:39 +00:00
parent ec3435a947
commit ff7744a993

View File

@@ -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