Change all <> to !=

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2014-01-01 04:23:33 +00:00
parent 8c45c8411a
commit 6faf213a76
8 changed files with 11 additions and 11 deletions

View File

@@ -106,7 +106,7 @@ class Ticker(wx.Control):
def SetDirection(self, dir):
"""Sets the direction of the ticker: right to left(rtl) or left to right (ltr)"""
if dir == "ltr" or dir == "rtl":
if self._offset <> 0:
if self._offset != 0:
#Change the offset so it's correct for the new direction
self._offset = self._extent[0] + self.GetSize()[0] - self._offset
self._dir = dir