diff --git a/CHANGES.rst b/CHANGES.rst index d8161400..e4728000 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -30,7 +30,7 @@ New and improved in this release: * DataViewModel.HasValue can be overridden and will inform the DataViewCtrl whether or not an item and column has data. If HasValue returns False, then GetValue for that item/col will not be called. This allows a distinction - between a truely empty cell, and one that has a value even if it is an empty + between a truly empty cell, and one that has a value even if it is an empty string. (#1600) * Added flag that allows blocking of item dragging in the UltimateListControl @@ -155,7 +155,7 @@ New and improved in this release: * DataViewModel.HasValue can be overridden and will inform the DataViewCtrl whether or not an item and column has data. If HasValue returns False, then GetValue for that item/col will not be called. This allows a distinction - between a truely empty cell, and one that has a value even if it is an empty + between a truly empty cell, and one that has a value even if it is an empty string. (#1600) * Added wrappers for the wx.grid.GridBlockCoords, wx.grid.GridBlocks, and @@ -1049,7 +1049,7 @@ methods related to handling App Events, like open-files or reopen-app, from being handled correctly. NOTE: It appears that wxPython applications on OSX will now always be -getting an initial Apple Event(s) sent to `MacOpenFiles` coresponding to +getting an initial Apple Event(s) sent to `MacOpenFiles` corresponding to the name of the script and args on the python command-line. Added patch #15142 which adds support for building with and using GTK3 @@ -1089,7 +1089,7 @@ Fixed "wxPyHtmlWinTagHandler, no destructor found." error. * 6-Sept-2014 Turned on a workaround for a bug that caused crashes on Windows XP. -This was due to a Micorsoft bug in optimizing access to TLS when a +This was due to a Microsoft bug in optimizing access to TLS when a DLL is dynamically loaded at runtime with LoadLibrary, such as how Python extension modules are loaded. See http://trac.wxwidgets.org/ticket/13116 @@ -1130,7 +1130,7 @@ Printing triggered from a Javascript window.print() statement will now work on OSX when using the old wx.webkit or the new wx.html2 browser controls. -Updated Scintilla code to verison 3.21 +Updated Scintilla code to version 3.21 Lots of fixes and improvements in the wxWidgets code. @@ -1212,7 +1212,7 @@ Fixed several other minor bugs discovered in the last release. * 26-Dec-2011 wx.ListCtrl: Added a static method named HasColumnOrderSupport which -returns a boolen value indicating if the column ordering APIs (see +returns a boolean value indicating if the column ordering APIs (see next item) are implemented for the current platform. Added methods for querying and manipulating the ordering of the @@ -1234,10 +1234,10 @@ implementations. The GTK version requires at least version 1.3.1 of libwebkitgtk-dev, which is the default on most of the recent Linux distributions. Please note that although these new classes and libraries are using names based on "WebView" I have put the wxPython -verison of them in the wx.html2 module because the wxWebKit project +version of them in the wx.html2 module because the wxWebKit project already produces a wx.webview module for wxPython. -The wx.lib.pubsub package has been updated to the latest verison and +The wx.lib.pubsub package has been updated to the latest version and several examples have been added to the samples folder. @@ -1296,7 +1296,7 @@ will be returned, so be sure to check the return values. Using Cairo on Windows is usually faster and seems to be of better quality than using the GDI+ backend. -The wx.GCDC class can now be constructed with an already exisiting +The wx.GCDC class can now be constructed with an already existing wx.GraphicsContext. The wx.lib.softwareupdate module has been added. It implements a @@ -1345,7 +1345,7 @@ other platforms it is a generic implementation using wx.Button. Added wx.lib.itemspicker. This class allows items to be selected from a list by moving them to another list. -Added wx.UIActionSimulator, which is able to programatically generate +Added wx.UIActionSimulator, which is able to programmatically generate platform specific keyboard and mouse events, (with varying degrees of success depending on the platform.) @@ -1373,7 +1373,7 @@ wx.ToggleButtons are now part of the new common button class hierarchy and so they can now have bitmaps instead of or in addition to their text labels. -Udpates from the AGW and Editra projects. +Updates from the AGW and Editra projects. @@ -1404,7 +1404,7 @@ the other.) wx.BitmapButton is pretty much redundant and will likely be phased out sometime in the future. (The OSX Carbon build does not support this new feature, but the Cocoa build does.) -wx.ComboBox: Added Popup and Dismiss methods for programatically +wx.ComboBox: Added Popup and Dismiss methods for programmatically showing and hiding the popup, although they are not implemented for all platforms yet. @@ -1427,7 +1427,7 @@ wx.wizard.Wizard: Add a new EVT_WIZARD_PAGE_SHOWN event. Added wx.InfoBar, which is similar to the message bar used in some web browser windows that is shown above or below the content window to -display messages and/or buttons in a way that doesn't interupt the +display messages and/or buttons in a way that doesn't interrupt the user's workflow like a modal message dialog does, but is much more noticeble than simply putting some text in the status bar. @@ -1440,7 +1440,7 @@ wx.lib.graphics to help maintain compatibility between the two. Added the wx.lib.pdfviewer package which is a contribution from David Hughes. It implements a simple cross-platform PDF viewer widget using -the 3rd party pyPdf package for parseing the PDF file. It's not super +the 3rd party pyPdf package for parsing the PDF file. It's not super fast nor is it feature complete, but for simple and small PDF files (such as those produced by ReportLab) it works well. @@ -1558,7 +1558,7 @@ the items proportions to return to the old behaviour. Added support for toolbar buttons with dropdown menus. -Added support for mouse events from two auxillary mouse buttons. +Added support for mouse events from two auxiliary mouse buttons. The methods that wx.TextCtrl and wx.ComboBox have in common have been factored out into a new base class that they share, wx.TextEntry. @@ -1635,7 +1635,7 @@ Added wx.lib.msgpanel, which provides a class derived from wx.Panel that can look and feel much like a wx.MessageDialog. Added wx.lib.progressindicator which is a simple class with a label -and a guage that can be used to show either specific or indeterminate +and a gauge that can be used to show either specific or indeterminate (pulsed) progress of some sort. It works well in status bars, and can be set to hide itself when not active. @@ -1717,7 +1717,7 @@ wx.FrozenWindow. It will freeze the window passed to it upon entry to the context, and will thaw the window upon exit from the context. Applied the final version of patch #10959 to the PyCrust code. It -adds many enhancements to the Py suite, inlcuding the ability to edit +adds many enhancements to the Py suite, including the ability to edit blocks of code (called slices) as a whole before executing them, and also the ability to execute some simple shell commands. @@ -1733,7 +1733,7 @@ Added Python 2.7 builds for Windows and Mac. Added Debian package builds for Ubuntu 9.10 and 10.4. -Many fixes and enhancements for the wx.lib.agw pacakge, including the +Many fixes and enhancements for the wx.lib.agw package, including the addition of pybusyinfo, ribbon, ultimatelistctrl and zoombar. @@ -1753,7 +1753,7 @@ of label renderers for Grids that work like the cell renderers do. See the demo for a simple sample. Solved the manifests problem with Python 2.6 on Windows. wxPython now -programatically creates its own activation context and loads a +programmatically creates its own activation context and loads a manifest in that context that specifies the use of the themable common controls on Windows XP and beyond. This also means that the external manifest files are no longer needed for the other versions of Python. @@ -1777,7 +1777,7 @@ http://wxpython.org/cairo/ ------- * 16-Feb-2009 -Added the wx.lib.agw package, which contiains most of the widgets from +Added the wx.lib.agw package, which contains most of the widgets from http://xoomer.alice.it/infinity77/main/freeware.html written by Andrea Gavana. Andrea's widgets that were already in wx.lib were also moved to the wx.lib.agw package, with a small stub module left in wx.lib. @@ -1791,7 +1791,7 @@ uses a wx.BitmapButton instead of a normal wx.Button. This makes the color picker look and behave lots better on Mac than before. You can now pass the handler function to the Unbind method. If it is -given then Unbind will only disconenct the event handler that uses the +given then Unbind will only disconnect the event handler that uses the same handler function, so if there are multiple bindings for the same event type you'll now be able to selectively unbind specific instances. @@ -1878,7 +1878,7 @@ Make it easier to replace the check box images used in the CheckListCtrlMixin class. Fixed bug in wx.ScrolledWindow when child focus events caused -unneccessary or incorrect scrolling. +unnecessary or incorrect scrolling. Fixed a bug in wx.GridBagSizer where hidden items were not ignored in part of the layout algorithm. @@ -2021,7 +2021,7 @@ Leopard. wxMac: Fixed assertion errors dealing with toolbars on Leopard. wxMac: Multiline textcontrols now support attributes for margins and -alignement; only a single tab distance can be set though. +alignment; only a single tab distance can be set though. Added the wx.Image.AdjustChannels method. This function muliplies all 4 channels (red, green, blue, alpha) with a factor (around @@ -2075,7 +2075,7 @@ wxGTK: Add wx.Window.GetGtkWidget. All: Undprecated wx.ListCtrl.[G|S]etItemSpacing -All: Fixed wx.Palette constructor wrapper. It takes three seqences of +All: Fixed wx.Palette constructor wrapper. It takes three sequences of integers to specify the R, G, and B values for each color in the palette, which must all be the same length and which must contain integer values in the range of 0..255 inclusive. @@ -2228,7 +2228,7 @@ existed. wx.aui.PyAuiDocArt and wx.aui.PyAuiTabArt can now be derived from in wxPython and plugged in to wx.AUI. -XRCed has a new experimental feature to add controls by draging icons +XRCed has a new experimental feature to add controls by dragging icons from the tool palette to the test window. Mouse position is tracked to highlight the future parent of the new item. @@ -2283,7 +2283,7 @@ Add wx.lib.mixins.treemixin from Frank Niessink. Added the wx.SizerFlags class, and also added AddF, InsertF and PrependF methods to wx.Sizer. The wxSizerFlags class provides a -convienient and easier to read way to add items to a sizer. It was +convenient and easier to read way to add items to a sizer. It was added as a new set of methods of the wx.Sizer class so as to not disturb existing code. For example, instead of writing:: @@ -2337,7 +2337,7 @@ Lots of changes to XRCed from Roman Rolinsky: is a special comment starting with '%' character, followed by a line of python code. It is executed using 'exec' when the resource file is opened. This is useful to import plugin modules containing custom - handlers which are specific to the resource file, hovewer this is of + handlers which are specific to the resource file, however this is of course a security hole if you use foreign XRC files. A warning is displayed if the preference option 'ask' is selected (by default). @@ -2376,7 +2376,7 @@ use, for example, wx.EVT_BUTTON.typeId instead of wx.wxEVT_COMMAND_BUTTON_CLICKED. Note that there are a few composite events, such as EVT_MOUSE and EVT_SCROLL, that will actually bind multiple event types at once, and in these cases the typeId property -may not give you what you want. You should use te component events in +may not give you what you want. You should use the component events in these cases. PyCrust now has an option for showing/hiding the notebook. @@ -2451,7 +2451,7 @@ classes. These classes allow you to implement a wx.ComboBox-like widget where the popup can be nearly any kind of widget, and where you have a lot of control over other aspects of the combo widget as well. It works very well on GTK and MSW, using native renderers for drawing -the combo button, but is unfortunatly still a bit klunky on OSX... +the combo button, but is unfortunately still a bit klunky on OSX... Use system default paper size for printing instead of A4 by default. @@ -2565,8 +2565,8 @@ Fixed name errors in the old wxPython package namespace. As a reminder, use of this package is deprecated and you are encouraged to switch your programs over to the wx package. -Fixed wx.glcanvas.GLCanvas.SetCurrent to be compatible with prevoius -versons. +Fixed wx.glcanvas.GLCanvas.SetCurrent to be compatible with previous +versions. Added wx.StandardPaths.GetTmpDir. @@ -2730,7 +2730,7 @@ Added GetResourcesDir and GetLocalizedResourcesDir to wx.StandardPaths. Added a GetReceivedFormat method to wx.DataObjectComposite. You can -use this to find out what format of data object was recieved from the +use this to find out what format of data object was received from the source of the clipboard or DnD operation, and then you'll know which of the component data objects to use to access the data. @@ -2845,7 +2845,7 @@ what-not will still use the emulated toolbar because of platform restrictions in how/where the native toolbar can be used. Added Python properties for many of the getter/setter methods of wx -classes. In order for the names to be predicatble for somebody +classes. In order for the names to be predictable for somebody already familiar with wxPython the property names are simply the name of the getter with the "Get" dropped. For example, wx.Window has a property named "Size" that maps to GetSize and SetSize. So far there @@ -2922,7 +2922,7 @@ The first parts of a new 2D drawing API has been added with the wx.GraphicsPath and wx.GraphicsContext classes. They wrap GDI+ on Windows, Cairo on wxGTK and CoreGraphics on OS X. They allow path-based drawing with alpha-blending and anti-aliasing, and use a floating -point cooridnate system. Currently they can only target drawing to +point coordinate system. Currently they can only target drawing to windows, but other wx.DC backends are forthcoming. The APIs may evolve a bit more before they are finalaized with the 2.8 release, but there is enough there now to get a good feel for how things will work. @@ -3078,7 +3078,7 @@ wxGTK: Fix RequestMore for idle events. wxGTK: Implement user dashes for PS and GNOME printing. wxGTK: Correct update region code. Don't always invalidate the whole -window upon resize. Reenable support for thewx.NO_FULL_REPAINT_ON_RESIZE +window upon resize. Re-enable support for thewx.NO_FULL_REPAINT_ON_RESIZE flag. Also disable refreshing custom controls when focusing in and out. wx.lib.pubsub: Publisher is now able to parse a dotted notation string @@ -3222,7 +3222,7 @@ workaround a bug in MSLU! wxMSW: wx.lib.iewin.IEHtmlWindow now properly handles tabbing, return and other special keys properly. -Lots of PyCrust enhancments started by Franz Steinaeusler, Adi Sieker, +Lots of PyCrust enhancements started by Franz Steinaeusler, Adi Sieker, and Sebastian Haase, and which in turn were further enhanced, fixed tweaked and finished up by me. The changes include the following: @@ -3710,7 +3710,7 @@ Some XRC changes: wxMSW: fix for [ 1052989 ] TextCtrl.SetBackgroundColour(wx.NullColour) bug. -Added wx.PasswordEntryDialog analagous to wx.TextEntryDialog, allows +Added wx.PasswordEntryDialog analogous to wx.TextEntryDialog, allows detecting entering an empty string vs. cancel unlike the wx.GetPasswordFromUser dialog function. @@ -3734,7 +3734,7 @@ OGL patch from Shane Holloway: Causes many problems when it's not. ;) Fixed GetSaveData and SetSaveData in wx.lib.multisash to not depend on -the default way that class objectss are converted to strings. +the default way that class objects are converted to strings. Fixed problem in StyledTextCtrl.Set[HV]ScrollBar that could leave the internal scrollbar visible. @@ -3790,7 +3790,7 @@ reference to the timer and then del the reference when you are finished with the timer. Updated to 1.3.24 of SWIG. All of my big patches have been applied to -the main SWIG source tree, but unfortunatly there were also some bugs +the main SWIG source tree, but unfortunately there were also some bugs added that affected the wxPython build and a few details in my original patch were changed/removed, so we are still not free of patches. A new patch for SWIG is located in the wxPython/SWIG @@ -3845,7 +3845,7 @@ lots of surplus events) wxGTK: Applied patch for proper menu highlight colour detection in wx.SystemSettings. -wxGTK: Commited scrollbar patch #1093339 which sends lineup, linedown +wxGTK: Committed scrollbar patch #1093339 which sends lineup, linedown events based on intercepting the mouse down events. wxGTK: Applied patch #1102789 which solved conflicts between wxWidgets @@ -4018,7 +4018,7 @@ in the source tree if you need to use SWIG when building your own copy of wxPython, or other extension modules that need to integrate with the wxPython modules. -Added wx.Frame.RequestUserAttention which, if the platform suports it, +Added wx.Frame.RequestUserAttention which, if the platform supports it, will do something (such as flash the task bar item) to suggest to the user that they should look at that window. @@ -4044,7 +4044,7 @@ wxMSW: added AssociateHandle and DissociateHandle to wx.Window wxMac: fix for toolbar tooltips wx.Sizer.Show (and Hide) now take an optional parameter specifying if -the item to be shown should be searched for recursivly in subsizers, +the item to be shown should be searched for recursively in subsizers, and return a boolean value indicating if the item was found. wxMSW: fixed MaximizeEvent generation in wx.Frame @@ -4093,7 +4093,7 @@ merged with the normal dock popup menu. See the MigrationGuide for more details and a warning. Added wx.TopLevelWindow.IsActive() which tells you if the frame or -dialog is or containts the active window with the keyboard focus. +dialog is or contains the active window with the keyboard focus. Added ability to create a font based on pixel size rather than point size via the FontFromPixelSize constructor. @@ -4223,7 +4223,7 @@ now locaed in their own sub-package, wx.lib.masked. Demos updated. The changes that implemented the incompatible wx.DC methods in 2.5.1.5 have been reverted. The wx.DC methods are now compatible with the 2.4 -implemetation. In addition a set of renamed methods have been added +implementation. In addition a set of renamed methods have been added that take wx.Point and/or wx.Size objects instead of individual parameters. @@ -4247,7 +4247,7 @@ wx.InitAllImageHandlers is now an empty function that does nothing but exist for backwards compatibility. The C++ version is now called automatically when wxPython is initialized. Since all the handlers are included in the wxWidgets shared library anyway, this imposes only -a very small amount of overhead and removes several unneccessary +a very small amount of overhead and removes several unnecessary problems. Replaced wx/lib/pubsub.py with a version that uses weak references to @@ -4359,9 +4359,9 @@ from wxBookCtrl. Added Gordon Williams' PyPlot module to the library, available as the wx.lib.plot module. -I made a small but important change in the code that aquires the +I made a small but important change in the code that acquires the Python Global Interpreter Lock to try and prevent deadlocks that can -happen when there are nested attempts to aquire the GIL. +happen when there are nested attempts to acquire the GIL. The RPMs will now install menu items on Mandrake Linux in Applications/Development/Tools for PyCrust, XRCed, etc. The RPMs are @@ -4442,7 +4442,7 @@ Floats are allowed again as function parameters where ints are expected. ------- * 1-Oct-2003 -Use wxSTC in the demo for displaying the soucre code of the samples. +Use wxSTC in the demo for displaying the source code of the samples. Lots of bug fixes and such from the wxWindows folks. @@ -4487,7 +4487,7 @@ worked out how to do proper clipping of child windows on wxGTK. Patrick O'Brien's PyCrust package has been renamed to Py and now includes several new tools. As part of the change the location of the -pacakge has changed as well, it is now accessible as "from wxPython +package has changed as well, it is now accessible as "from wxPython import py" (or "from wx import py" using the new namespace.) There are still some transition modules in the wxPython.lib.PyCrust package that will issue a warning and then import what is needed from the new @@ -4731,7 +4731,7 @@ You can now overload OnInitGui, OnExit and OnAssert in your classes derived from wxApp. Added GetSelectedCells, GetSelectionBlockTopLeft, -GetSelectionBlockBottomRight, GetSelectedRows, GetSelectedCols nethods +GetSelectionBlockBottomRight, GetSelectedRows, GetSelectedCols methods to wxGrid. Added Python == and != operators for some basic classes @@ -4753,7 +4753,7 @@ Added wxPython.lib.evtmgr by Robb Shecter, which is an easier, more events using the Publish/Subscribe pattern. Added wxPython.lib.popupctl by Gerrit van Dyk which is a combobox-like -gizmo for poping up arbitrary controls. It is currently using +gizmo for popping up arbitrary controls. It is currently using wxDialog because of some issues with wxPopupWindow... Added wxPython.lib.gridmovers by Gerrit van Dyk which facilitates the @@ -5326,7 +5326,7 @@ Added wxInputStream and the wxFileSystem family of classes, contributed by Joerg Baumann. Added wxProcess and support for it to wxExecute. wxProcess lets you -get notified when an asyncronous child process terminates, and also to +get notified when an asynchronous child process terminates, and also to get input/output streams for the child process's stdout, stderr and stdin. @@ -5450,7 +5450,7 @@ on the fly that derives from wxWindow, the COM CoClass and others needed to make it all work. The resulting class can be instantiated just like wxWindow, used in sizers, etc. It also responds to all COM method calls, properties, etc., and if the class or a mix-in has -matching method names, then the COM events will be propogated back to +matching method names, then the COM events will be propagated back to them. Created a typemap that allows a string to be used for parameters @@ -5463,7 +5463,7 @@ wxStyledTextCtrl is finally in wxPython!! (And the crowd goes wild...) There's no documentaTion yet (the crowd boos and hisses...) but I've included a very readable source file in the wxPython/demo/data directory, a couple fairly good examples, and you -can also refer to the Scintilla documentaion at +can also refer to the Scintilla documentation at http://www.scintilla.org/ScintillaDoc.html to help fill in the gaps until the docs are done. (The croud murmers contentedly as the tool provider smiles convincingly and removes his flame-proof suit.) @@ -5563,7 +5563,7 @@ What's new in 2.1.11 * 13-Nov-1999 Skipped a few version numbers so wxMSW, wxGTK and wxPython are all -syncronized. +synchronized. wxImage.SetData now makes a copy of the image data before giving it to wxImage. I mistakenly thought that wxImage would copy the data @@ -5627,7 +5627,7 @@ What's new in 2.1.4 ------------------- * 7-Oct-1999 -This release is NOT syncronized with a snapshot release of wxGTK or +This release is NOT synchronized with a snapshot release of wxGTK or wxMSW. For MSW this isn't much of a problem since you can get the binaries from the web site. For other platforms you'll have to build wxGTK from CVS. (See http://web.ukonline.co.uk/julian.smart/wxwin/cvs.htm) @@ -5686,7 +5686,7 @@ Added wxPyEvent and wxPyCommandEvent classes, derived from wxEvent and wxCommandEvent. Each of them has SetPyData and GetPyData methods that accept or return a single Python object. You can use these classes directly or derive from them to create your own types of event objects -that can pass through the wxWindows event system without loosing their +that can pass through the wxWindows event system without losing their Python parts (as long as they are stored with SetPyData.) Stay tuned for more info and examples in future releases. @@ -5744,7 +5744,7 @@ Added wxCaret. Unfortunately it's author has still not documented it in the wxWindows docs... Some new 3rd party contributions in wxPython.lib. PyShell, in -shell.py is an interesting implementaion of an interactive Python +shell.py is an interesting implementation of an interactive Python shell in wxWindows. floatbar.py has a class derived from wxToolBar that can sense mouse drags and then reparent itself into another frame. Moving the new frame close to where it came from puts the tool @@ -5759,7 +5759,7 @@ What's new in 2.1b3 -------------------- * 1-Sep-1999 -This release is syncronized with release 2.1 snapshot 9 of wxWindows. +This release is synchronized with release 2.1 snapshot 9 of wxWindows. Switched to using SWIG from CVS (see http://swig.cs.uchicago.edu/cvs.html) for some of the new features and such. Also they have encorporated my @@ -5819,7 +5819,7 @@ wxWindow.PopupMenuXY to be consistent with some other methods. Added wxGrid.SetEditInPlace and wxGrid.GetEditInPlace. You can now provide your own app.MainLoop method. See -wxPython/demo/demoMainLoop.py for an example and some explaination. +wxPython/demo/demoMainLoop.py for an example and some explanation. Got the in-place-edit for the wxTreeCtrl fixed and added some demo code to show how to use it. @@ -5880,7 +5880,7 @@ Fixed a bug with attaching objects to tree items. Actually was a symptom of a larger problem with not obtaining the interpreter lock when doing any Py_DECREFs. -wxSizer and friends. Sizers are layout tools that manage a colection +wxSizer and friends. Sizers are layout tools that manage a collection of windows and sizers. Different types of sizers apply different types of layout algorithms. You saw it here first! These classes are not even in the wxWindows C++ library yet! @@ -5893,7 +5893,7 @@ What's new in 2.0b9 Bug fix for ListCtrl in test4.py (Was a missing file... DSM!) -Bug fix for occassional GPF on Win32 systems upon termination of a +Bug fix for occasional GPF on Win32 systems upon termination of a wxPython application. Added wxListBox.GetSelections returning selections as a Tuple. @@ -5940,7 +5940,7 @@ What's new in 2.0b7 ------------------- * 15-Mar-1999 -Added DLG_PNT and DLG_SZE convienience methods to wxWindow class. +Added DLG_PNT and DLG_SZE convenience methods to wxWindow class. Added missing constructor and other methods for wxMenuItem. diff --git a/build.py b/build.py index 87b1b765..aa2f2e18 100755 --- a/build.py +++ b/build.py @@ -1446,7 +1446,7 @@ def cmd_build_wx(options, args): build_options.append('--gtk3') # Change to what will be the wxWidgets build folder - # (Note, this needs to be after any testing for file/path existance, etc. + # (Note, this needs to be after any testing for file/path existence, etc. # because they may be specified as relative paths.) pwd = pushDir(BUILD_DIR) @@ -1699,7 +1699,7 @@ def cmd_build_docker(options, args): def cmd_build_others(options, args): - # Build other stuff that may have their own seprarate build commands instead + # Build other stuff that may have their own separate build commands instead # of the (ab)normal etg/tweak/generate/sip/compile sequence that the rest of # wxPython uses. So far, it's just the wx.svg package cmdTimer = CommandTimer('build_others') 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 = """

wx.CollapsiblePane

-A collapsable panel is a container with an embedded button-like +A collapsible panel is a container with an embedded button-like control which can be used by the user to collapse or expand the pane's contents. diff --git a/demo/ColourDB.py b/demo/ColourDB.py index d3802b21..5f779d2a 100644 --- a/demo/ColourDB.py +++ b/demo/ColourDB.py @@ -29,7 +29,7 @@ class TestWindow(wx.ScrolledWindow): # Using GetFullTextExtent(), we calculate a basic 'building block' # that will be used to draw a depiction of the color list. We're - # using 'Wy' as the model becuase 'W' is a wide character and 'y' + # using 'Wy' as the model because 'W' is a wide character and 'y' # has a descender. This constitutes a 'worst case' scenario, which means # that no matter what we draw later, text-wise, we'll have room for it w,h,d,e = dc.GetFullTextExtent("Wy") diff --git a/demo/ComboCtrl.py b/demo/ComboCtrl.py index 23074c98..63bca63c 100644 --- a/demo/ComboCtrl.py +++ b/demo/ComboCtrl.py @@ -8,7 +8,7 @@ import os #---------------------------------------------------------------------- # This class is used to provide an interface between a ComboCtrl and the -# ListCtrl that is used as the popoup for the combo widget. +# ListCtrl that is used as the popup for the combo widget. class ListCtrlComboPopup(wx.ComboPopup): diff --git a/demo/Cursor.py b/demo/Cursor.py index 9e18d55c..fdbd88ee 100644 --- a/demo/Cursor.py +++ b/demo/Cursor.py @@ -246,7 +246,7 @@ NOTE: not all stock cursors have a specific representation on all platforms. self.SetSizer(vbSizer) - wx.CallAfter(self.cb.SetFocus) # Convienience start for mousewheel switching. + wx.CallAfter(self.cb.SetFocus) # Convenience start for mousewheel switching. def OnChooseCursor(self, evt): # Clear the dots. diff --git a/demo/CustomDragAndDrop.py b/demo/CustomDragAndDrop.py index 74324a5f..7759b77a 100644 --- a/demo/CustomDragAndDrop.py +++ b/demo/CustomDragAndDrop.py @@ -337,8 +337,8 @@ if __name__ == '__main__': overview = """ This demo shows Drag and Drop using a custom data type and a custom data object. A type called "DoodleLines" is created and a Python -Pickle of a list is actually transfered in the drag and drop -opperation. +Pickle of a list is actually transferred in the drag and drop +operation. A second data object is also created containing a bitmap of the image and is made available to any drop target that accepts bitmaps, such as diff --git a/demo/DVC_DataViewModel.py b/demo/DVC_DataViewModel.py index 59909851..a5406b87 100644 --- a/demo/DVC_DataViewModel.py +++ b/demo/DVC_DataViewModel.py @@ -102,7 +102,7 @@ class MyTreeListModel(dv.PyDataViewModel): # item(s) should be reported as children of this node. A List view # simply provides all items as children of this hidden root. A Tree # view adds additional items as children of the other items, as needed, - # to provide the tree hierachy. + # to provide the tree hierarchy. ##self.log.write("GetChildren\n") # If the parent item is invalid then it represents the hidden root diff --git a/demo/ExpandoTextCtrl.py b/demo/ExpandoTextCtrl.py index d6dc8b37..dad42816 100644 --- a/demo/ExpandoTextCtrl.py +++ b/demo/ExpandoTextCtrl.py @@ -145,7 +145,7 @@ overview = """

ExpandoTextCtrl

The ExpandoTextCtrl is a multi-line wx.TextCtrl that will -adjust its height on the fly as needed to accomodate the number of +adjust its height on the fly as needed to accommodate the number of lines needed to display the current content of the control. It is assumed that the width of the control will be a fixed value and that only the height will be adjusted automatically. If the diff --git a/demo/FileDialog.py b/demo/FileDialog.py index fa4e82e0..3170fa1f 100644 --- a/demo/FileDialog.py +++ b/demo/FileDialog.py @@ -31,7 +31,7 @@ class TestPanel(wx.Panel): self.log.WriteText("CWD: %s\n" % os.getcwd()) # Create the dialog. In this case the current directory is forced as the starting - # directory for the dialog, and no default file name is forced. This can easilly + # directory for the dialog, and no default file name is forced. This can easily # be changed in your program. This is an 'open' dialog, and allows multitple # file selections as well. # @@ -70,7 +70,7 @@ class TestPanel(wx.Panel): self.log.WriteText("CWD: %s\n" % os.getcwd()) # Create the dialog. In this case the current directory is forced as the starting - # directory for the dialog, and no default file name is forced. This can easilly + # directory for the dialog, and no default file name is forced. This can easily # be changed in your program. This is an 'save' dialog. # # Unlike the 'open dialog' example found elsewhere, this example does NOT diff --git a/demo/FloatCanvas.py b/demo/FloatCanvas.py index be7e9d30..48d971cf 100644 --- a/demo/FloatCanvas.py +++ b/demo/FloatCanvas.py @@ -1560,7 +1560,7 @@ def BuildDrawFrame(): # this gets called when needed, rather than on import Arrow.HitLineWidth = 6 Arrow.Bind(FloatCanvas.EVT_FC_LEFT_DOWN, self.ArrowClicked) - Canvas.AddText("Changable Arrow: try clicking it", (16,4), Position = "tc") + Canvas.AddText("Changeable Arrow: try clicking it", (16,4), Position = "tc") self.RotArrow = Canvas.AddArrow((16,4), 80, Direction = 0 ,LineWidth = 3, LineColor = "Green", ArrowHeadAngle = 30) self.RotArrow.HitLineWidth = 6 self.RotArrow.Bind(FloatCanvas.EVT_FC_LEFT_DOWN, self.RotateArrow) @@ -1892,7 +1892,7 @@ if __name__ == "__main__": else: # It's not running stand-alone, set up for wxPython demo. - # don't neeed wxversion here. + # don't need wxversion here. import wx if not haveNumpy: ## TestPanel and runTest used for integration into wxPython Demo diff --git a/demo/Gauge.py b/demo/Gauge.py index c567bcf1..2e04933f 100644 --- a/demo/Gauge.py +++ b/demo/Gauge.py @@ -55,7 +55,7 @@ When the Gauge is initialized, its "complete" value is usually set; at any rate, before using the Gauge, the maximum value of the control must be set. As the task progresses, the Gauge is updated by the program via the 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.

Data types

@@ -1055,7 +1055,7 @@ versus a four-way hat. The wx.adv.Joystick control is in many ways incomplete at the C++ library level, but it is not insurmountable. In short, while the joystick interface can be event-driven, the wx.JoystickEvent class lacks event binders for all event types. Thus, you cannot -rely on wx.JoystickEvents to tell you when something has changed, necessarilly. +rely on wx.JoystickEvents to tell you when something has changed, necessarily.