diff --git a/demo/ActivityIndicator.py b/demo/ActivityIndicator.py index 54635087..6e800262 100644 --- a/demo/ActivityIndicator.py +++ b/demo/ActivityIndicator.py @@ -23,7 +23,7 @@ class TestPanel(wx.Panel): sizer.Add(startBtn, wx.SizerFlags().Border(wx.LEFT, 40)) sizer.Add(stopBtn, wx.SizerFlags().Border(wx.LEFT, 10)) - # Put it all in an outter box with a border + # Put it all in an outer box with a border box = wx.BoxSizer() box.Add(sizer, wx.SizerFlags(1).Border(wx.ALL, 30)) self.SetSizer(box) diff --git a/demo/AnimationCtrl.py b/demo/AnimationCtrl.py index 72b4c017..1886d5b0 100644 --- a/demo/AnimationCtrl.py +++ b/demo/AnimationCtrl.py @@ -32,7 +32,7 @@ class TestPanel(wx.Panel): sizer = wx.FlexGridSizer(cols=3, hgap=5, vgap=5) for name in GIFNames: - # There are a few usage pattens for creating the control and the + # There are a few usage patterns for creating the control and the # animation object. They're more-or-less equivalent, but if you have # non-standard needs in your application then one pattern may make # more sense for you to use. diff --git a/demo/CollapsibleHeaderCtrl.py b/demo/CollapsibleHeaderCtrl.py index 151b2d19..98257b86 100644 --- a/demo/CollapsibleHeaderCtrl.py +++ b/demo/CollapsibleHeaderCtrl.py @@ -22,7 +22,7 @@ class TestPanel(wx.Panel): sizer.Add(setBtn, wx.SizerFlags().Border(wx.LEFT, 40)) sizer.Add(unsetBtn, wx.SizerFlags().Border(wx.LEFT, 10)) - # Put it all in an outter box with a border + # Put it all in an outer box with a border box = wx.BoxSizer() box.Add(sizer, wx.SizerFlags(1).Border(wx.ALL, 30)) self.SetSizer(box) diff --git a/demo/CollapsiblePane.py b/demo/CollapsiblePane.py index 68ec6f2e..fae12ee7 100644 --- a/demo/CollapsiblePane.py +++ b/demo/CollapsiblePane.py @@ -110,7 +110,7 @@ def runTest(frame, nb, log): overview = """
SetValue method.
-This control is for use within a GUI; there is a seperate ProgressDialog class
+This control is for use within a GUI; there is a separate ProgressDialog class
to present the same sort of control as a dialog to the user.
"""
diff --git a/demo/GenericButtons.py b/demo/GenericButtons.py
index 96dae9bf..86668df9 100644
--- a/demo/GenericButtons.py
+++ b/demo/GenericButtons.py
@@ -38,7 +38,7 @@ class TestPanel(wx.Panel):
b.Enable(False)
sizer.Add(b)
- # This time, we let the botton be as big as it can be.
+ # This time, we let the button be as big as it can be.
# Also, this one is fancier, with custom colors and bezel size.
b = buttons.GenButton(self, -1, 'bigger')
self.Bind(wx.EVT_BUTTON, self.OnBiggerButton, b)
@@ -65,7 +65,7 @@ class TestPanel(wx.Panel):
b.Enable(False)
# An image button, using a mask to get rid of the
- # undesireable part of the image
+ # undesirable part of the image
b = buttons.GenBitmapButton(self, -1, None)
self.Bind(wx.EVT_BUTTON, self.OnButton, b)
bmp = images.Bulb1.GetBitmap()
diff --git a/demo/Grid.py b/demo/Grid.py
index 0eb2a48d..2d896486 100644
--- a/demo/Grid.py
+++ b/demo/Grid.py
@@ -11,7 +11,7 @@ buttonDefs = {
817 : ('GridCustTable', ' wx.Grid using a custom Table, with non-string data '),
819 : ('GridEnterHandler',' Remapping keys to behave differently '),
820 : ('GridCustEditor', ' Shows how to create a custom Cell Editor '),
- 821 : ('GridDragable', ' A wx.Grid with dragable rows and columns '),
+ 821 : ('GridDragable', ' A wx.Grid with draggable rows and columns '),
822 : ('GridDragAndDrop', ' Shows how to make a grid a drop target for files'),
}
diff --git a/demo/I18N.py b/demo/I18N.py
index 456b7d33..9c6f5c2c 100644
--- a/demo/I18N.py
+++ b/demo/I18N.py
@@ -10,7 +10,7 @@ from Main import opj
# Normally you would just set _ to be a reference to the
# wx.GetTranslation function, and then wrap all you literal strings in
-# _() function calls. Then everytime you use one of your literals, it
+# _() function calls. Then every time you use one of your literals, it
# would first pass through the translation function and try to load a
# translated version of the string from the current message catalogs.
# For this example, since we are changinb language on the fly, and
diff --git a/demo/Joystick.py b/demo/Joystick.py
index 2c3758b5..9cfef5d8 100644
--- a/demo/Joystick.py
+++ b/demo/Joystick.py
@@ -77,7 +77,7 @@ class JoyGauge(wx.Panel):
dc = wx.BufferedPaintDC(self, self.buffer)
def DrawJoystick(self, dc):
- # draw the guage as a maxed square in the center of this window.
+ # draw the gauge as a maxed square in the center of this window.
w, h = self.GetClientSize()
edgeSize = min(w, h)
@@ -176,7 +176,7 @@ class JoyPanel(wx.Panel):
class POVGauge(wx.Panel):
#
- # Display the current postion of the POV control
+ # Display the current position of the POV control
#
def __init__(self, parent, stick):
@@ -219,7 +219,7 @@ class POVGauge(wx.Panel):
dc = wx.BufferedPaintDC(self, self.buffer)
def DrawPOV(self, dc):
- # draw the guage as a maxed circle in the center of this window.
+ # draw the gauge as a maxed circle in the center of this window.
w, h = self.GetClientSize()
diameter = min(w, h)
@@ -608,7 +608,7 @@ class InfoPanel(wx.Panel):
class AxisBar(wx.Gauge):
#
# This class allows us to use a wx.Gauge to display the axis value
- # with a fancy label overlayed onto the guage itself. Two values are
+ # with a fancy label overlaid onto the gauge itself. Two values are
# used to do things: first of all, since the gauge is limited to
# positive numbers, the scale is fixed at 0 to 1000. We will receive
# an adjusted value to use to render the gauge itself. The other value
@@ -837,7 +837,7 @@ class AxisPanel(wx.Panel):
self.stick = stick
# Defines labels and 'tokens' to identify each
- # supporte axis.
+ # supported axis.
axesList = [
('X Axis ', 'X'), ('Y Axis ', 'Y'),
('Z Axis ', 'Z'), ('Rudder ', 'Rudder'),
@@ -997,7 +997,7 @@ you can get from the wx.adv.Joystick control.
Getting data from the joystick can be event-driven thanks to four event types associated -with wx.JoystickEvent, or the joystick can be polled programatically to get data on +with wx.JoystickEvent, or the joystick can be polled programmatically to get data on a regular basis.
A mixin class that handles sorting of a wxListCtrl in REPORT mode when the column
header is clicked on.
- There are a few requirments needed in order for this to work genericly:
+ There are a few requirements needed in order for this to work genericly:
This demo launches a simple python script that echos back on stdout
lines that it reads from stdin. You can send text to the echo
-process' stdin by typing in the lower textctrl and clicking Send.
+process's stdin by typing in the lower textctrl and clicking Send.
Clicking the Close Stream button will close the demo's end of the
diff --git a/demo/PropertyGrid.py b/demo/PropertyGrid.py
index 3d9265e4..7c25849c 100644
--- a/demo/PropertyGrid.py
+++ b/demo/PropertyGrid.py
@@ -593,7 +593,7 @@ class LargeImageEditor(wxpg.PGEditor):
def GetValueFromControl(self, property, ctrl):
""" Return tuple (wasSuccess, newValue), where wasSuccess is True if
- different value was acquired succesfully.
+ different value was acquired successfully.
"""
textVal = self.tc.GetValue()
diff --git a/demo/RawBitmapAccess.py b/demo/RawBitmapAccess.py
index dc168bd0..59c03e85 100644
--- a/demo/RawBitmapAccess.py
+++ b/demo/RawBitmapAccess.py
@@ -175,7 +175,7 @@ wx.NativePixelData and wx.AlphaPixelData provide a cross-platform way
to access the platform-specific pixel buffer within a wx.Bitmap. They
provide both a random access method, and an iterator interface.
- Unfortunately, although these classes are convienient ways to access
+ Unfortunately, although these classes are convenient ways to access
and update the contents of a wx.Bitmap, we lose most of the efficiency
of the C++ classes by requiring one or more Python-to-C++ transitions
for each pixel. In fact it can be much slower than the other
diff --git a/demo/RendererNative.py b/demo/RendererNative.py
index 55ce4a5f..cd68c521 100644
--- a/demo/RendererNative.py
+++ b/demo/RendererNative.py
@@ -142,7 +142,7 @@ overview = """ wx.RendererNative is a class which virtualizes drawing. It abstracts the
operations of drawing controls and allows you to draw say, a button, without
-caring about exactly how it is done, in a native and platform independant way.
+caring about exactly how it is done, in a native and platform independent way.
All drawing functions take some standard parameters:
diff --git a/demo/ScrolledPanel.py b/demo/ScrolledPanel.py
index 9b8a5910..c3f30af2 100644
--- a/demo/ScrolledPanel.py
+++ b/demo/ScrolledPanel.py
@@ -113,7 +113,7 @@ def runTest(frame, nb, log):
overview = """LEDNumberCtrl( parent, id=-1, pos=wx.DefaultPosition,
diff --git a/demo/ListCtrl.py b/demo/ListCtrl.py
index f2983d49..176ac001 100644
--- a/demo/ListCtrl.py
+++ b/demo/ListCtrl.py
@@ -420,7 +420,7 @@ This example demonstrates how to use mixins. The following mixins are available.
GetListCtrl method that returns
the ListCtrl to be sorted, and the list control must exist at the time the
diff --git a/demo/Main.py b/demo/Main.py
index 3b513506..a3a4ec9d 100644
--- a/demo/Main.py
+++ b/demo/Main.py
@@ -526,7 +526,7 @@ try:
def SetUpEditor(self):
"""
This method carries out the work of setting up the demo editor.
- It's seperate so as not to clutter up the init code.
+ It's separate so as not to clutter up the init code.
"""
import keyword
@@ -1374,7 +1374,7 @@ class DemoTaskBarIcon(TaskBarIcon):
img = img.Scale(16, 16)
elif "wxGTK" in wx.PlatformInfo:
img = img.Scale(22, 22)
- # wxMac can be any size upto 128x128, so leave the source img alone....
+ # wxMac can be any size up to 128x128, so leave the source img alone....
icon = wx.Icon(img.ConvertToBitmap())
return icon
@@ -2684,7 +2684,7 @@ class MyApp(wx.App, wx.lib.mixins.inspection.InspectionMixin):
self.InitInspection() # for the InspectionMixin base class
- # Now that we've warned the user about possibile problems,
+ # Now that we've warned the user about possible problems,
# lets import images
import images as i
global images
diff --git a/demo/MediaCtrl.py b/demo/MediaCtrl.py
index 3eb164a0..ff88c1db 100644
--- a/demo/MediaCtrl.py
+++ b/demo/MediaCtrl.py
@@ -166,7 +166,7 @@ def runTest(frame, nb, log):
overview = """
-wx.MediaCtrl is a class that allows a way to convieniently display
+wx.MediaCtrl is a class that allows a way to conveniently display
various types of media, such as videos, audio files, natively through
native codecs. Several different formats of audio and video files are
supported, but some formats may not be playable on all platforms or
diff --git a/demo/PlateButton.py b/demo/PlateButton.py
index 589a7256..c80dfc05 100644
--- a/demo/PlateButton.py
+++ b/demo/PlateButton.py
@@ -129,7 +129,7 @@ class TestPanel(scrolled.ScrolledPanel):
# set when the background is not a solid color. On wxMac
# it is a no-op as this type of transparency is achieved
# without any help needed. On wxGtk it doesn't hurt to
- # set but also unfortunatly doesn't help at all.
+ # set but also unfortunately doesn't help at all.
bstyle = btn[2] | platebtn.PB_STYLE_NOBG
else:
bstyle = btn[2]
diff --git a/demo/Process.py b/demo/Process.py
index 3241f839..aa93c1d8 100644
--- a/demo/Process.py
+++ b/demo/Process.py
@@ -144,14 +144,14 @@ overview = """\
wx.Process
-wx.Process lets you get notified when an asyncronous child process
+wx.Process lets you get notified when an asynchronous child process
started by wxExecute terminates, and also to get input/output streams
for the child process's stdout, stderr and stdin.