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:
@@ -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
|
||||
|
Reference in New Issue
Block a user