wxBell --> wx.Bell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user