X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/070a4f2d3a2be8e5c8acf15f509a81d014d18703..69d818954b5e6e7b4b4e5093dd26dbe2d5f8546c:/wxPython/demo/Cursor.py?ds=sidebyside diff --git a/wxPython/demo/Cursor.py b/wxPython/demo/Cursor.py index 17b4d86336..0429bdd4b9 100644 --- a/wxPython/demo/Cursor.py +++ b/wxPython/demo/Cursor.py @@ -56,9 +56,9 @@ class TestPanel(wx.Panel): self.tx = wx.StaticText(self, -1, "This sample allows you to see all the stock cursors \n" "available to wxPython. Simply select a name from the \n" - "wx.Choice and then move the mouse into the dineo below \n" - "to see the cursor. NOTE: not all stock cursors have a \n" - "specific representaion on all platforms.") + "wx.Choice and then move the mouse into the window \n" + "below to see the cursor. NOTE: not all stock cursors \n" + "have a specific representaion on all platforms.") self.win = wx.Window(self, -1, size=(200,200), style=wx.SIMPLE_BORDER) self.win.SetBackgroundColour("white") @@ -70,8 +70,8 @@ class TestPanel(wx.Panel): # Setup the layout gbs = wx.GridBagSizer() - gbs.Add(self.cb, (2,2)) - gbs.Add(self.tx, (2,4)) + gbs.Add(self.cb, (2,1)) + gbs.Add(self.tx, (2,3)) gbs.Add(self.win, (5,0), (1, 6), wx.ALIGN_CENTER) self.SetSizer(gbs) @@ -135,5 +135,5 @@ This demo shows the stock mouse cursors that are available to wxPython. 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:])