--- a/IDEFrame.py Mon Jul 30 19:02:36 2018 +0300
+++ b/IDEFrame.py Mon Jul 30 19:28:39 2018 +0300
@@ -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