mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user