X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af5454a410ed37a8a1639716a0c96c191e60b7f0..31c07ca5a3699fbd6051fd9b8e481cd6ea5bd9c3:/wxPython/wx/lib/editor/editor.py diff --git a/wxPython/wx/lib/editor/editor.py b/wxPython/wx/lib/editor/editor.py index b3f4f1b155..3be1a8ce71 100644 --- a/wxPython/wx/lib/editor/editor.py +++ b/wxPython/wx/lib/editor/editor.py @@ -771,7 +771,7 @@ class Editor(wx.ScrolledWindow): def MoveLeft(self, event): if self.cx == 0: if self.cy == 0: - wxBell() + wx.Bell() else: self.cVert(-1) self.cx = self.CurrentLineLength() @@ -782,7 +782,7 @@ class Editor(wx.ScrolledWindow): linelen = self.CurrentLineLength() if self.cx == linelen: if self.cy == len(self.lines) - 1: - wxBell() + wx.Bell() else: self.cx = 0 self.cVert(1)