From b76262b81dfc1c768846861c537d8ffdd0e5e8c2 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 1 Oct 2003 19:31:42 +0000 Subject: [PATCH] Lots of spelling errors fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/ActiveXWrapper_IE.py | 2 +- wxPython/demo/ColourDB.py | 2 +- wxPython/demo/ContextHelp.py | 4 ++-- wxPython/demo/DrawXXXList.py | 4 ++-- wxPython/demo/FloatCanvas.py | 4 ++-- wxPython/demo/GridCustTable.py | 2 +- wxPython/demo/GridSimple.py | 2 +- wxPython/demo/Main.py | 4 ++-- wxPython/demo/PrintFramework.py | 2 +- wxPython/demo/PythonEvents.py | 2 +- wxPython/demo/Sizers.py | 10 +++++----- wxPython/demo/TablePrint.py | 2 +- wxPython/demo/Threads.py | 2 +- wxPython/demo/demoMainLoop.py | 2 +- wxPython/demo/redemo.py | 2 +- wxPython/demo/viewer.py | 4 ++-- wxPython/demo/wxCalendar.py | 2 +- wxPython/demo/wxDragImage.py | 2 +- wxPython/demo/wxEditor.py | 2 +- wxPython/demo/wxFileHistory.py | 2 +- wxPython/demo/wxListCtrl_virtual.py | 2 +- wxPython/demo/wxStyledTextCtrl_1.py | 4 ++-- 22 files changed, 32 insertions(+), 32 deletions(-) diff --git a/wxPython/demo/ActiveXWrapper_IE.py b/wxPython/demo/ActiveXWrapper_IE.py index 2e08c8e1a4..fd164e5761 100644 --- a/wxPython/demo/ActiveXWrapper_IE.py +++ b/wxPython/demo/ActiveXWrapper_IE.py @@ -11,7 +11,7 @@ you can use just like wxWindow, (set the size and position, use in a sizer, etc.) except its contents will be the COM control.

-This demo embeds the Internet Exploer WebBrowser control, and shows +This demo embeds the Internet Explorer WebBrowser control, and shows how to receive events from the COM control. (The title bar and status bar are updated as pages change, in addition to the log messages being shown.) diff --git a/wxPython/demo/ColourDB.py b/wxPython/demo/ColourDB.py index 05fbccdad1..d0681e3765 100644 --- a/wxPython/demo/ColourDB.py +++ b/wxPython/demo/ColourDB.py @@ -28,7 +28,7 @@ class TestWindow(wxScrolledWindow): dc = wxClientDC(self) dc.SetFont(self.font) - w,h,d,e = dc.GetFullTextExtent("Wy") # a wide character and one that decends + w,h,d,e = dc.GetFullTextExtent("Wy") # a wide character and one that descends self.textHeight = h + d self.lineHeight = self.textHeight + 5 self.cellWidth = w diff --git a/wxPython/demo/ContextHelp.py b/wxPython/demo/ContextHelp.py index 7bca0c5156..044e36dbe6 100644 --- a/wxPython/demo/ContextHelp.py +++ b/wxPython/demo/ContextHelp.py @@ -81,8 +81,8 @@ def runTest(frame, nb, log): overview = """ -This demo shows how to encorporate Context Sensitive -help into your applicaiton using the wxSimpleHelpProvider class. +This demo shows how to incorporate Context Sensitive +help into your application using the wxSimpleHelpProvider class. """ diff --git a/wxPython/demo/DrawXXXList.py b/wxPython/demo/DrawXXXList.py index 776201aa1a..f22ec2e2d2 100644 --- a/wxPython/demo/DrawXXXList.py +++ b/wxPython/demo/DrawXXXList.py @@ -58,7 +58,7 @@ def makeRandomRectangles(num, W, H): def makeRandomText(num): - Np = 8 # number of charcters in text + Np = 8 # number of characters in text text = [] for i in range(num): word = [] @@ -386,7 +386,7 @@ drawing routines. Currently they are: DrawLineList(sequence, pens=None) Where sequence is a tuple, list, whatever of 4 element tuples - (x1,y1, x2,y2) andd pens is either None, a single pen or a list + (x1,y1, x2,y2) and pens is either None, a single pen or a list of pens.

diff --git a/wxPython/demo/FloatCanvas.py b/wxPython/demo/FloatCanvas.py
index 174473753a..953fb0800b 100644
--- a/wxPython/demo/FloatCanvas.py
+++ b/wxPython/demo/FloatCanvas.py
@@ -359,7 +359,7 @@ else:
         
         I'd like the cursor to change as you change tools, but the stock
         wxCursors didn't include anything I liked, so I stuck with the
-        pointer. Pleae let me know if you have any nice cursor images for me to
+        pointer. Please let me know if you have any nice cursor images for me to
         use.
         
         
@@ -399,7 +399,7 @@ else:
         segment = []
         for line in data:
             if line:
-                if line == "# -b": #New segment begining
+                if line == "# -b": #New segment beginning
                     if segment: Shorelines.append(array(segment))
                     segment = []
                 else:
diff --git a/wxPython/demo/GridCustTable.py b/wxPython/demo/GridCustTable.py
index 3d4b6b3011..2bd5d978e4 100644
--- a/wxPython/demo/GridCustTable.py
+++ b/wxPython/demo/GridCustTable.py
@@ -83,7 +83,7 @@ class CustomDataTable(wxPyGridTableBase):
 
     # Called to determine the kind of editor/renderer to use by
     # default, doesn't necessarily have to be the same type used
-    # nativly by the editor/renderer if they know how to convert.
+    # natively by the editor/renderer if they know how to convert.
     def GetTypeName(self, row, col):
         return self.dataTypes[col]
 
diff --git a/wxPython/demo/GridSimple.py b/wxPython/demo/GridSimple.py
index 267867c434..02b9fe0478 100644
--- a/wxPython/demo/GridSimple.py
+++ b/wxPython/demo/GridSimple.py
@@ -158,7 +158,7 @@ class SimpleGrid(wxGrid): ##, wxGridAutoEditMixin):
 
         # Show how to stay in a cell that has bad data.  We can't just
         # call SetGridCursor here since we are nested inside one so it
-        # won't have any effect.  Instead, set coordinants to move to in
+        # won't have any effect.  Instead, set coordinates to move to in
         # idle time.
         value = self.GetCellValue(evt.GetRow(), evt.GetCol())
         if value == 'no good':
diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py
index 071b447636..e0c58ec8c2 100644
--- a/wxPython/demo/Main.py
+++ b/wxPython/demo/Main.py
@@ -98,7 +98,7 @@ _treeList = [
         'wxValidator',
         ]),
 
-    # controls coming from other librairies
+    # controls coming from other libraries
     ('More Windows/Controls', [
         #'wxFloatBar',          deprecated
         #'wxMVCTree',           deprecated
@@ -806,7 +806,7 @@ platform GUI library, which is written in C++.
 

Like Python and wxWindows, wxPython is Open Source which means that it is free for anyone to use and the source code is available for anyone to look at and modify. Or anyone can contribute -fixes or enhnacments to the project. +fixes or enhancements to the project.

wxPython is a cross-platform toolkit. This means that the same program will run on multiple platforms without modification. diff --git a/wxPython/demo/PrintFramework.py b/wxPython/demo/PrintFramework.py index d7a78e1dd4..e0fdd41aa9 100644 --- a/wxPython/demo/PrintFramework.py +++ b/wxPython/demo/PrintFramework.py @@ -69,7 +69,7 @@ class MyPrintout(wxPrintout): # Use x or y scaling factor, whichever fits on the DC actualScale = min(scaleX, scaleY) - # Calculate the position on the DC for centring the graphic + # Calculate the position on the DC for centering the graphic posX = (w - (self.canvas.getWidth() * actualScale)) / 2.0 posY = (h - (self.canvas.getHeight() * actualScale)) / 2.0 diff --git a/wxPython/demo/PythonEvents.py b/wxPython/demo/PythonEvents.py index 98301706ff..911f04b4aa 100644 --- a/wxPython/demo/PythonEvents.py +++ b/wxPython/demo/PythonEvents.py @@ -77,7 +77,7 @@ def runTest(frame, nb, log): overview = """\ -This demo is a contrived example of defining an event class in wxPython and sending it up the containment heirachy for processing. +This demo is a contrived example of defining an event class in wxPython and sending it up the containment hierarchy for processing. """ diff --git a/wxPython/demo/Sizers.py b/wxPython/demo/Sizers.py index 0fb4657edc..5bdcd38b3d 100644 --- a/wxPython/demo/Sizers.py +++ b/wxPython/demo/Sizers.py @@ -362,7 +362,7 @@ theTests = [ ), ("Add a stretchable", makeSimpleBox3, - "We've added one more button with the strechable flag turned on. Notice " + "We've added one more button with the stretchable flag turned on. Notice " "how it grows to fill the extra space in the otherwise fixed dimension." ), @@ -372,7 +372,7 @@ theTests = [ ), ("Weighting factor", makeSimpleBox5, - "This one shows more than one strechable, but one of them has a weighting " + "This one shows more than one stretchable, but one of them has a weighting " "factor so it gets more of the free space." ), @@ -421,7 +421,7 @@ theTests = [ ), ("Boxes inside a Border", makeBoxInBorder, - "Sizers of different types can be nested withing each other as well. " + "Sizers of different types can be nested within each other as well. " "Here is a box sizer with several buttons embedded within a border sizer." ), @@ -434,7 +434,7 @@ theTests = [ ("Simple Grid", makeGrid1, "This is an example of the wxGridSizer. In this case all row heights " "and column widths are kept the same as all the others and all items " - "fill their available space. The horzontal and vertical gaps are set to " + "fill their available space. The horizontal and vertical gaps are set to " "2 pixels each." ), @@ -461,7 +461,7 @@ theTests = [ ("Proportional resize", makeSimpleBoxShaped, "Managed items can preserve their original aspect ratio. The last item has the " - "wxSHAPED flag set and will resize proportional to its origingal size." + "wxSHAPED flag set and will resize proportional to its original size." ), ("Proportional resize with Alignments", makeShapes, diff --git a/wxPython/demo/TablePrint.py b/wxPython/demo/TablePrint.py index 7b370709d9..a8a45ca588 100644 --- a/wxPython/demo/TablePrint.py +++ b/wxPython/demo/TablePrint.py @@ -187,7 +187,7 @@ This demo shows various ways of using the new PrintOut class. To understand the class you need to examine the demo examples and the library printout.py module classes.

-The initial class primarily contains a Table preview/printing class. There is alot of flexibility +The initial class primarily contains a Table preview/printing class. There is a lot of flexibility in manipulating the placement, sizing, colours, alignment of the table text and cell background colors. There are also a number of options for printing Header and Footer information on the page.

diff --git a/wxPython/demo/Threads.py b/wxPython/demo/Threads.py index 23a9826917..25440e5106 100644 --- a/wxPython/demo/Threads.py +++ b/wxPython/demo/Threads.py @@ -223,7 +223,7 @@ so any cross platform GUI Toolkit and applications written with it need to take that into account. The solution is to only allow interaction with the GUI from a single -thread, but this often severly limits what can be done in an +thread, but this often severely limits what can be done in an application and makes it difficult to use additional threads at all. Since wxPython already makes extensive use of event handlers, it is a diff --git a/wxPython/demo/demoMainLoop.py b/wxPython/demo/demoMainLoop.py index 73146d1d7d..4b21f8f71a 100755 --- a/wxPython/demo/demoMainLoop.py +++ b/wxPython/demo/demoMainLoop.py @@ -93,7 +93,7 @@ class MyApp(wx.App): while self.Pending(): self.Dispatch() - # Send idle events to idle handlers. You may want to throtle + # Send idle events to idle handlers. You may want to throttle # this back a bit so there is not too much CPU time spent in # the idle handlers. For this example, I'll just snooze a # little... diff --git a/wxPython/demo/redemo.py b/wxPython/demo/redemo.py index 9215ad529a..60b66fabeb 100644 --- a/wxPython/demo/redemo.py +++ b/wxPython/demo/redemo.py @@ -1,4 +1,4 @@ -"""Basic regular expression demostration facility (Perl style syntax).""" +"""Basic regular expression demonstration facility (Perl style syntax).""" from wxPython.wx import * import re diff --git a/wxPython/demo/viewer.py b/wxPython/demo/viewer.py index ad438e10a0..befb03ece6 100644 --- a/wxPython/demo/viewer.py +++ b/wxPython/demo/viewer.py @@ -35,9 +35,9 @@ When using wxPython, the call to app.Mainloop() takes over the thread from which it is called. This presents a problem for applications that want to use the standard - Python command line user interface, while occasionaly + Python command line user interface, while occasionally creating a GUI window for viewing an image, plot, etc. - One soultion is to mangage the GUI in a second thread. + One solution is to manage the GUI in a second thread. wxPython does not behave well if windows are created in a thread other than the one where wxPython was originally diff --git a/wxPython/demo/wxCalendar.py b/wxPython/demo/wxCalendar.py index 3b8499d7ce..501e02c71c 100644 --- a/wxPython/demo/wxCalendar.py +++ b/wxPython/demo/wxCalendar.py @@ -481,7 +481,7 @@ class PrintCalend: year, month = self.IncMonth(year, month) y = y + 3.5 - x = x + 4.0 # next colum + x = x + 4.0 # next column DC.EndDrawing() diff --git a/wxPython/demo/wxDragImage.py b/wxPython/demo/wxDragImage.py index 5fcecb0d53..74ade7e0ea 100644 --- a/wxPython/demo/wxDragImage.py +++ b/wxPython/demo/wxDragImage.py @@ -194,7 +194,7 @@ class DragCanvas(wxScrolledWindow): if not self.dragShape or not evt.Dragging() or not evt.LeftIsDown(): return - # if we have a shape, but havn't started dragging yet + # if we have a shape, but haven't started dragging yet if self.dragShape and not self.dragImage: # only start the drag after having moved a couple pixels diff --git a/wxPython/demo/wxEditor.py b/wxPython/demo/wxEditor.py index 0ae5f8f741..40bb835f2b 100644 --- a/wxPython/demo/wxEditor.py +++ b/wxPython/demo/wxEditor.py @@ -16,7 +16,7 @@ def runTest(frame, nb, log): "This is a simple text editor, the class name is", "wxEditor. Type a few lines and try it out.", "", - "It uses Windows-style key commands that can be overriden by subclassing.", + "It uses Windows-style key commands that can be overridden by subclassing.", "Mouse select works. Here are the key commands:", "", "Cursor movement: Arrow keys or mouse", diff --git a/wxPython/demo/wxFileHistory.py b/wxPython/demo/wxFileHistory.py index 0da510cf4d..130a9ac827 100644 --- a/wxPython/demo/wxFileHistory.py +++ b/wxPython/demo/wxFileHistory.py @@ -8,7 +8,7 @@ text = """\ Right-click on the panel to get a menu. This menu will be managed by a wxFileHistory object and so the files you select will automatically be added to the end of the menu and will be selectable the next time -the menu is viewed. The filename selcted, either via the Open menu +the menu is viewed. The filename selected, either via the Open menu item, or from the history, will be displayed in the log window below. """ diff --git a/wxPython/demo/wxListCtrl_virtual.py b/wxPython/demo/wxListCtrl_virtual.py index c6af18cf2c..ba64a193c9 100644 --- a/wxPython/demo/wxListCtrl_virtual.py +++ b/wxPython/demo/wxListCtrl_virtual.py @@ -61,7 +61,7 @@ class TestVirtualList(wxListCtrl): # "virtualness" of the list... Normally you would # determine the text, attributes and/or image based # on values from some external data source, but for - # this demo we'll just calcualte them + # this demo we'll just calculate them def OnGetItemText(self, item, col): return "Item %d, column %d" % (item, col) diff --git a/wxPython/demo/wxStyledTextCtrl_1.py b/wxPython/demo/wxStyledTextCtrl_1.py index 03cff8fac9..5f4f5d04d1 100644 --- a/wxPython/demo/wxStyledTextCtrl_1.py +++ b/wxPython/demo/wxStyledTextCtrl_1.py @@ -16,7 +16,7 @@ the name suggests, you can define styles that can be applied to sections of text. This will typically be used for things like syntax highlighting code editors, but I'm sure that there are other applications as well. A style is a combination of font, point size, -forground and background colours. The editor can handle +foreground and background colours. The editor can handle proportional fonts just as easily as monospaced fonts, and various styles can use different sized fonts. @@ -86,7 +86,7 @@ class MySTC(wxStyledTextCtrl): % (evt.GetX(), evt.GetY(), evt.GetPosition(), evt.GetDragResult())) if debug and evt.GetPosition() < 250: - evt.SetDragResult(wxDragNone) # prevent dropping at the begining of the buffer + evt.SetDragResult(wxDragNone) # prevent dropping at the beginning of the buffer def OnDoDrop(self, evt):