浏览代码

wxGUI: attempt to fix about dialog on Windows

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58013 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 年之前
父节点
当前提交
1046066721
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/gui_core/ghelp.py

+ 1 - 1
gui/wxpython/gui_core/ghelp.py

@@ -63,8 +63,8 @@ class AboutWindow(wx.Frame):
                            (_("Translators"), self._pageTranslators()),
                            (_("Translation status"), self._pageStats())):
             self.aboutNotebook.AddPage(page = win, text = title)
-        self.aboutNotebook.Refresh()
         wx.CallAfter(self.aboutNotebook.SetSelection, 0)
+        wx.CallAfter(self.aboutNotebook.Refresh)
         
         # buttons
         self.btnClose = wx.Button(parent = self.panel, id = wx.ID_CLOSE)