From c66cd08ab73f5cabafd533e87650234422f4415c Mon Sep 17 00:00:00 2001
From: Robin Dunn
If you want to make changes to any of the *.i files, (SWIG +
If you want to make changes to any of the *.i files, (SWIG interface definition files,) or to regenerate the extension sources or renamer modules, then you will need an up to date version of SWIG, plus some patches. Get the sources for version 1.3.24, and then apply @@ -73,6 +73,7 @@ mkdir bld cd bld ../configure --prefix=/opt/wx/2.6 \ --with-gtk \ + --with-gnomeprint \ --with-opengl \ --enable-debug \ --enable-geometry \ @@ -81,7 +82,7 @@ cd bld --disable-debugreport \
On OS X of course you'll want to use --with-mac instead of ---with-gtk.
+--with-gtk and --with-gnomeprint.NOTE: Due to a recent change there is currently a dependency problem in the multilib builds of wxWidgets on OSX, so I have switched to using a monolithic build. That means that all of the @@ -92,7 +93,7 @@ to the monolithic build of wxWidgets just add this configure flag:
--enable-monolithic \-
By default GTK 2.x will be used for the build. If you woudl rather +
By default GTK 2.x will be used for the build. If you would rather use GTK 1.2.x for some reason then you can force configure to use it by changing the --with-gtk flag to specify it like this:
@@ -131,7 +132,7 @@ can add these flags to the configure command: command but there are other libraries besides the main wxWidgets libs that also need to be built so again I make a script to do it all for me so I don't forget anything. This time it is called -".make" (I use the leading "." so when I do rm -r * in my build +".make" (I use the leading "." so when I do rm -r * in my build dir I don't lose my scripts too.) This is what it looks like:make $* \ @@ -203,7 +204,7 @@ BUILD_GLCANVAS=0 to the setup.py command line to disable the building of the glcanvas module.When the setup.py command is done you should have fully populated wxPython and wx packages locally in $WXDIR/wxPython/wxPython and -$WXDIR/wxPython/wx, with all the extension modules (*.so files) +$WXDIR/wxPython/wx, with all the extension modules (*.so files) located in the wx package.
To run code with the development version of wxPython, just set the @@ -411,12 +412,12 @@ UNICODE=1
If you have a debug version of Python and wxWidgets and want to build a debug version of wxPython too, add the --debug flag to the -command line. You should then end up with a set of *_d.pyd -files in the wx package and you'll have to run python_d.exe to +command line. You should then end up with a set of *_d.pyd +files in the wx package and you'll have to run python_d.exe to use them. The debug and hybrid(release) versions can coexist.
When the setup.py command is done you should have fully populated wxPython and wx packages locally in %WXDIR%/wxPython/wxPython and -%WXDIR%/wxPython/wx, with all the extension modules (*.pyd +%WXDIR%/wxPython/wx, with all the extension modules (*.pyd files) located in the wx package.
To run code with the development version of wxPython, just set the diff --git a/wxPython/docs/CHANGES.html b/wxPython/docs/CHANGES.html index 4261d016c2..043c8eda83 100644 --- a/wxPython/docs/CHANGES.html +++ b/wxPython/docs/CHANGES.html @@ -3,7 +3,7 @@
- +Added wx.BrushFromBitmap to create a stippled brush in a single step. +Also added missing brysh style flags: wx.STIPPLE_MASK +wx.STIPPLE_MASK_OPAQUE.
+wxMSW: Fix for controls when the system text fg colour is not black.
+wxGTK: Patch #1171754, It is now possible to have a menu item that +both has an icon and is a submenu.
+wxMSW: Patch #1197009, better refreshes when windows are moved and +resized.
+wxMSW: Patch #1197468. Keeps track of pending size/position changes +in case there is more than one adjustment for a window in a single +DeferWindowPos set, then the pending values can be used for defaults +instead of current values.
+Fixed the typemap that converts a Python list of strings to a +wxArrayString so it uses the wxPy default encoding.
+Several docstrings added and updated. Lots more to go.
+wxMSW: Fixed wx.TransientPopupWindow (and therefore wx.TipWindow) to auto-dismiss when the mouse is clicked outside of the popup like it is supposed to.
@@ -32,7 +53,7 @@ able to do in a unicode build, and in an ansi build it will depend on the content of the utf-8 used being compatible with the current encoding, (you'll get an exception otherwise.)-+
@@ -74,7 +95,7 @@ a particular style. wxMac: Fixed wx.ComboBox to forward the EVT_CHAR, EVT_KEY_DOWN, EVT_KEY_UP and EVT_TEXT events from its embedded text control.
wxMac: Corrected refresh bugs in wxGrid.
-+
-
- XRCed: Updated to version 0.1.5.
- Added wxWizard, wxWizardPageSimple (only from pull-down menu).
@@ -85,8 +106,11 @@ EVT_KEY_UP and EVT_TEXT events from its embedded text control.-2.5.5.1
++-2.5.5.1
++
- 8-Apr-2005
+wxMSW: Fixed bug #1022383, 'several ComboBoxes appear selected'
wx.grid.Grid: Fixed bug #1163384. Moved the code that handles activating the cell editors to a EVT_CHAR event handler. This is done @@ -109,7 +133,7 @@ end of dragging and not after each CHANGING event (modified patch #1076226)
wx.glcanvas.GLCanvas: applied patch fixing problems with X server crash when using nVidia cards (patch 1155132)
-+
- wx.lib.mixins.listctrl: Patches from Toni Brkic:
- Bugfix for TextEditMixin when the view can't be scrolled
@@ -151,8 +175,11 @@ list of top-level windows that currently exist in the application. folks.Added the ActiveGrid IDE as a sample application.
-2.5.4.1
++-2.5.4.1
++
- 16-Mar-2005
+wx.Sizer Add, Insert, and Prepend functions now return a reference to the wx.SizerItem that was added to the sizer, and the wx.SizerItem has a GetRect accessor to give the position of the item on the parent window.
@@ -162,7 +189,7 @@ wx.Window, wx.Sizer or position index. consecutive (there may be intervening controls). Without this fix, an out-of-sync assert is generated when clicking on a radio button and then calling GetValue(). -+
- Some XRC changes:
- Added 'icon' property to wxFrame and wxDialog
@@ -303,7 +330,7 @@ and max ends of the slider.Several patches applied, such as #1111174, #1110252 and others, that make the generic wx.TreeCtrl (used on wxGTK and wxMac) be more conistent with the wxMSW native wx.TreeCtrl.
-+
- XRCed:
- Edit->Locate command (Ctrl-L) for quick selection of items. @@ -371,7 +398,7 @@ event.
Added Resize, SetRGBRect, Size, and GetOrFindMaskColour methods to wx.Image.
Added wx.Rect.IsEmpty
-+
- wxGTK:
- Corrected wx.ListBox selection handling
@@ -382,8 +409,11 @@ wx.Image.-2.5.3.1
++-2.5.3.1
++
- 9-Nov-2004
+wxMac focus and border refreshes corrected.
Updated internal PNG library.
wxMac fix for metal appearance on wx.ToolBar.
@@ -485,7 +515,7 @@ holding down the mouse button.wxGTK: Enable key based navigation through notebook tabs as in the native control with Left and right keys. Support for vetoing.
FloatCanvas updates from Chris Barker
-+
- PyPlot updates from Gordon Williams:
- Added bar graph demo
@@ -519,7 +549,7 @@ reflect package's public contents.Restructured the installer packages slightly to help facilitate having multiple versions of wxPython installed at the same time. See the Migrarion Guide for more information.
-+
- Applied patch from Pim Van Heuven that modifies 4 files:
- wxPython/demo/ListCtrl_edit.py (new demo)
@@ -536,8 +566,11 @@ it.wxPython on OSX can now be built in Unicode mode, can support multiple version installs, and comes with an uninstaller script.
-2.5.2.8
+ --2.5.2.7
++-2.5.2.7
++
- 14-Aug-2004
+wx.ADJUST_MINSIZE is now the default behaviour for window items in sizers. This means that the item's GetMinSize and/or GetBestSize will be called when calculating layout and the return value from that will @@ -661,8 +697,11 @@ in the PyShell:
wxGTK: Applied wxNO_BORDER patch (#1098374) for text control and combo box.
-diff --git a/wxPython/docs/INSTALL.html b/wxPython/docs/INSTALL.html index 5f12453e98..72ab7c7b0d 100644 --- a/wxPython/docs/INSTALL.html +++ b/wxPython/docs/INSTALL.html @@ -3,7 +3,7 @@ - +2.5.1.5
++2.5.1.5 (the 'this is not a joke' release)
++
- 2-Apr-2004
+(See also the MigrationGuide file for details about some of the big changes that have happened in this release and how you should adapt your code.)
@@ -688,7 +727,7 @@ Python Global Interpreter Lock to try and prevent deadlocks that can happen when there are nested attempts to aquire the GIL.The RPMs will now install menu items on Mandrake Linux in Applications/Development/Tools for PyCrust, XRCed, etc. The RPMs are -also installing icons and *.desktop items in the generic KDE and +also installing icons and *.desktop items in the generic KDE and GNOME locations, but I don't know yet if they are resulting in menu items on non-Mandrake systems. (It didn't automatically do it on my RH-9 build box but I didn't chase it very far...) If you have ideas @@ -745,6 +784,9 @@ MigrationGuide for more details on using the new module.
2.4.2.4
++
- 1-Oct-2003
+Use wxSTC in the demo for displaying the soucre code of the samples.
Lots of bug fixes and such from the wxWindows folks.
Added wxPython.lib.newevent from Miki Tebeka. Its usage is @@ -755,10 +797,13 @@ demonstrated in the Threads sample in the demo.
2.4.1.2
++
- 19-Jun-2003
+Added wxScrolledPanel from Will Sadkin
Added SetShape method to top level windows (e.g. wxFrame.)
Changed wxSWIG to not generate Python code using apply, (since it will -be deprecated in the future) wxSWIG will use spam(*args, **kw) syntax +be deprecated in the future) wxSWIG will use spam(*args, **kw) syntax instead. Also changed the generated __repr__ methods to be a bit more informative.
Made the version number information more robust and uh, informative. @@ -766,7 +811,7 @@ Also added asserts to check that the major.minor versions of wxPython and wxWindows match.
Added the new wx "renamer" package that will dynamically import from the wxPython package and rename wxFooBar --> FooBar. That means that -people can do imports without "import *" and can use names like +people can do imports without "import *" and can use names like wx.Frame instead of wx.wxFrame. This is phase 1 of a full transition to the new namespace.
Updated Scintilla to 1.52. I also changed it to use wxListCtrl @@ -807,6 +852,9 @@ and Spacers can be specified with a wxSize (or 2-tuple) parameter
2.4.0.7
++
- 24-Mar-2003
+Gave up on generating a warning upon the use of the old true/false or TRUE/FALSE values.
Fixed wxGenericTreeCtrl (used on wxGTK and wxMac for wxTreeCtrl) so @@ -826,18 +874,27 @@ details.
2.4.0.6 (a.k.a. the I'm so stupid release)
++
- 11-Mar-2003
+The new deprecation class for the old true/false symbols can now be returned from OnInit. And I promise to be sure I am testing what I think I am testing in the future...
2.4.0.5 (a.k.a. the blame it on Kevin release)
++
- 7-Mar-2003
+A few little but annoying bug fixes.
Updated pycolourchooser.
Updated to 0.9b of PyCrust.
2.4.0.4
++
- 7-Mar-2003
+Added missing wxRect methods
Add OOR support for wxApp objects too.
Added wxCursorFromImage, which works on wxMSW and wxGTK so far.
@@ -871,7 +928,7 @@ present.Added some static wxApp functions that help with integration with the Mac UI. They are no-ops on other platforms so it doesn't hurt to always call them. The functions are:
-++wxApp_SetMacHelpMenuTitleName +wxApp_GetMacDefaultEncodingIsPC wxApp_GetMacSupportPCMenuShortcuts wxApp_GetMacAboutMenuItemId @@ -883,7 +940,8 @@ wxApp_SetMacSupportPCMenuShortcuts wxApp_SetMacAboutMenuItemId wxApp_SetMacPreferencesMenuItemId wxApp_SetMacExitMenuItemId -wxApp_SetMacHelpMenuTitleNameRefactored, enhanced and added capabilities for the DrawXXXList functions, inspired by code from Chris Barker.
The wxWindows .mo language catalog files are now installed in a @@ -895,12 +953,18 @@ doesn't have a standard place for them.
2.4.0.2
++
- 23-Jan-2003
+Several bug fixes.
Added wxIntCtrl from Will Sadkin.
Added wxPyColourChooser by Michael Gilfix.
2.4.0.1
++
- 10-Jan-2003
+No major new features since 2.3.4.2, mostly bug fixes and minor enhancements.
Added function wrappers for the common dialogs from Kevin Altis. See @@ -908,10 +972,16 @@ wxPython/lib/dialogs.py for more details.
2.3.4.1
++
- 18-Dec-2002
+Updated XRCed and wxTimeCtrl contribs.
Show a couple new wxGrid features in the demo.
Several bug fixes in wxWindows.
@@ -967,6 +1037,9 @@ and added a script to launch the doc viewer.2.3.3.1
++
- 19-Sep-2002
+Added wxSplashScreen.
Added wxGenericDirCtrl.
Added wxMultiChoiceDialog.
@@ -989,7 +1062,7 @@ wxFlexGridSizer.Added wxBufferedDC.
Upgraded wxSTC from Scintilla 1.40 to Scintilla 1.45, and then again to version 1.47, and one more time to 1.48! <wink>
-+
- UNICODE!
wxWindows/wxPython can be compiled with unicode support enabled or disabled. Previous to wxPython 2.3.3 non-unicode mode was always @@ -1110,6 +1183,9 @@ example.
2.3.2.1
++
- 20-Dec-2001
+Changed (again) how the Python global interpreter lock is handled as well as the Python thread state. This time it works on SMP machines without barfing and is also still compatible with Python debuggers.
@@ -1117,6 +1193,9 @@ without barfing and is also still compatible with Python debuggers.2.3.2
++
- 11-Dec-2001
+Added EVT_HELP, EVT_HELP_RANGE, EVT_DETAILED_HELP, EVT_DETAILED_HELP_RANGE, EVT_CONTEXT_MENU, wxHelpEvent, wxContextMenuEvent, wxContextHelp, wxContextHelpButton, wxTipWindow, @@ -1200,6 +1279,9 @@ details.
2.3.1
++
- 10-Jul-2001
+Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the user code can get access to the edit control when it is created, (to push on a custom event handler for example.)
@@ -1214,6 +1296,9 @@ subclass wxXmlResourceHandler, etc...2.3.0
++
- 22-May-2001
+Removed initial startup dependency on the OpenGL DLLs so only the glcanvasc.pyd depends on them, (on wxMSW.)
Changed wxFont, wxPen, wxBrush to not implicitly use the @@ -1254,7 +1339,7 @@ the distutils that comes with Python 2.1.
Switched to InnoSetup for MSW distributions.
Added wxToggleButton.
Fixed bug that prevented wxTreeCtrl.OnCompareItems from being called.
-+
- Added some methods to wxGrid:
- GetCellHighlightPenWidth GetCellHighlightROPenWidth @@ -1268,7 +1353,7 @@ GetGridCornerLabelWindow
Added wxGetClientDisplayRect which on wxMSW returns a wxRect representing the area on screen not occupied by the taskbar and such. On other platforms it is equivallent to wxGetDisplaySize.
-+
- OOR:
Implemented the first phase of OOR (Original Object Return). See the text in the demo for more details of what this means, but in a @@ -1310,12 +1395,18 @@ by having smaller functional apps to play with. They can be found in wxPython/samples.
-2.2.6
+2.2.7
++
- 19-Jun-2001
+No changes happened in the Python wrappers for this release, only changes and fixes in the wxWindows library.
2.2.5
++
- 30-Jan-2001
+New typemaps for wxString when compiling for Python 2.0 and beyond that allow Unicode objects to be passed as well as String objects. If a Unicode object is passed PyString_AsStringAndSize is used to convert @@ -1357,6 +1448,9 @@ XML-RPC server.
New in 2.2.2
++
- 26-Oct-2000
+Significantly changed how the wxStyledtextCtrl code that wraps Scintilla is implemented. Most of it is now automatically generated from an interface definition file provided by Scintilla. This means @@ -1394,17 +1488,26 @@ wxMSW, but at least it's a bit more usable now.
New in 2.2.1
++
- 22-Aug-2000
+Various tweaks, fixes, missing methods, etc.
Added example use of wxTaskBarIcon to the demo.
New in 2.2.0
++
- 17-Jul-2000
+Added wxLog and friends.
Added wxFrame.ShowFullScreen for MSW.
Added PyShellWindow to the wxPython.lib package.
New in 2.1.16
++
- 12-Jun-2000
+Added an attribute named labelDelta to the generic buttons that specifies how far to offset the label when the button is in the depressed state.
@@ -1438,6 +1541,9 @@ OnScrollNew in 2.1.15
++
- 25-Apr-2000
+Fixed wxTreeCtrl.HitTest to return both the tree item as well as the flags that clairify where the click was in relation to the item.
Fixed thread state problem in wxTreeCtrl.GetBoundingBox and @@ -1479,6 +1585,9 @@ provider smiles convincingly and removes his flame-proof suit.)
What's new in 2.1.13
++
- 3-Feb-2000
+Skipped a version number to match what has been released for wxGTK.
Updated wxMVCTree and added a demo for it, also fixed layout on GTK and some flicker problems.
@@ -1510,7 +1619,7 @@ but shouldn't impact anybody too much. I took the opportunity to add support for setting user data on each toolbar tool. The new AddTool methods look like this:-+
- def AddTool(ID,
- bitmap, pushedBitmap = wxNullBitmap, @@ -1542,6 +1651,9 @@ style flag instead of trying to float it ourselves.)
What's new in 2.1.11
++
- 13-Nov-1999
+Skipped a few version numbers so wxMSW, wxGTK and wxPython are all syncronized.
wxImage.SetData now makes a copy of the image data before giving it to @@ -1577,12 +1689,18 @@ wxGTK...
What's new in 2.1.5
++
- 12-Oct-1999
+This is a quick bug-fix release to take care of a few nasties that crept in at the last minute before 2.1.4 was called done. No new major features.
What's new in 2.1.4
++
- 7-Oct-1999
+This release is NOT syncronized 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 @@ -1604,9 +1722,10 @@ default sort order.
Added typemaps for wxSize, wxPoint, wxRealPoint, and wxRect that allow either the actual objects or Python sequence values to be used. For example, the following are equivallent:
-++win = wxWindow(parent, size = (100, 100)) +win = wxWindow(parent, size = wxSize(100, 100)) -win = wxWindow(parent, size = (100, 100))Super-charged the wxHtml module. You can now create your own tag handlers and also have access to the parser and cell classes. There is a tag handler in the library at wxPython.lib.wxpTag that @@ -1668,19 +1787,15 @@ object's constructor that is a filename. If you want to use your own class instead of wxPyOnDemandOutputWindow you can either implement RedirectStdio() in you app class or change the value of wxApp.outputWindowClass like this:
--+-
-- class MyApp(wxApp):
-- -
outputWindowClass = MyClass
--
-- def OnInit(self):
-- frame = MyFrame() -self.SetTopWindow(frame) -return true
-+class MyApp(wxApp): + outputWindowClass = MyClass + + def OnInit(self): + frame = MyFrame() + self.SetTopWindow(frame) + return true +Please see the implementation of wxPyOnDemandOutputWindow and wxApp in wx.py for more details. A few words of caution: if you are running your app in a debugger, changing sys.stdout and sys.stderr is likely @@ -1698,6 +1813,9 @@ problems...)
What's new in 2.1b3
++
- 1-Sep-1999
+This release is syncronized 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 @@ -1731,6 +1849,9 @@ interface using wxPoints and a wxSize.
What's new in 2.1b2
++
- 6-Aug-1999
+Added the missing wxWindow.GetUpdateRegion() method.
Made a new change in SWIG (update your patches everybody) that provides a fix for global shadow objects that get an exception in @@ -1757,7 +1878,7 @@ matches MSW's.
wxSystemSettings_GetSystemColour.Removed wxPyMenu since using menu callbacks have been deprecated in wxWindows. Use wxMenu and events instead.
-+
@@ -1775,6 +1896,9 @@ in wx.cpp.
- Added alternate wxBitmap constructor (for MSW only) as
- wxBitmapFromData(data, type, width, height, depth = 1)
What's new in 2.1b1
++
- 28-Jun-1999
+Fixed wxComboBox.SetSelection so that it actually sets the selected item. (Actually just removed it from wxPython and let it default to wxChoice.SetSelection which was already doing the right thing.)
@@ -1794,6 +1918,9 @@ not even in the wxWindows C++ library yet!What's new in 2.0b9
++
- 1-May-1999
+Bug fix for ListCtrl in test4.py (Was a missing file... DSM!)
Bug fix for occassional GPF on Win32 systems upon termination of a wxPython application.
@@ -1816,22 +1943,34 @@ methods.What's new in 2.0b8
++
- 28-Mar-1999
+Support for using Python threads in wxPython apps.
Several missing methods from various classes.
Various bug fixes.
What's new in 2.0b7
++
- 15-Mar-1999
+Added DLG_PNT and DLG_SZE convienience methods to wxWindow class.
Added missing constructor and other methods for wxMenuItem.
What's new in 2.0b6
++
- 4-Mar-1999
+Just a quickie update to fix the self-installer to be compatible with Python 1.5.2b2's Registry settings.
What's new in 2.0b5
++
- 25-Feb-1999
+Well obviously the numbering scheme has changed. I did this to reflect the fact that this truly is the second major revision of wxPython, (well the third actually if you count the one I did for @@ -1851,14 +1990,17 @@ wxRegConfig class.
What's new in 0.5.3
++
- 30-Jan-1999
+Added wxSashWindow, wxSashEvent, wxLayoutAlgorithm, etc.
Various cleanup, tweaks, minor additions, etc. to maintain compatibility with the current wxWindows.
What's new in 0.5.0
-Changed the import semantics from "from wxPython import *" to -"from wxPython.wx import *" This is for people who are worried about +
Changed the import semantics from "from wxPython import *" to +"from wxPython.wx import *" This is for people who are worried about namespace pollution, they can use "from wxPython import wx" and then prefix all the wxPython identifiers with "wx."
Added wxTaskbarIcon for wxMSW.
@@ -1871,17 +2013,23 @@ objects to references to reflect changes in the wxWindows API.What's new in 0.4.2
++
- 21-Oct-1998
+wxPython on wxGTK works!!! Both dynamic and static on Linux and -static on Solaris have been tested. Many thanks go to Harm -<H.v.d.Heijden@phys.tue.nl> for his astute detective work on tracking -down a nasty DECREF bug. Okay so I have to confess that it was just a -DSM (Dumb Stupid Mistake) on my part but it was nasty none the less -because the behavior was so different on different platforms.
+static on Solaris have been tested. Many thanks go to Harm van der +Heijden for his astute detective work on tracking down a nasty DECREF +bug. Okay so I have to confess that it was just a DSM (Dumb Stupid +Mistake) on my part but it was nasty none the less because the +behavior was so different on different platforms.The dynamicly loaded module on Solaris is still segfaulting, so it must have been a different issue all along...
+What's New in 0.4
++
- 2-Oct-1998
+1. Worked on wxGTK compatibility. It is partially working. On a Solaris/Sparc box wxPython is working but only when it is statically linked with the Python interpreter. When built as a dyamically loaded @@ -1893,6 +2041,14 @@ version segfault shortly after starting up.
- Varioius bug fixes, enhancements, etc.
+wxPython 0.3
++
+- 9-Aug-1998
+The first "modern" version of wxPython. See +http://wiki.wxpython.org/index.cgi/WxPythonHistory
+Installing wxPython 2.6 from Source diff --git a/wxPython/docs/MigrationGuide.html b/wxPython/docs/MigrationGuide.html index e96b3db197..215018ffa1 100644 --- a/wxPython/docs/MigrationGuide.html +++ b/wxPython/docs/MigrationGuide.html @@ -3,7 +3,7 @@ - +wxPython 2.6 Migration Guide @@ -317,7 +317,7 @@ path should already be set properly.If you are also using SWIG for your extension then you'll need to adapt how the wxPython .i files are imported into your .i files. See the wxPython sources for examples. Your modules will need to at least -%import core.i, and possibly others if you need the definition of +%import core.i, and possibly others if you need the definition of other classes. Since you will need them to build your modules using SWIG, the main wxPython .i files are also installed with the wxPython headers in an i_files sibdirectory. It should be enough to pass a @@ -326,7 +326,7 @@ headers in an i_files sibdirectory. It should be enough to pass a wx/build/config.py. This module will be installed as part of wxPython so 3rd party modules that wish to use the same setup/configuration code can do so simply by importing this module from their own setup.py -scripts using import wx.build.config.
+scripts using import wx.build.config.You no longer need to call wxClassInfo::CleanUpClasses() and wxClassInfo::InitializeClasses() in your extensions or when embedding wxPython.
@@ -359,8 +359,8 @@ class MyDialog(wx.Dialog):Sizers
The hack allowing the old "option" keyword parameter has been removed. If you use keyword args with wx.Sizer Add, Insert, or Prepend methods -then you will need to use the proportion name instead of -option. (The proportion keyword was also allowed in 2.4.2.4.)
+then you will need to use the proportion name instead of +option. (The proportion keyword was also allowed in 2.4.2.4.)When adding a spacer to a sizer you now need to use a wx.Size or a 2-integer sequence instead of separate width and height parameters. This was optionally allowed in 2.4, but now it is required. This @@ -391,41 +391,41 @@ First a bit about how things used to work:
to be its minimal size, and that size would always be used by default when calculating layout size and positions, and the sizer itself would keep track of that minimal size. -- If the window item was added with the wx.ADJUST_MINSIZE -flag then when layout was calculated the item's GetBestSize +
- If the window item was added with the wx.ADJUST_MINSIZE +flag then when layout was calculated the item's GetBestSize would be used to reset the minimal size that the sizer used.
The main thrust of the new Sizer changes was to make behavior like -wx.ADJUST_MINSIZE be the default, and also to push the tracking of +wx.ADJUST_MINSIZE be the default, and also to push the tracking of the minimal size to the window itself (since it knows its own needs) instead of having the sizer take care of it. Consequently these changes were made:
@@ -441,34 +441,34 @@ but now the sizer will use the default size as the minimum rather than the size set later. It is an easy fix though, just move the specification of the size to the constructor (assuming that SomeWidget will set its minsize there like the rest of the controls do) or call -SetMinSize instead of SetSize. +SetMinSize instead of SetSize.-
- The wx.FIXED_MINSIZE flag was added to allow for the old +
- The wx.FIXED_MINSIZE flag was added to allow for the old behavior. When this flag is used the size a window has when added to the sizer will be treated as its minimal size and it will not be readjusted on each layout.
-- The min size stored in wx.Window and settable with -SetSizeHints or SetMinSize will by default be used by +
- The min size stored in wx.Window and settable with +SetSizeHints or SetMinSize will by default be used by the sizer (if it was set) as the minimal size of the sizer item. If the min size was not set (or was only partially set) then the window's best size is fetched and it is used instead of (or -blended with) the min size. wx.Window.GetBestFittingSize +blended with) the min size. wx.Window.GetBestFittingSize was added to facilitate getting the size to be used by the sizers.
- The best size of a window is cached so it doesn't need to -recaculated on every layout. wx.Window.InvalidateBestSize +recaculated on every layout. wx.Window.InvalidateBestSize was added and should be called (usually just internally in control methods) whenever something is done that would make the best size change.
- All wxControls were changed to set the minsize to what is passed to the constructor or Create method, and also to set the real size of the control to the blending of the min size and best -size. wx.Window.SetBestFittingSize was added to help with +size. wx.Window.SetBestFittingSize was added to help with this, although most controls don't need to call it directly -because it is called indirectly via the SetInitialSize +because it is called indirectly via the SetInitialSize called in the base classes.
In order to fit well with this new scheme of things, all wxControls or custom controls should do the following things. (Depending on how they are used you may also want to do the same thing for non-control custom windows.)
diff --git a/wxPython/docs/PyManual.html b/wxPython/docs/PyManual.html index 6f05b1f723..73ba351eb2 100644 --- a/wxPython/docs/PyManual.html +++ b/wxPython/docs/PyManual.html @@ -3,7 +3,7 @@ - +-
Either override or inherit a meaningful DoGetBestSize method +
Either override or inherit a meaningful DoGetBestSize method that calculates whatever size is "best" for the control. Once that size is calculated then there should normally be a call to -CacheBestSize to save it for later use, unless for some +CacheBestSize to save it for later use, unless for some reason you want the best size to be recalculated on every layout.
-Note: In order to successfully override DoGetBestSize in -Python the class needs to be derived from wx.PyWindow, -wx.PyControl, or etc. If your class instead derives from +
Note: In order to successfully override DoGetBestSize in +Python the class needs to be derived from wx.PyWindow, +wx.PyControl, or etc. If your class instead derives from one of the standard wx classes then just be sure that the min size gets explicitly set to what would have been the best size and things should work properly in almost all situations.
Any method that changes the attributes of the control such that -the best size will change should call InvalidateBestSize so +the best size will change should call InvalidateBestSize so it will be recalculated the next time it is needed.
The control's constructor and/or Create method should ensure that the minsize is set to the size passed in, and that the control is sized to a blending of the min size and best size. -This can be done by calling SetBestFittingSize.
+This can be done by calling SetBestFittingSize.The Py Manual @@ -31,7 +31,7 @@- +
- Introduction
- Developer Reference
@@ -169,7 +169,7 @@ shell. It includes a tabbed notebook containing a namespace treePyFilling
PyFilling is a namespace viewer. It isn't really useful as a standalone program, but it does illustrate how to make use of the -underlying filling module.
+underlying filling module.@@ -185,7 +185,7 @@ the PyCrust notebook interface.PyShell
@@ -177,7 +177,7 @@ underlying filling module. as PyCrust, but doesn't have any of the extra features that appear in the PyCrust notebook interface.- +PyWrap
PyWrap is a runtime utility that lets you run an existing wxPython program with a PyCrust frame at the same time. Inside the PyCrust -shell namespace, the local variable app is assigned to your +shell namespace, the local variable app is assigned to your application instance. In this way you can introspect your entire application within the PyCrust shell, as well as the PyFilling namespace viewer.
@@ -244,7 +244,7 @@ import wxfrom wxPython import wx-Fixed typo in PyWrap.py:
+Fixed typo in PyWrap.py:
if __name__ == '__main__': main(sys.argv) @@ -256,7 +256,7 @@ if __name__ == '__main__':Added pretty-print Display tab to Crust, based on suggestion from Jason Whitlark.
-Improved Can* checks in EditWindow, since STC is too lenient, +
Improved Can* checks in EditWindow, since STC is too lenient, particularly when it is set to read-only but returns True for CanPaste() (seems like an STC bug to me):
@@ -281,10 +281,10 @@ def CanPaste(self):0.9.1 (3/21/2003 to 5/2/2003)
PyCrust is dead! Long live Py!
-
-- Renamed PyCrust package to py.
+- Renamed PyCrust package to py.
- Moved code to wxPython's CVS repository.
Fixed bug in introspect.py on introspecting objects occurring +
Fixed bug in introspect.py on introspecting objects occurring immediately after a secondary prompt, like this:
>>> l = [1, 2, 3] @@ -299,18 +299,18 @@ immediately after a secondary prompt, like this:wxPythonExamples.txt Added PyAlaMode and PyAlaCarte code editors.
-Major refactoring to support editor and shell from the same +
Major refactoring to support editor and shell from the same base.
Renamed program files:
-
- PyCrustApp.py to PyCrust.py
-- PyFillingApp.py to PyFilling.py
-- PyShellApp.py to PyShell.py
-- wrap.py to PyWrap.py
+- PyCrustApp.py to PyCrust.py
+- PyFillingApp.py to PyFilling.py
+- PyShellApp.py to PyShell.py
+- wrap.py to PyWrap.py
Removed disabling of autocomplete for lists of 2000 items or more. The current implementation of wxSTC can now handle lists this big.
-Improved handling of sys.path to mimic the standard Python shell.
+Improved handling of sys.path to mimic the standard Python shell.
0.9 (2/27/2003 to 3/20/2003)
@@ -332,7 +332,7 @@ documentation and docstrings for wxPython classes and functions.wxPython Docs wxSTC Docs -Filling.tree now expands tuples as well as lists. (It should have +
Filling.tree now expands tuples as well as lists. (It should have done this all along, I just never noticed this omission before.)
Added this True/False test to all modules:
@@ -342,18 +342,18 @@ except NameError: True = 1==1 False = 1==0-Added wxd directory with decoration classes.
+Added wxd directory with decoration classes.
0.8.2 (1/5/2003 to 2/26/2003)
-Wrapped sys.ps1, sys.ps2, and sys.ps3 in str(). +
Wrapped sys.ps1, sys.ps2, and sys.ps3 in str(). (Thanks, Kieran Holland.)
Fixed minor things found by PyChecker.
-Changed locals to use __main__.__dict__ and added code to clean up +
Changed locals to use __main__.__dict__ and added code to clean up the namespace, making it as close to the regular Python environment as possible. This solves the problem of pickling and unpickling instances of classes defined in the shell.
-Made shell.PasteAndRun() a little more forgiving when it finds a +
Made shell.PasteAndRun() a little more forgiving when it finds a ps2 prompt line with no trailing space, such when you copy code from a web page.
Improved autocomplete behavior by adding these to shell:
@@ -361,10 +361,10 @@ web page. self.AutoCompSetAutoHide(False) self.AutoCompStops(' .,;:([)]}\'"\\<>%^&+-=*/|`') -Added decor directory, decorator.py, stcDecor.py, and -stcConstants.py. These all serve the purpose of adding docstrings -to existing wxPython classes, in particular the wxStyledTextCtrl.
-Added wrap.py, a command line utility for running a wxPython app +
Added decor directory, decorator.py, stcDecor.py, and +stcConstants.py. These all serve the purpose of adding docstrings +to existing wxPython classes, in particular the wxStyledTextCtrl.
+Added wrap.py, a command line utility for running a wxPython app with additional runtime-tools loaded, such as PyCrust (the only tool at this point).
Flushed the clipboard Cut/Copy operations so that selections will @@ -385,19 +385,19 @@ func = 3 . Enter as well as Tab to select an item from the list.
Disabled autocomplete for lists of 2000 items or more. The current implementation of wxSTC can't handle lists this big.
-Changed filling to always display docstrings for objects. This is +
Changed filling to always display docstrings for objects. This is useful for objects whose docstrings have been decorated, rather than coming directly from the source code. (Hmmm. Sounds like someone is doing some decorating. I wonder where that would be helpful? <wink>)
-Fixed handling of icon. Added images.py file.
+Fixed handling of icon. Added images.py file.
0.8 (10/29/2002 to 12/16/2002)
Added "help" to startup banner info.
-Made all wx and stc imports explicit. No more import *.
-Replaced use of the wx module's true and false with -Python's True and False.
-Changed introspect.getRoot() to use tokenize module. This +
Made all wx and stc imports explicit. No more import *.
+Replaced use of the wx module's true and false with +Python's True and False.
+Changed introspect.getRoot() to use tokenize module. This does a slightly better job than the previous parsing routine and the code is clearer.
Improved handling of whitespace and empty types during introspection.
@@ -413,74 +413,74 @@ wxPython Version: 2.3.3.1 Platform: linux2Added copy plus and paste plus to shell menu.
-Moved shell menu from shell.py to shellmenu.py.
-Added sys.stdin.readlines() support.
-Added time.sleep() in readline() and OnIdle() event +
Moved shell menu from shell.py to shellmenu.py.
+Added sys.stdin.readlines() support.
+Added time.sleep() in readline() and OnIdle() event handler to free up the CPU.
0.7.2 (2/22/2002 to 8/27/2002)
-Tweaked getAttributeNames() to pick up a few more attributes:
+Tweaked getAttributeNames() to pick up a few more attributes:
'__bases__', '__class__', '__dict__', '__name__', 'func_closure', 'func_code', 'func_defaults', 'func_dict', 'func_doc', 'func_globals', 'func_name'Added a tests directory and unit tests.
-Improved support for empty types in the shell: [], () and -{} as far as when call tips and autocompletion are available.
-Added support for the other triple string - ''''''.
-Refactored introspect.py to improve testability.
+Improved support for empty types in the shell: [], () and +{} as far as when call tips and autocompletion are available.
+Added support for the other triple string - ''''''.
+Refactored introspect.py to improve testability.
Improved call tips for unbound methods by leaving the "self" parameter, since unbound methods require an instance be passed.
Fixed call tip bug where a tip was displayed when a "(" was typed after an object that wasn't callable.
-Fixed getAllAttributeNames when str(object) fails.
+Fixed getAllAttributeNames when str(object) fails.
Added brace highlighting. (Thank you, Kevin Altis.)
-Fixed problem displaying unicode objects in PyFilling.
-Changed how filling.py checks for expandable objects. Lists are +
Fixed problem displaying unicode objects in PyFilling.
+Changed how filling.py checks for expandable objects. Lists are now expandable objects.
Made the key handling more robust when there is an active text selection that includes text prior to the last primary prompt. Thanks to Raul Cota for pointing this out.
Fixed wxSTC problem with brace highlighting and non-us keyboards. (Thank you for the patch, Jean-Michel Fauth.)
-Added busy = wxBusyCursor() to key points in shell and -filling.
-Added OnCloseWindow handler to ShellFrame and CrustFrame.
-Default to SetWrapMode(1) for shell and namespace viewer.
-Added shell.wrap() and shell.zoom().
+Added busy = wxBusyCursor() to key points in shell and +filling.
+Added OnCloseWindow handler to ShellFrame and CrustFrame.
+Default to SetWrapMode(1) for shell and namespace viewer.
+Added shell.wrap() and shell.zoom().
Added autoCompleteKeys hooks for Raul Cota.
Cleaned up various little key handling bugs.
Changed input methods to get values from shell, rather than dialog -boxes. Renamed readIn to readline and readRaw to -raw_input.
+boxes. Renamed readIn to readline and readRaw to +raw_input.0.7.1 (12/12/2001 to 2/21/2002)
-Fixed OnChar() issues effecting European keyboards, as reported by +
Fixed OnChar() issues effecting European keyboards, as reported by Jean-Michel Fauth.
-Fixed introspect.py issue with xmlrpc objects reported by Kevin +
Fixed introspect.py issue with xmlrpc objects reported by Kevin Altis.
Fixed some introspect/PyFilling issues with regard to Python 2.2.
Fixed font background color as reported by Keith J. Farmer. (Thanks)
Fixed problem with call tips and autocompletion inside multiline commands as report by Kevin Altis.
-Improved OnKeyDown handling of cut/copy/paste operations based on +
Improved OnKeyDown handling of cut/copy/paste operations based on feedback from Syver Enstad. (Thanks)
-Added a shell.help() method to display some help info.
+Added a shell.help() method to display some help info.
Changed sort of items in the namespace viewer to case insensitive.
-Changed attributes.sort(lambda x, y: cmp(x.upper(), y.upper())) in +
Changed attributes.sort(lambda x, y: cmp(x.upper(), y.upper())) in advance of an upcoming fix to an autocompletion matching bug in wxSTC.
Improved support for ZODB by allowing namespace drilldown into BTrees.
-Added shell.PasteAndRun() to support pasting multiple commands into +
Added shell.PasteAndRun() to support pasting multiple commands into the shell from the clipboard. Ctrl+Shift+V or v.
Enter now always processes a command (or copies down a previous one.) To insert a line break, press Ctrl+Enter.
Escape key clears the current, unexecuted command.
History retrieval changed to replace current command. Added new keys to insert from history - Shift+Up and Shift+Down.
-Better call tips on objects with __call__ methods.
+Better call tips on objects with __call__ methods.
Improved call tip positioning calculation.
@@ -488,56 +488,56 @@ to insert from history - Shift+Up and Shift+Down.Changed how command history retrieval functions work. Added Alt-P, Alt-N as keybindings for Retrieve-Previous, Retrieve-Next.
Added full support for multi-line commands, similar to IDLE.
-Changed introspect.getAttributeNames() to do a case insensitive +
Changed introspect.getAttributeNames() to do a case insensitive sort.
Changed Cut/Copy/Paste to deal with prompts intelligently. Cut and Copy remove all prompts. Paste can handle prompted or not-prompted text.
-Added CopyWithPrompts() method attached to Ctrl-Shift-C for those +
Added CopyWithPrompts() method attached to Ctrl-Shift-C for those times when you really do want all the prompts left intact.
Improved handling of the shell's read-only zone.
-Changed CrustFrame.__init__ parameter spec to include all -parameters allowed by a wxFrame.
-Changed FillingText to be read-only.
-Renamed PyCrust.py to PyCrustApp.py to eliminate -package/module name conflicts that kept you from doing from PyCrust -import shell inside files located in the PyCrust directory.
-Renamed PyFilling.py to PyFillingApp.py and PyShell.py to -PyShellApp.py to maintain consistency.
-Removed the __date__ property from all modules.
-Fixed bug in introspect.getCallTip(), reported by Kevin Altis.
+Changed CrustFrame.__init__ parameter spec to include all +parameters allowed by a wxFrame.
+Changed FillingText to be read-only.
+Renamed PyCrust.py to PyCrustApp.py to eliminate +package/module name conflicts that kept you from doing from PyCrust +import shell inside files located in the PyCrust directory.
+Renamed PyFilling.py to PyFillingApp.py and PyShell.py to +PyShellApp.py to maintain consistency.
+Removed the __date__ property from all modules.
+Fixed bug in introspect.getCallTip(), reported by Kevin Altis.
0.6.1 (9/19/2001 to 10/12/2001)
-Changed Shell.run() to always position to the end of existing +
Changed Shell.run() to always position to the end of existing text, as suggested by Raul Cota.
-Changed introspect.getAllAttributeNames() to break circular -references in object.__class__, which occurs in Zope/ZODB +
Changed introspect.getAllAttributeNames() to break circular +references in object.__class__, which occurs in Zope/ZODB extension classes.
-Changed filling.FillingTree.getChildren() to introspect extension +
Changed filling.FillingTree.getChildren() to introspect extension classes.
-Fixed minor bugs in introspect.getCallTip() that were interfering +
Fixed minor bugs in introspect.getCallTip() that were interfering with call tips for Zope/ZODB extension class methods.
In preparation for wxPython 2.3.2, added code to fix a font sizing problem. Versions of wxPython prior to 2.3.2 had a sizing bug on Win platform where the font was 2 points larger than what was specified.
-Added a hack to introspect.getAllAttributeNames() to "wake up" +
Added a hack to introspect.getAllAttributeNames() to "wake up" ZODB objects that are asleep - in a "ghost" state. Otherwise it returns incomplete info.
0.6 (8/21/2001 to 9/12/2001)
-Added PyFilling.py and filling.py.
-PyShell.py and PyFilling.py can now be run standalone, as well -as PyCrust.py.
-Added crust.py and moved some code from PyCrust.py to it.
+Added PyFilling.py and filling.py.
+PyShell.py and PyFilling.py can now be run standalone, as well +as PyCrust.py.
+Added crust.py and moved some code from PyCrust.py to it.
Added command history retrieval features submitted by Richie Hindle.
-Changed shell.write() to replace line endings with OS-specific -endings. Changed shell.py and interpreter.py to use -os.linesep in strings having hardcoded line endings.
-Added shell.redirectStdin(), shell.redirectStdout() and -shell.redirectStderr() to allow the surrounding app to toggle -requests that the specified sys.std* be redirected to the shell. +
Changed shell.write() to replace line endings with OS-specific +endings. Changed shell.py and interpreter.py to use +os.linesep in strings having hardcoded line endings.
+Added shell.redirectStdin(), shell.redirectStdout() and +shell.redirectStderr() to allow the surrounding app to toggle +requests that the specified sys.std* be redirected to the shell. These can also be run from within the shell itself, of course.
The shell now adds the current working directory "." to the search path:
@@ -553,20 +553,20 @@ sys.path.insert(0, os.curdir) 'size' : 12, 'lnsize' : 10, -Changed Shell to expect a parameter referencing an Interpreter +
Changed Shell to expect a parameter referencing an Interpreter class, rather than an intepreter instance, to facilitate subclassing of Interpreter, which effectively broke when the Editor class was eliminated.
-Fixed PyCrustAlaCarte.py, which had been broken by previous +
Fixed PyCrustAlaCarte.py, which had been broken by previous changes.
-Created InterpreterAlaCarte class as an example for use in the +
Created InterpreterAlaCarte class as an example for use in the demo.
-Split PyCrust.py into PyCrust.py and PyShell.py in -anticipation of PyFilling.py.
+Split PyCrust.py into PyCrust.py and PyShell.py in +anticipation of PyFilling.py.
0.5.3 (8/16/2001)
-Added patch to PyCrust.py to fix wxPython bug:
+Added patch to PyCrust.py to fix wxPython bug:
wxID_SELECTALL = NewId() # This *should* be defined by wxPython.@@ -574,7 +574,7 @@ wxID_SELECTALL = NewId() # This *should* be defined by wxPython.0.5.2 (8/14/2001 to 8/15/2001)
Shortened module names by dropping "PyCrust" as a prefix.
-Changed version to VERSION in version module.
+Changed version to VERSION in version module.
Added Options menu to PyCrust application.
Eliminated the Editor class (and editor module) by merging with Shell. This means that Shell "is a" wxStyledTextCtrl rather than "has a". @@ -584,17 +584,17 @@ with now.
0.5.1 (8/10/2001 to 8/14/2001)
-Added introspect module.
-Moved some functionality from PyCrustInterp to introspect.
-Changed introspect.getRoot() to no longer remove whitespace from +
Added introspect module.
+Moved some functionality from PyCrustInterp to introspect.
+Changed introspect.getRoot() to no longer remove whitespace from the command. This was a remnant of a previous approach that, when left as part of the current approach, turned out to be a really bad thing.
-Changed introspect.getRoot() to allow commands of '', "", -"""""", [], (), and {} to pass through. This allows +
Changed introspect.getRoot() to allow commands of '', "", +"""""", [], (), and {} to pass through. This allows you to type them, followed by a dot, and get autocomplete options on them.
-Changed introspect.getRoot() to identify some situations where +
Changed introspect.getRoot() to identify some situations where strings shouldn't be considered roots. For example:
>>> import PyCrust # To illustrate the potential problem. @@ -620,7 +620,7 @@ and that is NOT handled properly. For example: >>> len('This is PyCrust.py')More code needs to be written to handle more complex situations.
-Added locals=None parameter to Shell.__init__().
+Added locals=None parameter to Shell.__init__().
Added support for magic attribute retrieval. Users can change this with:
@@ -655,8 +655,8 @@ exclude one or the other or both with:Renamed several files.
Added command autocompletion.
Added menus to PyCrust.py: File, Edit and Help.
-Added sample applications: PyCrustAlaCarte.py, -PyCrustAlaMode.py, and PyCrustMinimus.py.
+Added sample applications: PyCrustAlaCarte.py, +PyCrustAlaMode.py, and PyCrustMinimus.py.
0.1 (7/1/2001 to 7/19/2001)
@@ -664,8 +664,8 @@ exclude one or the other or both with:Added read-only logging much like IDLE.
Can retrieve a previous command by putting the cursor back on that line and hitting enter.
-Stdin and raw_input operate properly so you can now do help() and -license() without hanging.
+Stdin and raw_input operate properly so you can now do help() and +license() without hanging.
Redefined "quit", "exit", and "close" to display a better-than-nothing response.
Home key honors the prompt.
diff --git a/wxPython/docs/README.html b/wxPython/docs/README.html index c7c5505fdb..86e0f84d38 100644 --- a/wxPython/docs/README.html +++ b/wxPython/docs/README.html @@ -3,7 +3,8 @@ - + +@@ -41,7 +42,7 @@ available in Python, but most of the GUI related classes are. Other Info
Please also see the following files:
-+
- docs/CHANGES.txt Information about new features, fixes,
- etc. in each release.
- docs/BUILD.txt Instructions for building wxPython on
diff --git a/wxPython/docs/wxPackage.html b/wxPython/docs/wxPackage.html index 58b408ea2c..82d666958c 100644 --- a/wxPython/docs/wxPackage.html +++ b/wxPython/docs/wxPackage.html @@ -3,7 +3,7 @@ - +The wxPython wx Package @@ -34,7 +34,7 @@- +
- Introduction
- Why change anything?
@@ -72,7 +72,7 @@ this release.Why change anything?
This change is being made for a couple of reasons. The first reason -is to discourage the use of import *, which is a dangerous +is to discourage the use of import *, which is a dangerous technique that can create name conflicts and bloated namespaces.
The second reason is to remove what some perceive to be a "wart." For example, the following code is rather ugly in that the "wx" prefix on @@ -164,9 +164,9 @@ replace.
Where can I find example programs using the new wx syntax?
The wxPython demo application and most of the sample apps have been -converted to use the new import wx style of programming with +converted to use the new import wx style of programming with wxPython, so there are lots of examples to look at and to play with. -Here is one of them, it is the simple sample.
+Here is one of them, it is the simple sample.#---------------------------------------------------------------------- # A very simple wxPython example. Just a wx.Frame, wx.Panel, diff --git a/wxPython/docs/wxPythonManual.html b/wxPython/docs/wxPythonManual.html index c23448f728..e7e3ac611f 100644 --- a/wxPython/docs/wxPythonManual.html +++ b/wxPython/docs/wxPythonManual.html @@ -3,7 +3,7 @@ - +The wxPython Manual @@ -33,7 +33,7 @@- +
- Introduction
- What is wxPython?
@@ -389,7 +389,7 @@ created by the time OnExit finishes.Sizer overview
Classes: wx.Sizer, wx.GridSizer, wx.FlexGridSizer, wx.BoxSizer, wx.StaticBoxSizer, wx.NotebookSizer, wx.CreateButtonSizer
-+
@@ -601,15 +601,15 @@ wx.GROW flag is not used, the item can be aligned within available space. wx.ALIGN_LEFT, wx.ALIGN_TOP, wx.ALIGN_RIGHT, wx.ALIGN_BOTTOM, wx.ALIGN_CENTER_HORIZONTAL and wx.ALIGN_CENTER_VERTICAL do what they say. wx.ALIGN_CENTRE (same as wx.ALIGN_CENTER) is defined as -(wx.ALIGN_CENTER_HORIZONTAL | wx.ALIGN_CENTER_VERTICAL). Default -alignment is wx.ALIGN_LEFT | wx.ALIGN_TOP. +(wx.ALIGN_CENTER_HORIZONTAL | wx.ALIGN_CENTER_VERTICAL). Default +alignment is wx.ALIGN_LEFT | wx.ALIGN_TOP. As mentioned above, any window belonging to a sizer may have border, and it can be specified which of the four sides may have this border, using the wx.TOP, wx.LEFT, wx.RIGHT and wx.BOTTOM constants or wx.ALL for all directions (and you may also use wx.NORTH, wx.WEST etc instead). These flags can be used in combination with the alignment flags above as the second parameter of the Add() method using the -binary or operator (|). The sizer of the border also must be made +binary or operator (|). The sizer of the border also must be made known, and it is the third parameter in the Add() method. This means, that the entire behaviour of a sizer and its children can be controlled by the three parameters of the Add() method.
@@ -661,7 +661,7 @@ separately. method that can be used to create a standard button sizer in which standard buttons are displayed. The following flags can be passed to this method: -+
@@ -709,7 +709,7 @@ wx.OK button will be default Date and time classes overview
wxPython provides a set of powerful classes to work with dates and times. Some of the supported features of the DateTime class are:
-+
@@ -808,7 +808,7 @@ all of them make sense. For example, multiplying a date by a number is an invalid operation, even though multiplying either of the time span classes by a number is perfectly valid. Here is what can be done:
-+
-- 2.45.2