]> git.saurik.com Git - wxWidgets.git/blame - wxPython/docs/CHANGES.txt
use the passed in ID
[wxWidgets.git] / wxPython / docs / CHANGES.txt
CommitLineData
73adcb01 1Recent Changes for wxPython
8eda5e35 2=====================================================================
6d75ea8f 3
8224a808
RD
4
52.6.0.1
6-------
7
8Added wx.BrushFromBitmap to create a stippled brush in a single step.
9Also added missing brysh style flags: wx.STIPPLE_MASK
10wx.STIPPLE_MASK_OPAQUE.
11
12
13
14
15
8839b5ee
RD
162.6.0.0
17-------
18
1ce1bd84
RD
19wxMSW: Fixed wx.TransientPopupWindow (and therefore wx.TipWindow) to
20auto-dismiss when the mouse is clicked outside of the popup like it is
21supposed to.
8839b5ee 22
1ce1bd84
RD
23wxMSW: Fixed bug #1167891 wx.Notebook display problem with wx.NB_MULTILINE.
24
25wxMSW: Fixed bad cliping of hidden windows inside of wx.StaticBox.
26
27wxGTK: The configure flags for selecting GTK+ 1.2.x or 2.x has
28changed slightly. It is now --with-gtk[=VERSION] where VERSION is
29either '1', '2' or 'any'. The default is '2'.
30
5091b1e8 31wx.stc.StyledTextCtrl: Added the following methods for alternate ways
1ce1bd84
RD
32to set and fetch text from the document buffer. They work similarly
33to the existing methods of the same name, except that they don't go
34through the same string/unicode <--> wxString conversions. The "Raw"
5091b1e8
RD
35methods will do no conversions at all and in a unicode build of
36wxPython the strings will be in the utf-8 encoding and in an ansi
37build no assumption is made about the encoding. The "UTF8" functions
38will attempt to always get/set utf-8 text, which it will always be
39able to do in a unicode build, and in an ansi build it will depend on
40the content of the utf-8 used being compatible with the current
41encoding, (you'll get an exception otherwise.)
1ce1bd84 42
33b0e2df
RD
43 =================== ====================
44 AddTextRaw AddTextUTF8
45 InsertTextRaw InsertTextUTF8
46 GetCurLineRaw GetCurLineUTF8
47 GetLineRaw GetLineUTF8
48 GetSelectedTextRaw GetSelectedTextUTF8
49 GetTextRangeRaw GetTextRangeUTF8
50 SetTextRaw SetTextUTF8
51 GetTextRaw GetTextUTF8
52 AppendTextRaw AppendTextUTF8
53 =================== ====================
8839b5ee
RD
54
55
583d32f6
RD
56wx.stc.StyledTextCtrl: Added the StyleSetFontEncoding(style, enc)
57method that allows you to set the encoding to be used by the font for
58a particular style.
59
e0304640
RD
60wxMac: Fixed wx.ComboBox to forward the EVT_CHAR, EVT_KEY_DOWN,
61EVT_KEY_UP and EVT_TEXT events from its embedded text control.
62
33b0e2df
RD
63wxMac: Corrected refresh bugs in wxGrid.
64
a8e120ce
RD
65XRCed: Updated to version 0.1.5.
66 * Added wxWizard, wxWizardPageSimple (only from pull-down menu).
67 * Hide command for test window.
68 * Replacing classes works better.
69 * Added Locate tool.
33b0e2df 70
8839b5ee
RD
71
72
73
742.5.5.1
41c48dbb
RD
75-------
76
77wxMSW: Fixed bug #1022383, 'several ComboBoxes appear selected'
78
79wx.grid.Grid: Fixed bug #1163384. Moved the code that handles
80activating the cell editors to a EVT_CHAR event handler. This is done
81so the character inserted into the editor will be the "cooked" char
82value (including accented or composed keys) rather than the raw code
1ce1bd84 83provided by the EVT_KEY_DOWN event.
41c48dbb
RD
84
85Added orient parameter to wx.MDIParentFrame.Tile()
86
87wxMSW: wxTextCtrl with wx.TE_RICH2 style now uses RichEdit 4.1 if
1ce1bd84 88available.
41c48dbb
RD
89
90Added GetCount, GetCountRGB, and GetCountColour methods to
1ce1bd84 91wx.ImageHistogram.
41c48dbb 92
27ed367c
RD
93wxMSW: wx.Window.Refresh changed to explicitly refresh all children as
94well as the parent. Previously it was implicitly done because parents
95did not clip their children by default. Now that they always clip
96children then Refresh needed to be fixed to do a recursive refresh.
97This also fixes the Freeze/Thaw problems that some people had with
982.5.4.1.
99
100wx.SplitterWindow: Send EVT_SPLITTER_SASH_POS_CHANGED only once after
101end of dragging and not after each CHANGING event (modified patch
102#1076226)
103
104wx.glcanvas.GLCanvas: applied patch fixing problems with X server
105crash when using nVidia cards (patch 1155132)
106
42f5333f
RD
107wx.lib.mixins.listctrl: Patches from Toni Brkic:
108 * Bugfix for TextEditMixin when the view can't be scrolled
1ce1bd84 109 * Enhancement for ListCtrlAutoWidthMixin, allowing it to manage
42f5333f
RD
110 the width of any column.
111
112wxMac: removal and reusing toolbar tools like the other platforms is
113now possible.
114
115wxMac: Correct radio tool selection after calling Realize a 2nd time.
116
117wxMSW: Applied patch #1166587, removes all flicker from wx.StaticBox
118
119Added wx.lib.foldpanelbar, Andrea Gavana's port of Jorgen Bodde's C++
120wxFoldPanelBar classes to Python.
121
a2e26438
RD
122wxGTK: Applied patch #1173802, reimplementation of GtkFileChooser
123wxFileDialog by Mart Raudsepp. Note that this new file dialog is only
124used on GTK2 >= 2.4. For earlier GTK2 versions and GTK1 then the
125older generic file dialog is used.
126
127wxMSW: fixes to static box borders calculations (finalizes patch
128#1166587)
129
130wx.Image: Use Python's buffer interface API for all image data and
131alpha Set/Get methods and the ImageFromData* constructors. They all
132still copy the buffer except for SetDataBuffer and SetAlphaBuffer, but
133this gives more flexibility on where the data can come from.
134
2a13beb3 135Added MDI support to XRC
b1baed85 136
2e5aa9c4
RD
137Added wx.animate module and a demo. The wx.animate module provides a
138control that is able to display an animated GIF file.
139
140wx.lib.plot.py: Applied patch from Werner F. Bruhin that allows either
141vertical and/or horizontal gridlines.
142
b508ae3a
RD
143wxMSW: Extra space given for top border of wx.StaticBoxSizer so the
144upper line is not cliped when there is no label.
145
146wxMSW: Restored old behaviour of wx.StaticBox.SetBackgroundColour only
147affecting the label.
148
149wxMSW: Fixed missing EVT_RIGHT_DOWN and EVT_TREE_ITEM_RIGHT_CLICK
150events in a wx.TreeCtrl.
151
791fbf34
RD
152Added wx.GetTopLevelWindows() function which returns a copy of the
153list of top-level windows that currently exist in the application.
2e5aa9c4 154
3fa8f722 155Updated docview library modules and sample apps from the ActiveGrid
1ce1bd84 156folks.
3fa8f722 157
1f780e48 158Added the ActiveGrid IDE as a sample application.
b1baed85 159
41c48dbb 160
ca8071ca 161
8839b5ee 162
2da0c077 1632.5.4.1
ca8071ca
RD
164-------
165
3c1705d9 166wx.Sizer Add, Insert, and Prepend functions now return a reference to the
6b9f434e
RD
167wx.SizerItem that was added to the sizer, and the wx.SizerItem has a
168GetRect accessor to give the position of the item on the parent window.
7aada1e0
RD
169
170Added wx.Sizer.GetItem method which returns the wx.SizerItem for the given
171wx.Window, wx.Sizer or position index.
172
173wxMSW: wx.RadioButtons in the same group no longer have to be
174consecutive (there may be intervening controls). Without this fix, an
175out-of-sync assert is generated when clicking on a radio button and
176then calling GetValue().
177
1ce1bd84 178Some XRC changes:
66b50a8f
RD
179 - Added 'icon' property to wxFrame and wxDialog
180 - No longer ignores menu bitmaps on non-MSW platforms
181 - Notebook page bitmaps are now supported
9828eeb4 182 - added system colours and fonts support (based on patch #1038207)
7aada1e0
RD
183
184wxMSW: fix for [ 1052989 ] TextCtrl.SetBackgroundColour(wx.NullColour)
185bug.
186
187Added wx.PasswordEntryDialog analagous to wx.TextEntryDialog, allows
188detecting entering an empty string vs. cancel unlike the
189wx.GetPasswordFromUser dialog function.
190
ca8071ca
RD
191OGL patch from Shane Holloway:
192
193 Two simple problems found in the new python ogl code. First is
b3b61cda 194 the patch for _canvas.py. Essentially::
ca8071ca
RD
195
196 dx = abs(dc.LogicalToDeviceX(x - self._firstDragX))
197 dy = abs(dc.LogicalToDeviceY(y - self._firstDragY))
198
199 was incorrect because (x,y) and (self._firstDragX,
200 self._firstDragY) are both already in Logical coordinates.
201 Therefore the difference between the two is also in logical
202 coordinates, and the conversion call is an error. This bug
203 surfaces when you have OGL on a scrollwin, and you are far from
204 the origin of the canvas.
205
206 The second change in _composit.py basically removes the assumption
207 that the child is in both self._children and self._divisions.
208 Causes many problems when it's not. ;)
209
22685693
RD
210Fixed GetSaveData and SetSaveData in wx.lib.multisash to not depend on
211the default way that class objectss are converted to strings.
ca8071ca 212
3c1705d9 213Fixed problem in StyledTextCtrl.Set[HV]ScrollBar that could leave the
7aada1e0
RD
214internal scrollbar visible.
215
216Added wx.StandardPaths which provides methods for determining standard
217system paths for each platform.
218
9828eeb4
RD
219wxMSW: The window background is now only erased by default if the
220background colour or background mode has been changed. This better
221allows the default system themed behaviour to show through for
222uncustomized windows. Explicit support added for using the correct
223theme texture for wx.Notebook pages and their children.
224
225wx.Image: Added support for alpha channels in interpolated and
226non-interpolated image rotation. Added ConvertAlphaToMask helper
227method for turning shades of grey into shades of alpha and a colour.
228
229wxGTK2: Reimplemented DoDrawRotatedText() by way of a rotation of an
230alpha blended text bitmap. It would be better if Pango could draw
231directly into an wxImage (as FreeType can,) but that is for later...
232
3c1705d9
RD
233Added wrappers and a demo for the wx.MediaCtrl class, which can play
234various forms of audio/video media using native codecs install on the
235system. So far it is only implemented for Windows and OSX.
850ab20b
RD
236
237wxGTK: Patch applied for Freeze()/Thaw() for wxTextCtrtl.
238
239Added "gravity" for splitter window (patch 1046105). Gravity is a
240floating-point factor between 0.0 and 1.0 which controls position of
241sash while resizing the wx.SplitterWindow. The gravity specifies
242how much the left/top window will grow while resizing.
243
244wxMSW: wx.Slider's C++ implementation rewritten to be more
245maintainable and hopefully less buggy. The position of the labels has
246also been changed in order to better comply with Microsoft's examples
247of how to use the control.
9828eeb4 248
94fd5e4d
RD
249wxMSW: Fix wx.TreeCtrl to end label editing if the control loses
250focus (a slightly modified patch 1084592.)
251
252Added wx.EXEC_NODISABLE flag for wx.Execute, which will prevent all
253the app's windows being disabled while a synchronous child process is
1ce1bd84 254running.
94fd5e4d
RD
255
256wxMSW: Much work to correct painting (or leaving transparent) of
257control backgrounds, properly using background themes on XP, etc.
258
259Fixed a circular reference problem with wx.Timer. It will now
260completely cleanup after itself when the last reference to the timer
261is removed. If you were previously using timer.Destroy() to cleanup
262your timers it will no longer work. Instead you should hold a
263reference to the timer and then del the reference when you are
264finished with the timer.
7aada1e0 265
3c1705d9
RD
266Updated to 1.3.24 of SWIG. All of my big patches have been applied to
267the main SWIG source tree, but unfortunatly there were also some bugs
268added that affected the wxPython build and a few details in my
269original patch were changed/removed, so we are still not free of
270patches. A new patch for SWIG is located in the wxPython/SWIG
271directory of the wxPython source tree. SWIG 1.3.24 plus this patch
272should be used by anyone who is making custom modifications to
b3b61cda 273wxPython's .i files, or building their own extension modules or
3c1705d9
RD
274etc. that need to interact with the wxPython swigged types. For the
275morbidly curious, here are a few more details:
276
277 * Since it is now possible easily and simply share the SWIG type
278 tables across modules I reverted to always using the stock SWIG
279 runtime instead of my slightly hacked up version of it exported
280 via the wxPython C API.
281
54e72b1a 282 * The %name directive is now deprecated so I replaced most uses of
3c1705d9
RD
283 it with a custom %Rename macro that uses %rename internally.
284 These will evetually need to be replaced with a DocDecl macro
aeee37c3 285 when docstrings are added for those items.
3c1705d9
RD
286
287 * The "this" attribute of all SWIGged classes is no longer a
288 string containing a "swigified pointer", but rather a custom
289 built-in type that holds the real C pointer to the object and
290 the type info. It can be converted to a string like the old
291 value using str() or to the long integer value of the pointer
292 using long().
293
669e06d7
RD
294Added SetDefaultPyEncoding and GetDefaultPyEncoding functions which
295will set/get the encoding used by wxPython to convert string or
296unicode objects to/from wxString objects. Previously the default
297Python encoding was always used, but unless the user had tweaked their
298sitecustomize.py file it is always "ascii", which would result in
299errors if the strings contained character codes >= 128.
300SetDefaultPyEncoding will now allow you to control which encoding will
301be used to do those conversions. The default encoding is set to the
302value of `locale.getdefaultlocale()[1]` when wxPython is first
303imported. Please see http://www.alanwood.net/demos/charsetdiffs.html
9283228f
RD
304for information on the differences between the common latin/roman
305encodings.
306
307Added wxStdDialogButtonSizer, which is a a special sizer that knows
308how to order and position standard buttons in order to conform to the
309current platform's standards. You simply need to add each `wx.Button`
310to the sizer, and be sure to create the buttons using the standard
7257be76 311ID's. Then call `Realize` and the sizer will take care of the rest.
669e06d7 312
d31aa173
RD
313wxMSW Toolbar: pass correct tool id (and not always -1) to the
314EVT_TOOL_RCLICKED handler
315
b76160ef 316wxGTK: Applied patch for combo box SELECTED events (no longer get
d31aa173
RD
317lots of surplus events)
318
319wxGTK: Applied patch for proper menu highlight colour detection in
320wx.SystemSettings.
3c1705d9 321
aeee37c3
RD
322wxGTK: Commited scrollbar patch #1093339 which sends lineup, linedown
323events based on intercepting the mouse down events.
324
325wxGTK: Applied patch #1102789 which solved conflicts between wxWidgets
326and GTK+'s context menu code.
327
328wxGTK: Applied patch #1100327 for correct feedback from DND actions
329(not all actions are allowed).
330
b3b61cda 331Fixed memory leak in wxGrid::UpdateAttr[Rows][Or][Cols] (patch 1104355)
aeee37c3
RD
332
333For efficiency reasons, text controls no longer set the string for
334each text updated event, but rather query for the string value only
335when GetString is called from an event handler.
336
337Added wx.SL_INVERSE style which will cause wx.Slider to invert the min
c6b65b76 338and max ends of the slider.
aeee37c3 339
e6bd0b8b
RD
340Several patches applied, such as #1111174, #1110252 and others, that
341make the generic wx.TreeCtrl (used on wxGTK and wxMac) be more
342conistent with the wxMSW native wx.TreeCtrl.
343
e6bd0b8b
RD
344XRCed:
345 * Edit->Locate command (Ctrl-L) for quick selection of items.
346 Works with event-handling controls (buttons, text fields) but
347 not with labels/sizers.
348 * Some improvements: relative paths for files supplied as command-
349 line argument work correctly, notebook panels are highlighted
350 better.
351
352wxMac: Fixed a long-standing issue where wxSlider controls with a
353hardcoded size would misplace their labels behind the slider control.
354
355wx.HtmlListBox fixed so calling RefreshLine(s) will cause the data for
b3b61cda
RD
356that line to be refetched from the overridden methods in the derived
357class.
e6bd0b8b
RD
358
359The default DoGetBestSize now includes the difference (if any) between
b3b61cda
RD
360the client size and total size of the window, (such as the size of
361borders.) Code that sets the client size using the best size, or that
362added extra space to sizers to compensate for this bug may need to be
363changed.
364
365Can suppress themed notebook pages with the wxNB_NOPAGETHEME style or
366setting system option msw.notebook.themed-background to 0.
367
368wxSyledTextCtrl updated to use Scintilla 1.62.
369
370Can now set the msw.window.no-clip-children system option to 1 to
371eliminate weird refresh behaviour (delays between a window being
372erased and repainted, giving a ghostly gradual-redraw effect). May be
373a temporary 'fix' until properly fixed before 2.6.
e6bd0b8b 374
b3b61cda 375wxMac: Toolbar is now more native looking with borderless toolbar
1ce1bd84 376buttons.
e6bd0b8b 377
67a5217c
RD
378wxMac: Switched wx.Bitmap to use newer Quartz object types and APIs
379internally. This results in faster display and better alpha support.
380
b3b61cda 381Added wx.DatePickerCtrl.
aeee37c3 382
51c5e1f2
RD
383wx.html.HtmlWindow now supports background images.
384
385Added wx.lib.gestures module from Daniel Pozmanter which supports
386using Mouse Gestures in an application.
387
2da0c077
RD
388wxGTK2: ENTER and LEAVE mouse events are now sent for multi-line text
389controls.
390
391wxMSW: "Alt" key (VK_MENU) now results in WXK_ALT keyboard event, not
392WXK_MENU
393
d1dc2b32
RD
394Added modules from Peter Yared and Morgan Hua that implement the wx
395Doc/View framework in pure Python code. See wx.lib.docview for the
396base implementation and wx.lib.pydocview for Python-specific
397extensions. There are also a couple sample applications located in
1ce1bd84 398samples/docview.
2da0c077 399
e63d6c30
RD
400Added GetBitmap, GetIcon to wx.ImageList.
401
402wxGTK wx.Button.SetLabel no longer invalidates/resets the font.
403
404wx.Sizer.AddWindow, AddSizer, AddSpacer and etc. have now been
405undeprecated at the request of Riaan Booysen, the Boa Constructor team
406lead. Boa needs them to help keep track of what kind of item is being
407managed by the sizer. They are now just simple compatibility aliases
408for Add, and etc.
409
a0c70b76
RD
410The old C++ version of the OGL lib is no longer built by default. Use
411the Python version in the wx.lib.ogl package instead.
412
413The wx.iewin module is no longer built by default. You can use the
414wx.lib.iewin version instead.
415
67a5217c
RD
416Fixed wx.BufferedPaintDC for scrolled windows to work whether the
417buffer is covering only the client area or the full virtual area of
418the scrolled window. By default it will assume that only the client
3ad32bab
RD
419area is covered. This is different than the old behavior so to
420indicate that the entire virtual area is covered simply add a
421style=wx.BUFFER_VIRTUAL_AREA parameter.
67a5217c
RD
422
423wx.gizmos.TreeListCtrl: Add support for the EVT_TREE_ITEM_GETTOOLTIP
1ce1bd84 424event.
2da0c077 425
2314e5ec 426Added Resize, SetRGBRect, Size, and GetOrFindMaskColour methods to
1ce1bd84 427wx.Image.
2314e5ec
RD
428
429Added wx.Rect.IsEmpty
430
7b625c31
RD
431wxGTK:
432 - Corrected wx.ListBox selection handling
433 - Corrected default button size handling for different themes
434 - Corrected splitter sash size and look for different themes
435 - Fixed keyboard input for dead-keys
2314e5ec 436
7aada1e0 437
ca8071ca
RD
438
439
0dece789 4402.5.3.1
4f5ff1b2
RD
441-------
442
443wxMac focus and border refreshes corrected.
444
445Updated internal PNG library.
446
447wxMac fix for metal appearance on wx.ToolBar.
448
449wx.grid.Grid fix allowing DoGetBestSize to be called before CreateGrid
450(which means that a min size doesn't need to be specified.)
451
452wxMac fix for not sending a native click to a control if it is not
453enabled (does an enable itself)
454
31b46829 455Added wx.lib.ogl.DrawnShape, and fixed various little bugs in the new
1ce1bd84 456OGL.
4f5ff1b2
RD
457
458Added support to XRC and XRCed for the 3-state checkbox flags and also
459for wx.ToggleButton. Updated the generic window styles supported by
1ce1bd84 460XRCed.
4f5ff1b2
RD
461
462It is now possible to create "stock" buttons. Basically this means
71e60f70
RD
463that you only have to provide one of the stock IDs (and either an
464empty label or a label that matches the stock label) when creating the
465button and wxWidgets will choose the stock label to go with it
466automatically. Additionally on the platforms that have a native
467concept of a stock button (currently only GTK2) then the native stock
468button will be used. For example, the following will result in a
e6bd0b8b
RD
469button with "Cancel" as the label and if run on wxGTK2 then there will
470also be an image of a red X::
4f5ff1b2 471
1ce1bd84 472 b = wx.Button(parent, wx.ID_CANCEL)
4f5ff1b2
RD
473
474
475Added wx.lib.ticker.Ticker class from Chris Mellon.
476
71e60f70
RD
477Fix some incorrect clipping regions in wxSTC on wxGTK.
478
479Added wrapper for wx.grid.Grid.GetOrCreateCellAttr.
480
11908acc
RD
481Removed my copy of distutils from the wxPython source tree. Now that
482I am no longer doing builds on Python 2.1 the newest distutils is no
483longer needed. (There is still one small bug in Python 2.2 distutils
484on win32, but it is easily worked around.) This sovles the problem of
485incorrect builds on some systems where the system installed distutils
486has been patched to behave slightly differently, for example SuSE on
487x86_64 or Chandler's build.
488
da72c540
RD
489Updated to SWIG 1.3.22 (plus my patch.) See wxPython/SWIG/README.txt
490in the source tree if you need to use SWIG when building your own copy
491of wxPython, or other extension modules that need to integrate with
492the wxPython modules.
493
6afcb800
RD
494Added wx.Frame.RequestUserAttention which, if the platform suports it,
495will do something (such as flash the task bar item) to suggest to the
496user that they should look at that window.
497
31b46829
RD
498"Fixed" wx.grid.Grid.SetDefaultEditor and SetDefaultRenderer by making
499them register the editor or renderer for the "string" data type.
500
501Added depth param to wx.Image.ConvertToBitmap.
502
503Extended the wx.calendar.CalendarCtrl class with methods that get/set
504a Python datetime or date object. (These will only work with Python
5052.3+) The methods are PySetDate, PyGetDate, PySetLowerDateLimit,
506PySetUpperDateLimit, PySetDateRange, PyGetLowerDateLimit, and
5f13b2ca
RD
507PyGetUpperDateLimit. Also, CalendarEvent was extended with PySetDate
508and PyGetDate methods.
31b46829 509
6c3f6fe9
RD
510wxMSW: SetBackgroundColour on a wx.Choice or a wx.ComboBox will now
511also set the colour of the dropdown.
512
8dca2f3d
RD
513wxMac: MessageDialog now supports wx.NO_DEFAULT style
514
515wxMSW: added AssociateHandle and DissociateHandle to wx.Window
516
517wxMac: fix for toolbar tooltips
518
519wx.Sizer.Show (and Hide) now take an optional parameter specifying if
520the item to be shown should be searched for recursivly in subsizers,
521and return a boolean value indicating if the item was found.
522
96d49f0e
RD
523wxMSW: fixed MaximizeEvent generation in wx.Frame
524
525wxMSW: fixed sending duplicate EVT_COMBOBOX events
526
527Smoother time estimation updates in wx.ProgressDialog (patch 992813)
528
529Made wx.Listbook events more consistent with wx.Notebook ones (patch
5301001271)
531
532Fixed rounding errors in variable status bar panes widths computation
533(patch 1030021)
534
535Added possibility to specify printer bin (patch 910272)
536
537wxMSW: fixed wx.ListCtrl's SetWindowStyleFlag() to not remove
538WS_VISIBLE; also refresh the control automatically (closes bug
5391019440)
540
541Added wx.Choicebook, yet another notebook-like control.
542
543wxMSW: Make radiobutton tab behaviour the same on MSW as in standard
544MSW app, i.e. tab into the activated, not necessarily the first radio
545button.
546
547Added limited support for wxEventLoop (you can't derive from a
548wx.PyEventLoop version yet...) Updated and moved the sample showing
549how to replace the MainLoop to samples/mainloop/mainloop.py.
8dca2f3d 550
38b97c15
RD
551The C++ xrc lib has been moved out of contrib and into the core, so it
552is always built by default. wxPython's build has also changed
553accordingly and will build the xrc module as part of the core set of
554modules built by default. If you were axplicitly using BUILD_XRC then
555it will no longer be recognized as a build option, otherwise you
556should notice no difference.
557
c0e1f6b6
RD
558wxMac: Fixed radio toolbar buttons to correctly untoggle the others
559when a new one is selected.
560
561wxMac: Fixed GetLineLength and GetLineText for MLTE text controls
562
563wxMac: wx.TaskBarIcon is implemented by allowing you to change the
564app's icon on the Dock and also specifying a menu that should be
565merged with the normal dock popup menu. See the MigrationGuide for
566more details and a warning.
567
568Added wx.TopLevelWindow.IsActive() which tells you if the frame or
569dialog is or containts the active window with the keyboard focus.
570
571Added ability to create a font based on pixel size rather than point
572size via the FontFromPixelSize constructor.
573
574Updated the Scintilla used by StyledTextCtrl to version 1.61
575
576Improved image HitTest for TreeListCtrl.
577
578Added wx.App.IsMainLoopRunning.
579
580wxGTK: Make wxComboBox spit out a bit fewer surplus events when
581holding down the mouse button.
582
583wxGTK: Enable key based navigation through notebook tabs as in the
584native control with Left and right keys. Support for vetoing.
585
f54a36bb
RD
586FloatCanvas updates from Chris Barker
587
588PyPlot updates from Gordon Williams:
589 - Added bar graph demo
590 - Modified line end shape from round to square.
b31cbeb9
RD
591 - Removed FloatDCWrapper for conversion to ints and ints in
592 arguments
593 - Imported modules given leading underscore to name.
1ce1bd84 594 - Added Cursor Line Tracking and User Point Labels.
b31cbeb9
RD
595 - Demo for Cursor Line Tracking and Point Labels.
596 - Size of plot preview frame adjusted to show page better.
597 - Added helper functions PositionUserToScreen and
598 PositionScreenToUser in PlotCanvas.
599 - Added functions GetClosestPoints (all curves) and GetClosestPoint
600 (only closest curve) can be in either user coords or screen
601 coords.
f54a36bb 602
f54a36bb
RD
603MaskedEdit updates from Will Sadkin:
604 - Added '*' mask char that means "all ansii chars" (ords 32-255)
605 - Added proper unicode support to masked controls and wx.tools.dbg
606 - Fixed two reported missing import bugs introduced by package
607 creation
608 - Converted masked package doc strings to reST format for better
609 epydoc support
610 - lots of doc string improvements and function hiding to better
611 reflect package's public contents.
612
15513a80
RD
613Restructured the installer packages slightly to help facilitate having
614multiple versions of wxPython installed at the same time. See the
615Migrarion Guide for more information.
616
617Applied patch from Pim Van Heuven that modifies 4 files:
618 - wxPython/demo/ListCtrl_edit.py (new demo)
619 - wxPython/demo/Main.py (include new demo in demo app)
1ce1bd84 620 - wxPython/wx/lib/mixins/listctrl.py (several improvements to
15513a80
RD
621 TextEditMixin)
622 - wxPython/wx/lib/wxpTag.py (some small fixes)
38b97c15 623
f6f1e19f
RD
624Added (thanks to Kevin Ollivier!) wrappers for wx.WebKitCtrl for the
625OSX build. Other platforms will raise an exception if you try to use
1ce1bd84 626it.
f6f1e19f 627
85245f48
RD
628wxPython on OSX can now be built in Unicode mode, can support multiple
629version installs, and comes with an uninstaller script.
630
631
4f5ff1b2
RD
632
633
3801d366
RD
634
6352.5.2.8
636-------
637
b5f2d1f3
RD
638Predominantly a bug-fix release.
639
640 * Fixed fatal error due to improper wrapping of wx.FSFile.
641
642 * Fixed return type of EditableListBox.GetListCtrl
643
644 * Give generic tree and list controls a DoGetBestSize so they play
645 nicer with sizers when there is no minimal size.
646
647 * Some tweaks in the demo and samples to correct layout, some
648 flicker problems, and namespace use.
649
650 * Add wx.Image.ConvertAlphaToMask
651
652 * Minor corrections in wx.lib.dialogs
653
654 * wx.FileHistory constructor now accepts the documented 2nd
655 parameter.
656
657 * Corrections for exceptions in the new ogl
658
659 * Fixed XRCed to not use reparenting of windows to implement caching
660 of property panels, since Reparent on wxMac is not implemented.
661
662 * Add support for wxTAB_TRAVERSAL to the XRC handler for
1ce1bd84 663 wxScrolledWindow.
b5f2d1f3
RD
664
665 * Add support for all wxListBox styles to the XRC handler for
1ce1bd84 666 wxCheckListBox.
b5f2d1f3
RD
667
668 * Fix for wx.Listbook.DeleteAllPages to really delete everything.
669
670 * wxGTK2 now supports alpha blended bitmap drawing
671
9c618512
RD
672 * Made wx.grid.Grid play nicer with sizers.
673
b5f2d1f3 674 * etc.
3801d366
RD
675
676
677
678
e155ca47 6792.5.2.7
95fed4d8
RD
680-------
681
682wx.ADJUST_MINSIZE is now the default behaviour for window items in
ffcb969e
RD
683sizers. This means that the item's GetMinSize and/or GetBestSize will
684be called when calculating layout and the return value from that will
cb8f28ba
RD
685be used for the minimum size used by the sizer. The wx.FIXED_MINSIZE
686flag was added that will cause the sizer to use the old behaviour in
687that it will *not* call the window's methods to determine the new best
688size, instead the minsize that the window had when added to the sizer
da2c7672
RD
689(or the size the window was created with) will always be used. Please
690see the Sizers section in the Migration Guide for more details.
cb8f28ba 691
c878ceea
RD
692Added new MaskedEditControl code from Will Sadkin. The modules are
693now locaed in their own sub-package, wx.lib.masked. Demos updated.
694
d7403ad2
RD
695The changes that implemented the incompatible wx.DC methods in 2.5.1.5
696have been reverted. The wx.DC methods are now compatible with the 2.4
697implemetation. In addition a set of renamed methods have been added
698that take wx.Point and/or wx.Size objects instead of individual
1ce1bd84 699parameters.
d7403ad2 700
5841276a
RD
701Added wx.lib.mixins.listctrl.TextEditMixin, a mixin class that allows
702all columns of a wx.ListCtrl in report mode to be edited.
ba938c3d 703
165e6ca3
RD
704Deprecated the wx.iewin module.
705
706Deprecated the wx.Sizer.AddWindow, AddSizer, AddSpacer methods as well
707as their Insert* and Prepend* counterparts.
708
969d9b6f
RD
709Added a generic StaticBitmap class in wx.lib.statbmp for the same
710reasons that stattext was created, so it could be mouse sensitive on
711all platforms like normal windows. Also updated stattext.py and
712buttons.py to handle attribute (font & colour) defaults and
713inheritance the new way. If you have custom controls of your own you
714should review stattxt.py or one of the others to see how it is to be
715done.
165e6ca3 716
a3150741
RD
717wx.InitAllImageHandlers is now an empty function that does nothing but
718exist for backwards compatibility. The C++ version is now called
719automatically when wxPython is initialized. Since all the handlers
720are included in the wxWidgets shared library anyway, this imposes only
721a very small amount of overhead and removes several unneccessary
722problems.
723
d1e05453 724Replaced wx/lib/pubsub.py with a version that uses weak references to
89c876de
RD
725track the subscribers, plus other fixes/additions. Thanks go to
726Oliver Schoenborn and Robb Shecter.
d1e05453 727
89c876de
RD
728wxGTK now uses gtk_init_check so wxPython can raise an exception if
729there is no DISPLAY available or other initializaion problem.
730
731wx.GetKeyState now has an implementation for wxGTK and is able to
732detect the up/down or toggle state of modifier and toggle keys.
733
734The LC_NUMERIC locale is now reset back to "C" (compatibility) when
735running on wxGTK to work around the fact that GTK requires the locale
736to be set to the system settings but Python depends on LC_NUMERIC
737remaining compatible with "C".
a3150741 738
28eab81f
RD
739Switched gizmos.TreeListCtrl to the newer version of the code from the
740wxCode project.
741
f847103a
RD
742OGL is dead! LONG LIVE OGL! (Oops, sorry. A bit of my dramatic side
743leaked out there...) The wx.ogl module has been deprecated in favor
744of the new Python port of the OGL library located at wx.lib.ogl
745