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