소스 검색

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)