From aa48536f183cc5afb290ed94b3f45dede83a149b Mon Sep 17 00:00:00 2001 From: Christopher Keller Date: Wed, 5 Sep 2012 04:05:47 -0700 Subject: [PATCH] Fixed a bug on windows that caused find to fail by a few spaces. here is a link to the explanation of why this bug exists. http://wiki.wxpython.org/wxPython%20Platform%20Inconsistencies#line-142 --- printrun/pronterface_widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/printrun/pronterface_widgets.py b/printrun/pronterface_widgets.py index 1c34b03..0a2f1f6 100644 --- a/printrun/pronterface_widgets.py +++ b/printrun/pronterface_widgets.py @@ -43,7 +43,7 @@ class macroed(wx.Dialog): titlesizer.Add(self.cancelb) topsizer = wx.BoxSizer(wx.VERTICAL) topsizer.Add(titlesizer, 0, wx.EXPAND) - self.e = wx.TextCtrl(self.panel, style = wx.TE_MULTILINE+wx.HSCROLL, size = (400, 400)) + self.e = wx.TextCtrl(self.panel, style = wx.HSCROLL|wx.TE_MULTILINE|wx.TE_RICH2, size = (400, 400)) if not self.gcode: self.e.SetValue(self.unindent(definition)) else: