X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..eecfab17969b0b417313504c60594ebd538ef30c:/wxPython/demo/RightTextCtrl.py?ds=inline diff --git a/wxPython/demo/RightTextCtrl.py b/wxPython/demo/RightTextCtrl.py index 9d28c46c79..c24da5c13c 100644 --- a/wxPython/demo/RightTextCtrl.py +++ b/wxPython/demo/RightTextCtrl.py @@ -1,28 +1,11 @@ -# 11/21/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# -# 11/30/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o The rightalign library needs converted for this to work correctly. -# -# 12/11/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o All issues resolved. -# -# 12/20/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o wxRightTextCtrl -> RightTextCtrl -# - -############################################################################\ -# Note: this demo has been converted, but the control is deprecated because | -# wx.TextCtrl now supports the wx.TE_RIGHT style flag, which makes this | -# control completely superfluous. | -############################################################################/ +#####################################################################\ +# Note: This control is deprecated because wx.TextCtrl now supports | +# the wx.TE_RIGHT style flag, which makes this control completely | +# superfluous. | +#####################################################################/ import wx -import wx.lib.rightalign as right +import wx.lib.rightalign as right #---------------------------------------------------------------------- @@ -76,4 +59,4 @@ overview = right.__doc__ if __name__ == '__main__': import sys,os import run - run.main(['', os.path.basename(sys.argv[0])]) + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])