IDEFrame.py
changeset 2259 53f3eb5c47f7
parent 2256 5927710b5610
child 2301 5b8a7dd43f9f
--- a/IDEFrame.py	Wed Aug 08 13:27:44 2018 +0200
+++ b/IDEFrame.py	Wed Aug 08 13:46:19 2018 +0200
@@ -2164,9 +2164,9 @@
                         self.Bind(wx.EVT_MENU, getattr(self, method), id=id)
                         self.CurrentEditorToolBar.append(id)
                 EditorToolBar.Realize()
-                self.AUIManager.GetPane("EditorToolBar").BestSize(EditorToolBar.GetBestSize())
                 self.AUIManager.GetPane("EditorToolBar").Show()
                 self.AUIManager.Update()
+                self.AUIManager.GetPane("EditorToolBar").BestSize(EditorToolBar.GetBestSize())
         elif menu is None:
             self.ResetEditorToolBar()
             self.CurrentMenu = menu