X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/729f427637dc69b7bb2f25316d538f2288057544..b9ac87bc5cbe46227195e32c44e25831f8206e3c:/wxPython/demo/wxRightTextCtrl.py?ds=sidebyside diff --git a/wxPython/demo/wxRightTextCtrl.py b/wxPython/demo/wxRightTextCtrl.py index 47428fc642..7fe10cef6f 100644 --- a/wxPython/demo/wxRightTextCtrl.py +++ b/wxPython/demo/wxRightTextCtrl.py @@ -12,8 +12,8 @@ class TestPanel(wxPanel): fgs = wxFlexGridSizer(cols=2, vgap=5, hgap=5) txt = wxStaticText(self, -1, - "These text controls will align their contents\n" - "to the right when they don't have focus.", style=wxALIGN_RIGHT ) + "These text controls will align their contents to\n" + "the right (on wxMSW) when they don't have focus.", style=wxALIGN_RIGHT ) fgs.Add(txt) fgs.Add(wxRightTextCtrl(self, -1, "", size=(75, -1))) @@ -33,7 +33,7 @@ class TestPanel(wxPanel): sizer.Add(fgs, 0, wxALL, 25) self.SetSizer(sizer) - self.SetAutoLayout(true) + self.SetAutoLayout(True) @@ -46,3 +46,4 @@ def runTest(frame, nb, log): #---------------------------------------------------------------------- overview = wxPython.lib.rightalign.__doc__ +