diff -r 7533061a6d82 -r d42b6cf00fa6 editors/EditorPanel.py --- a/editors/EditorPanel.py Thu Sep 28 17:24:33 2017 +0300 +++ b/editors/EditorPanel.py Fri Sep 29 15:36:33 2017 +0300 @@ -38,8 +38,6 @@ self.MenuItems = [] def _init_ctrls(self, parent): - wx.SplitterWindow.__init__(self, parent, - style=wx.SUNKEN_BORDER | wx.SP_3D) self.SetMinimumPaneSize(1) self._init_MenuItems() @@ -60,6 +58,9 @@ self.Initialize(self.Editor) def __init__(self, parent, tagname, window, controler, debug=False): + wx.SplitterWindow.__init__(self, parent, + style=wx.SUNKEN_BORDER | wx.SP_3D) + self.ParentWindow = window self.Controler = controler self.TagName = tagname