- self.StyleSetFont(wxSTC_STYLE_DEFAULT,
- wxFont(10, wxMODERN, wxNORMAL, wxNORMAL))
- EVT_DYNAMIC_SASH_SPLIT(self, -1, self.OnSplit)
- EVT_DYNAMIC_SASH_UNIFY(self, -1, self.OnUnify)
+
+ self.StyleSetFont(stc.STC_STYLE_DEFAULT,
+ wx.Font(10, wx.MODERN, wx.NORMAL, wx.NORMAL))
+
+ self.Bind(gizmos.EVT_DYNAMIC_SASH_SPLIT, self.OnSplit)
+ self.Bind(gizmos.EVT_DYNAMIC_SASH_UNIFY, self.OnUnify)