ANNOUNCE: wxPython 2.4.0.4

Robin Dunn robin at alldunn.com
Sat Mar 8 02:04:29 CET 2003


wxPython 2.4.0.4 is now available for download at 
http://wxpython.org/download.php

wxPython is a popular cross platform GUI toolkit for the Python language 
that supports running Python apps on Win32, Mac OSX, and Linux/Unix 
systems, using native widgets and therefore natiove look and feel on the 
respective plafroms.

 From the webpage given above you can download source code, 
documentation and pre-built wxPython packages for various platforms and 
for various versions of Python (2.1, 2.2 or 2.3, except for OS X which 
only has a build for 2.3)

Here is a list of changes since the last release:



2.4.0.4
-------

Added missing wxRect methods

Add OOR support for wxApp objects too.

Added wxCursorFromImage, which works on wxMSW and wxGTK so far.

All platforms now send EVT_DESTROY_WINDOW.  Be warned that at the time
the event is sent the window is in the process of being deconstructed,
and so calling some (most?) methods of the window itself may cause
problems.

Fixed SF Bug #689481, a method in the OGL wrappers was using the wrong
return type.

Fixed SF Bug #689958, an endless loop in printout.py.

Added EVT_WINDOW_CREATE_ID and EVT_WINDOW_DESTROY_ID so these events
can be associated with a specific window ID and more easily caught by
the parent window.

Fixed copy-paste error in wxListCtrl.GetFirstSelected.

Added missing Init method (and an overloading wrapper) to wxLocale
wrapper.

Added a wxBitmap.SetMaskColour convenience method.

Changed how the dynamic event tables (used for all Python wx classes,
C++ wx classes typically use static event tables) are searched such
that they behave from a Python perspective more like the static tables
in C++.  Namely that if there are identical event bindings in a base
Python class and a derived Python class that the one in the derived
class will be found first and that if Skip is called that the one in
the base class will still be found instead of skipping directly to the
static stable in the C++ class.

Switched to using True/False in the wxPython lib and demo instead of
true/false or TRUE/FALSE to prepare for the new boolean type and
constants being added to Python.  Added code to wx.py to test for the
existence of the new constants and to create suitable values if not
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_GetMacDefaultEncodingIsPC
        wxApp_GetMacSupportPCMenuShortcuts
        wxApp_GetMacAboutMenuItemId
        wxApp_GetMacPreferencesMenuItemId
        wxApp_GetMacExitMenuItemId
        wxApp_GetMacHelpMenuTitleName
        wxApp_SetMacDefaultEncodingIsPC
        wxApp_SetMacSupportPCMenuShortcuts
        wxApp_SetMacAboutMenuItemId
        wxApp_SetMacPreferencesMenuItemId
        wxApp_SetMacExitMenuItemId
        wxApp_SetMacHelpMenuTitleName

Refactored, enhanced and added capabilites for the DrawXXXList
functions, inspired by code from Chris Barker.

The wxWindows .mo language catalog files are now installed in a
subdirectory of the wxPython package dir on MSW since that platform
doesn't have a standard place for them.

Added missing deselect methods for wxGrid.

Fixed typemaps for wxGridCellCoordsArray.

Updated to the 0.9a version of PyCrust




-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!







More information about the Python-list mailing list