X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7403ad2d154a8e2974fdc5fc215258f3a75cdde..a7d5151df02bf70a9f6ff1c5c7fd33ab07bf409c:/wxPython/wx/lib/editor/editor.py?ds=inline diff --git a/wxPython/wx/lib/editor/editor.py b/wxPython/wx/lib/editor/editor.py index d0a67cbeef..351e5f3d89 100644 --- a/wxPython/wx/lib/editor/editor.py +++ b/wxPython/wx/lib/editor/editor.py @@ -483,6 +483,7 @@ class Editor(wx.ScrolledWindow): self.SelectEnd = None self.UpdateView() self.CaptureMouse() + self.SetFocus() def OnLeftUp(self, event): if not self.HasCapture():