]> git.saurik.com Git - wxWidgets.git/blame - wxPython/CHANGES.txt
fixed à parsing (here too)
[wxWidgets.git] / wxPython / CHANGES.txt
CommitLineData
6d75ea8f
RD
1CHANGES.txt for wxPython
2
3----------------------------------------------------------------------
4
9416aa89
RD
5
62.3.0
19cf4f80
RD
7-----
8Removed initial startup dependency on the OpenGL DLLs so only the
9416aa89 9glcanvasc.pyd depends on them, (on wxMSW.)
19cf4f80
RD
10
11Changed wxFont, wxPen, wxBrush to not implicitly use the
9416aa89
RD
12wxThe[Font|Pen|Brush]List objects behind the scenes, but to use normal
13ctor and dtors.
19cf4f80
RD
14
15Exposed the wxThe[Font|Pen|Brush]List to wxPython.
16
1af9e5c5 17Also added wxTheColourDatabase and added a library module (in the
19cf4f80
RD
18wxPython.lib.colourdb module) to load LOTS more colour names into the
19colour database.
20
6e18ca6c
RD
21Added wxWakeUpMainThread, wxMutexGuiEnter, wxMutexGuiLeave,
22wxMutexGuiLocker and wxThread_IsMain to assist with dealing with GUI
23access from non-GUI threads.
24
1af9e5c5
RD
25wxPyOnDemandOutputWindow is now (more) thread safe if non-GUI threads
26use print, sys.stdout.write, etc.
6e18ca6c 27
6bb38ab6
RD
28Added CreateTextSizer and CreateButtonSizer to wxDialog
29
6bb38ab6
RD
30Added wxPython/lib/infoframe.py from Chris Fama. It contains a class
31that can be used in place of wxPyOnDemandOutputWindow.
32
49875c53
RD
33Added colourselect.py, imagebrowser.py and an updated calendar.py to
34wxPython/lib from Lorne White.
35
e0672e2f
RD
36Added patch to wxPoint_LIST_helper from Tim Hochberg that should make
37it gobs faster in certain situations.
6bb38ab6 38
1af9e5c5
RD
39Added tools that will take an image file in a wx supported format and
40convert it to data embedded in a Python source file. The image is
9416aa89
RD
41converted to XPM format which is essentially a list of strings
42containing info about each pixel. The image's transparency mask is
43included, if there is one, or a mask can be added if a mask colour is
44specified on the command line. It is then pickled and optionally
45compressed and written to a Python source file along with functions to
46convert it to either a wxBitmap or a wxImage. See
47wxPython/demo/images.py for examples, and wxPython/Tools/img2py.py for
48the implementation.
1af9e5c5
RD
49
50Fixed wxStyledTextCtrl to be much faster on wxGTK. There was some
51experimental code that got left in place that ended up causing way too
52many refreshes.
53
d1679124
RD
54A couple more hacks in my_distutils.py so wxPython can be built with
55the distutils that comes with Python 2.1.
1af9e5c5 56
d7ec6564 57Added a ton of missing methods for wxPrintData.
1af9e5c5 58
d7ec6564 59Switched to InnoSetup for MSW distributions.
19cf4f80 60
3b36695d
RD
61Added wxToggleButton.
62
63Fixed bug that prevented wxTreeCtrl.OnCompareItems from being called.
d1679124 64
9416aa89
RD
65Added some methods to wxGrid:
66 GetCellHighlightPenWidth
67 GetCellHighlightROPenWidth
68 SetCellHighlightPenWidth
69 SetCellHighlightROPenWidth
70 GetGridWindow
71 GetGridRowLabelWindow
72 GetGridColLabelWindow
73 GetGridCornerLabelWindow
74
75Added wxGetClientDisplayRect which on wxMSW returns a wxRect
76representing the area on screen not occupied by the taskbar and such.
77On other platforms it is equivallent to wxGetDisplaySize.
78
79
80***---***---***---***---***---***---***---***---***---***---***---
81 Implemented the first phase of OOR (Original Object Return). See
82 the text in the demo for more details of what this means, but in a
83 nutshell methods such as wxWindow.GetParent or FindWindowById will
84 now return a shadow object of the proper type if it can. By
85 "proper type" I mean that if the wxWindow pointer returned from
86 FindWindowById really points to a wxButton then the Python object
87 constructed will be of a wxButtonPtr class instead of wxWindowPtr
88 as before. This should reduce or eliminiate the need for
89 wxPyTypeCast. (Woo Hoo!) The objects returned are still not the
90 original Python object, but that is the next step. (Although it
91 will probably only work on Python 2.1 and beyond because it will
92 use weak references.)
93
94 This first phase of the OOR plan is fairly significant and has
95 required a lot of changes all over wxPython, most of which should
96 be transparent to you, however I'm not 100% sure that it didn't
97 introduce any new bugs that are hiding somewhere and didn't get
98 stomped on during my testing. So please be sure to test everything
99 thoroughly when you install this version and be sure to report any
100 object-type related oddities to me.
101***---***---***---***---***---***---***---***---***---***---***---
102
103There is now a wxObject class that most other classes derive from like
104in C++, but the methods provided don't really match but are wxPython
105specific. It could have been added long ago but OOR required it.
106
107Finally added wxPyLineShape.GetLineControlPoints, which has been on my
108list for a while. The above OOR modification made this easier.
d1679124 109
419c299a
RD
110Fixed the __cmp__ methods for wxPoiunt and others.
111
493f1553
RD
112Added wxWave.
113
114
19cf4f80
RD
115
116
b075a3bb
RD
1172.2.6
118-----
119
120No changes happened in the Python wrappers for this release, only
121changes and fixes in the wxWindows library.
122
1b62f00d 123
19cf4f80 124
1b62f00d 1252.2.5
185d7c3e
RD
126-----
127
128New typemaps for wxString when compiling for Python 2.0 and beyond
129that allow Unicode objects to be passed as well as String objects. If
130a Unicode object is passed PyString_AsStringAndSize is used to convert
131it to a wxString using the default encoding.
132
133Fixed the generic buttons so tool tips work for them.
134
135Fixed a bug in the demo's tree control.
136
137Added a listbox to the listbox demo that shows how to find items with
1e7ecb7b 138a matching prefix as keys are typed.
185d7c3e
RD
139
140Added code to the wxListCtrl demo to show how to get text from a
141column in report mode.
142
143Added code to the toolbar demo to clear the long help from the status
144bar after 2 seconds.
145
146Added wxJoystick.
147
148Fixed wxTimer so it can be used as described in the docs, either with
149a Notify method in a subclass, or sending an event to a wxEvtHandler
150object, (usually a window.)
151
152Added wxNotifyEvent.Allow()
153
de20db99
RD
154Fixed GOBS of reference leaks.
155
1e7ecb7b
RD
156Massive code changes and cleanup to allow wxPython to be split into
157multiple extension modules again. A Python CObject is used to allow
1b62f00d
RD
158the "export" of SWIG functions and other common helper functions from
159the wxc module to other modules, even if they are in separate shared
1e7ecb7b
RD
160libraries. Should also be usable from 3rd party code, just include
161wxPython/src/export.h
162
163Changed the default setup so the following are built as separate
164extension modules: calendar, glcanvas, grid, html, ogl, stc, and
165utils. Will probably add more later.
166
1b62f00d
RD
167Changed the wxPrinterDC to use the new constructor taking a
168wxPrintData object. The old ctor is still there using the
169wxPrinterDC2 name.
170
171Added wxPython.lib.anchors.py from Riaan Booysen. It contains a class
172that implements Delphi's Anchors with wxLayoutConstraints.
173
174Added wxPython.lib.fancytext from Timothy Hochberg.
175
176Changed the GenericButtons to send their event in idle time, so the
177mouse won't be captured when the event handler is called.
178
179Added wxPython.lib.rpcMixin from Greg Landrum, although it's not
180integrated with the demo yet. It allows a wxPython GUI to be an
181XML-RPC server.
182
185d7c3e
RD
183
184
c368d904
RD
185New in 2.2.2
186------------
187
188Significantly changed how the wxStyledtextCtrl code that wraps
189Scintilla is implemented. Most of it is now automatically generated
190from an interface definition file provided by Scintilla. This means
191that it will be much easier to stay in sync with new Scintilla
192releases, but also means that some of the method and identifier names
193have changed. See wxPython/demo/data/stc.h for a copy of the C++
194interface from which the Python interface is generated. There is now
195some inline documentation in that file that should really help explain
196how things work.
197
198I am now using the Python Distutils to build wxPython and to make some
199of the distribution files. (See http://www.python.org/sigs/distutils-sig/)
200This means no more messing with my kludgy build.py/Makefile hack,
201builds will be more consistent with other Python extensions that also
202use Distutils, and will hopefully make wxPython easier to build for
203platforms where there have been troubles before. If you are building
204wxPython for Python 1.5.2 or for 1.6, then you will need to get and
205install version 1.0 of Distutils from the website above. If you are
206using Python 2.0 then you already have it.
207
208Added wxInputStream and the wxFileSystem family of classes,
209contributed by Joerg Baumann.
210
211Added wxProcess and support for it to wxExecute. wxProcess lets you
212get notified when an asyncronous child process terminates, and also to
213get input/output streams for the child process's stdout, stderr and
214stdin.
215
216Removed the old python sizers.
217
218Added __add__, __sub__ and __cmp__ (equality check only) for wxPoint
219and wxRealPoint.
220
221Changed the build to make one big extension module instead of one for
222the core and each contrib. This allowed me to do away with the
223libwxPyHelpers.so on unix systems.
224
225Lots of little fixes here and there.
226
227Some hacks on wxGTK to try and make the AutoComplete listbox in the
228wxStyledTextCtrl to behave better. It's still not as nice as on
229wxMSW, but at least it's a bit more usable now.
230
231
232
233
3ca6a5f0
BP
234New in 2.2.1
235------------
236
237Various tweaks, fixes, missing methods, etc.
238
c368d904
RD
239Added example use of wxTaskBarIcon to the demo.
240
3ca6a5f0
BP
241
242
f6bcfd97
BP
243New in 2.2.0
244------------
245
246Added wxLog and friends.
247
248Added wxFrame.ShowFullScreen for MSW.
249
250Added PyShellWindow to the wxPython.lib package.
251
252
253
254New in 2.1.16
255-------------
256
257Added an attribute named labelDelta to the generic buttons that
258specifies how far to offset the label when the button is in the
259depressed state.
260
261Added wxTipProvider and friends. See the demo for an example.
262
263wxGrid can now change the cell highlight colour.
264
265Added wxDragImage.
266
267Fixed printing on wxGTK.
268
269Added wxDateTime, wxTimeSpan, and wxDateSpan to wxPython.utils.
270
271Added wxCalendarCtrl.
272
273WARNING: A while back I asked what should be done about the Magic
274Method Names. (Methods that are automatically turned into event
275handlers by virtue of their name.) The consensus was that it is more
276confusing to have them than to try and expand them to have greater
277coverage. I am finally getting around to removing the code that
278generates the event binding. This means that if you are using any of
279the following method names without a EVT_* call that you need to
280modify your code to add the EVT_* to hook the event to the method.
281
282 OnChar
283 OnSize
284 OnEraseBackground
285 OnSysColourChanged
286 OnInitDialog
287 OnPaint
288 OnIdle
289 OnActivate
290 OnMenuHighlight
291 OnCloseWindow
292 OnScroll
293
294Added wxSpinCtrl.
295
296
297
298
299New in 2.1.15
164b735b
RD
300-------------
301
302Fixed wxTreeCtrl.HitTest to return both the tree item as well as the
303flags that clairify where the click was in relation to the item.
304
854862f5
RD
305Fixed thread state problem in wxTreeCtrl.GetBoundingBox and
306GetSelections.
164b735b 307
99ab9f3b
RD
308Fixed some problems in OGL. Also wxShape.SetClientData and
309.GetClientData can now deal with Python objects.
714d23b4 310
dcd38683 311Added wxListCtrl.SortItems and changed the demo to show how to use it.
714d23b4 312
f6bcfd97
BP
313Plugged a memory leak.
314
315Wrapped the new wxGrid and friends. The old wxGrid class is no longer
316available. There are some incompatibilities, and unfortunately the
317new classes are not documented yet, (however the methods are more
318consistent with each other now so you may be able to guess pretty
319good...)
320
321Updated filebrowsebutton.py and calendar.py with changes from their
322authors. There is now a FileBrowseButtonWithHistory class (what a
323mouthful!) and wxCalendar has printing support.
324
325Added ActiveXWrapper to the library, and some good demos of it too.
326It works great for embedding a COM (a.k.a OCX, a.k.a ActiveX) control
327in a window and calling its methods. It actually creates a new class
328on the fly that derives from wxWindow, the COM CoClass and others
329needed to make it all work. The resulting class can be instantiated
330just like wxWindow, used in sizers, etc. It also responds to all COM
331method calls, properties, etc., and if the class or a mix-in has
332matching method names, then the COM events will be propogated back to
333them.
334
335Created a typemap that allows a string to be used for parameters
336expecting a wxColour type. The string is either a colour name as
337defined in the wxColourDatabase, or a colour spec of the form
338"#RRGGBB". See the wxStyledTextCtrl demo for an example.
339
340I almost forgot to mention the wxStyledTextCtrl! Yes, the
341wxStyledTextCtrl is finally in wxPython!! (And the crowd goes
342wild...) There's no documentaTion yet (the crowd boos and hisses...)
343but I've included a very readable source file in the
344wxPython/demo/data directory, a couple fairly good examples, and you
345can also refer to the Scintilla documentaion at
346http://www.scintilla.org/ScintillaDoc.html to help fill in the gaps
347until the docs are done. (The croud murmers contentedly as the tool
348provider smiles convincingly and removes his flame-proof suit.)
349
164b735b
RD
350
351
352
9e57c2a0 353What's new in 2.1.13
6d75ea8f 354--------------------
9e57c2a0
RD
355Skipped a version number to match what has been released for wxGTK.
356
6d75ea8f
RD
357Updated wxMVCTree and added a demo for it, also fixed layout on GTK
358and some flicker problems.
359
360Added a wrapper class for the Visualization ToolKit (or VTK) in the
361wxPython.lib.vtk module. (http://www.kitware.com/)
362
363Fixed wxTreeCtrl.SetItemImage and GetItemImage to recognise the new
364"which" parameter.
365
366Added wxPython.lib.spashscreen from Mike Fletcher.
367
368Added wxPython.lib.filebrowsebutton also from Mike Fletcher.
369
370Renamed wxTreeCtrl.GetParent to GetItemParent to avoid a name clash
371with wxWindow.GetParent.
372
373Added wxIntersectRect to compute the intersection of two wxRect's.
374It is used like this:
375
376 intersect = wxIntersectRect(rect1, rect2)
377
378If r1 and r2 don't intersect then None is returned, otherwise the
379rectangle representing the intersection is returned.
380
381Some bug fixes for Clipboard and Drag-n-Drop.
382
9b3d3bc4 383Rotated text!!! WooHoo! (See wxDC.DrawRotatedText())
6999b0d8
RD
384
385Added a set of Generic Buttons to the library. These are simple
386window classes that look and act like native buttons, but you can have
387a bit more control over them. The bezel width can be set in addition
388to colours, fonts, etc. There is a ToggleButton as well as Bitmap
9e57c2a0
RD
389versions too. They should also serve as a good example of how to
390create your own classes derived from wxControl.
6d75ea8f 391
9b3d3bc4
RD
392The C++ wxToolBar classes have been redone, and so have the wxPython
393wrappers. There have been slight modifications to some of the methods
394but shouldn't impact anybody too much. I took the opportunity to add
395support for setting user data on each toolbar tool. The new AddTool
396methods look like this:
397
398 def AddTool(ID,
399 bitmap,
400 pushedBitmap = wxNullBitmap,
401 toggle = FALSE,
402 clientData = NULL,
403 shortHelpString = "",
404 longHelpString = "")
405
406 def AddSimpleTool(ID,
407 bitmap,
408 shortHelpString = "",
409 longHelpString = "",
410 toggle=FALSE)
411
412
413There are also coresponding InsertTool and InsertSimpleTool methods
414that additionally take an integer position as the first parameter.
415
9e57c2a0 416Added a wrapper for the new PCX and TIFF ImageHandlers.
9b3d3bc4
RD
417
418wxRect now simulates attributes named left, right, top and bottom.
419
d2103cf2
RD
420Removed all non wx stuff from the glcanvas module since DA's PyOpenGL
421is better and compatible with the wxGLCanvas. You can get it at
422http://starship.python.net:9673/crew/da/Code/PyOpenGL.
9b3d3bc4 423
3af4e610 424Added some missing EVT_ functions.
9b3d3bc4 425
1b55cabf
RD
426Added Dirk Holtwic's editor classes to the wxPython.lib.editor
427package.
428
eec92d76
RD
429Changed all the "LIST" parameter names to "choices" to match the docs.
430
fe366bc9
RD
431More fixes for the wxFloatBar, and it now works on wxGTK even better
432than wxMSW! (The feat is accomplished by using the wxTB_DOCKABLE
433style flag instead of trying to float it ourselves.)
434
9b3d3bc4 435
6d75ea8f
RD
436
437
438What's new in 2.1.11
439--------------------
440Skipped a few version numbers so wxMSW, wxGTK and wxPython are all
441syncronized.
442
443wxImage.SetData now makes a copy of the image data before giving it to
444wxImage. I mistakenly thought that wxImage would copy the data
445itself.
446
447Fixed wxMSW's notebook so the pages get their size set as they are
448being added. This should remove the need for our
449wxNotebook.ResizeChildren hack.
450
451wxPanels now support AutoLayout, and wxNotebooks and wxSplitterWindows
452no longer tell their children to Layout() themselves. This will
453probably only effect you if you have a wxWindow with AutoLayout inside
454a notebook or splitter. If so, either change it to a wxPanel or add
455an EVT_SIZE handler that calls Layout().
456
457Fixed deadlock problem that happened when using threads.
458
459Added new HTML printing classes.
460
461Added wxWindow.GetHandle
462
463Apparently wxMouseEvent.Position has been depreciated in wxWindows as
464it is no longer available by default. You can use GetPositionTuple
465(returning a tuple with x,y) instead, or GetPosition (returning a
466wxPoint.)
467
468Added wxPostEvent function that allows events to be posted and then
469processed later. This is a thread-safe way to interact with the GUI
470thread from other threads.
471
472Added Clipboard and Drag-and-Drop classes.
473
474Added wxFontEnumerator.
475
476Many updates to wxMenu, wxMenuBar.
477
478wxPyEvent and wxPyCommandEvent derived classes now give you the actual
479Python object in the event handler instead of a new shadow.
480
481Added a Calendar widget from Lorne White to the library.
482
483Made some fixes to the wxFloatbar. It still has some troubles on
484wxGTK...
485
486Added an MVC tree control from Bryn Keller to the library.
487
488
489
490
491What's new in 2.1.5
492-------------------
493This is a quick bug-fix release to take care of a few nasties that
494crept in at the last minute before 2.1.4 was called done. No new
495major features.
496
497
498
499What's new in 2.1.4
500--------------------
501
502This release is NOT syncronized with a snapshot release of wxGTK or
503wxMSW. For MSW this isn't much of a problem since you can get the
504binaries from the web site. For other platforms you'll have to build
505wxGTK from CVS. (See http://web.ukonline.co.uk/julian.smart/wxwin/cvs.htm)
506To get the same set of sources from CVS that I used, checkout using
507the wxPy-2-1-4 tag.
508
509Now back to what's new...
510
511Much more support for event-less callbacks and add-on modules.
512
513Created add-on module with wxOGL classes.
514
515Added wxWindow.GetChildren(). Be careful of this. It returns a *copy*
516of the list of the window's children. While you are using the list if
517anything changes in the real list (a child is deleted, etc.) then the
518list you are holding will suddenly have window references to garbage
519memory and your app will likely crash. But if you are careful it works
520great!
521
522Added a bunch of new and missing methods to wxTreeCrtl. The
523SortChildren method is now supported, but currently only for the
524default sort order.
525
526Added typemaps for wxSize, wxPoint, wxRealPoint, and wxRect that allow
527either the actual objects or Python sequence values to be used. For
528example, the following are equivallent:
529
530 win = wxWindow(parent, size = wxSize(100, 100))
531 win = wxWindow(parent, size = (100, 100))
532
533Super-charged the wxHtml module. You can now create your own tag
534handlers and also have access to the parser and cell classes. There
535is a tag handler in the library at wxPython.lib.wxpTag that
536understands the WXP tag and is able to place wxPython windows on HTML
537pages. See the demo for an example.
538
539A bunch of the methods of wxMenuBar were previously ifdef'd out for
540wxGTK. Added them back in since the methods exist now.
541
542Wrapped the wxHtmlHelpController and related classes.
543
544Wrapped the C++ versions of wxSizer and friends. The Python-only
545versions are still in the library, but depreciated. (You will get a
546warning message if you try to use them, but the warning can be
547disabled.) The usage of the C++ versions is slightly different, and
548the functionality of wxBorderSizer is now part of wxBoxSizer. I have
549added a few methods to wxSizer to try and make the transition as
550smooth as possible, I combined all Add methods into a single method
551that handles all cases, added an AddMany method, etc. One step I did
552not take was to make the default value of flag in the Add method be
553wxGROW. This would have made it more backward compatible, but less
554portable to and from wxWin C++ code. Please see the docs and demo for
555further details.
556
557Added wxPyEvent and wxPyCommandEvent classes, derived from wxEvent and
558wxCommandEvent. Each of them has SetPyData and GetPyData methods that
559accept or return a single Python object. You can use these classes
560directly or derive from them to create your own types of event objects
561that can pass through the wxWindows event system without loosing their
562Python parts (as long as they are stored with SetPyData.) Stay tuned
563for more info and examples in future releases.
564
565Added wxPython.lib.grids as an example of how to derive a new sizer
566from the C++ sizers. In this module you will find wxGridSizer and
567wxFlexGridSizer. wxGridSizer arrainges its items in a grid in which
568all the widths and heights are the same. wxFlexgridSizer allows
569different widths and heights, and you can also specify rows and/or
570columns that are growable. See the demo for a couple examples for how
571to use them.
572
573Added the wxValidator class, and created a class named wxPyValidator
574that should be used for the base class of any Python validators. See
575the demo for an example. Please note that you MUST implement a Clone
576method in your validator classes because of the way some things work
577in the underlying C++ library. I did not add wxTextValidator because
578of some issues of how it transfers data to and from a wxString, which
579in wxPython is automatically translated to and from Python strings, so
580there would never be a concrete wxString that would hang around long
581enough for the validator to do its job. On the other hand, it should
582be real easy to duplicate the functionality of wxTextValidator in a
583pure Python class derived from wxPyValidator.
584
585I've finally added a feature that has been on my list for close to two
586years! Ever wondered what that zero is for when you create your app
587object? Well now you can leave it out or explicitly set it to a true
588value. This value now controls what is to be done with sys.stdout and
589sys.stderr. A false value leaves them alone, and a true value sets
590them to an instance of wxPyOnDemandOutputWindow. (On windows the
591default is true, on unix platforms the default is false.) This class
592creates a frame containing a wxTextCtrl as soon as anything is written
593to sys.stdout or sys.stderr. If you close the window it will come
594back again the next time something is written. (You can call
595app.RestoreStdio to turn this off.) If you would rather that the stdio be
596redirected to a file, you can provide a second parameter to your app
597object's constructor that is a filename. If you want to use your own
598class instead of wxPyOnDemandOutputWindow you can either implement
599RedirectStdio() in you app class or change the value of
600wxApp.outputWindowClass like this:
601
602 class MyApp(wxApp):
603 outputWindowClass = MyClass
604
605 def OnInit(self):
606 frame = MyFrame()
607 self.SetTopWindow(frame)
608 return true
609
610Please see the implementation of wxPyOnDemandOutputWindow and wxApp in
611wx.py for more details. A few words of caution: if you are running
612your app in a debugger, changing sys.stdout and sys.stderr is likely
613to really screw things up.
614
615Added wxCaret. Unfortunately it's author has still not documented it
616in the wxWindows docs...
617
618Some new 3rd party contributions in wxPython.lib. PyShell, in
619shell.py is an interesting implementaion of an interactive Python
620shell in wxWindows. floatbar.py has a class derived from wxToolBar
621that can sense mouse drags and then reparent itself into another
622frame. Moving the new frame close to where it came from puts the tool
623bar back into the original parent. (Unfortunately there is currently
624a bug in wxGTK's wxFrame.SetToolBar so the FloatBar has some
625problems...)
626
627
628
629
630What's new in 2.1b3
631--------------------
632
633This release is syncronized with release 2.1 snapshot 9 of wxWindows.
634
635Switched to using SWIG from CVS (see http://swig.cs.uchicago.edu/cvs.html)
636for some of the new features and such. Also they have encorporated my
637patches so there is really no reason to stick with the current (very
638old) release... This version of SWIG gives the following new
639features:
640
641 1. Keyword arguments. You no longer have to specify all the
642 parameters with defaults to a method just to specify a
643 non-default value on the end. You can now do this instead:
644
645 win = wxWindow(parent, -1, style = mystyle)
646
647 2. There is now an an equivalence between Python's None and C++'s
648 NULL. This means that any methods that might return NULL will
649 now return None and you can use none where wxWindows might be
650 expecting NULL. This makes things much more snake-ish.
651
652
653There is a new build system based on a new Python program instead of
654raw makefiles. Now wxPython builds are virtually the same on MSW or
655Unix systems. See the end of this file for new build instructions and
656see distrib/build.py for more details.
657
658wxDC.Bilt now includes the useMask parameter, and has been split into
659two different versions. wxDC.BlitXY is like what was there before and
660takes raw coordinants and sizes, and the new wxDC.Blit is for the new
661interface using wxPoints and a wxSize.
662
663
664
665
666
667What's new in 2.1b2
668--------------------
669
670Added the missing wxWindow.GetUpdateRegion() method.
671
672Made a new change in SWIG (update your patches everybody) that
673provides a fix for global shadow objects that get an exception in
674their __del__ when their extension module has already been deleted.
675It was only a 1 line change in .../SWIG/Modules/pycpp.cxx at about
676line 496 if you want to do it by hand.
677
678It is now possible to run through MainLoop more than once in any one
679process. The cleanup that used to happen as MainLoop completed (and
680prevented it from running again) has been delayed until the wxc module
681is being unloaded by Python.
682
683I fixed a bunch of stuff in the C++ version of wxGrid so it wouldn't
684make wxPython look bad.
685
686wxWindow.PopupMenu() now takes a wxPoint instead of x,y. Added
687wxWindow.PopupMenuXY to be consistent with some other methods.
688
689Added wxGrid.SetEditInPlace and wxGrid.GetEditInPlace.
690
691You can now provide your own app.MainLoop method. See
692wxPython/demo/demoMainLoop.py for an example and some explaination.
693
694Got the in-place-edit for the wxTreeCtrl fixed and added some demo
695code to show how to use it.
696
697Put the wxIcon constructor back in for GTK as it now has one that
698matches MSW's.
699
700Added wxGrid.GetCells
701
702Added wxSystemSettings static methods as functions with names like
703wxSystemSettings_GetSystemColour.
704
705Removed wxPyMenu since using menu callbacks have been depreciated in
706wxWindows. Use wxMenu and events instead.
707
708Added alternate wxBitmap constructor (for MSW only) as
709 wxBitmapFromData(data, type, width, height, depth = 1)
710
711Added a helper function named wxPyTypeCast that can convert shadow
712objects of one type into shadow objects of another type. (Like doing
713a down-cast.) See the implementation in wx.py for some docs.
714
715Fixed wxImage GetData and SetData to properly use String objects for
716data transfer.
717
718Added access methods to wxGridEvent.
719
720New Makefile/Setup files supporting multiple dynamic extension modules
721for unix systems.
722
723Fixes for the wxGLCanvas demo to work around a strange bug in gtk.
724
725SWIG support routines now compiled separately instead of being bundled
726in wx.cpp.
727
728
729
730
731
732What's new in 2.1b1
733--------------------
734Fixed wxComboBox.SetSelection so that it actually sets the selected
735item. (Actually just removed it from wxPython and let it default to
736wxChoice.SetSelection which was already doing the right thing.)
737
738Added the Printing Framework.
739
740Switched back to using the wxWindows DLL for the pre-built Win32
741version. The problem was needing to reinitialize static class info
742data after loading each extension module.
743
744Lots of little tweaks and additions to reflect changes to various
745wxWindows classes.
746
747Fixed a bug with attaching objects to tree items. Actually was a
748symptom of a larger problem with not obtaining the interpreter lock
749when doing any Py_DECREFs.
750
751wxSizer and friends. Sizers are layout tools that manage a colection
752of windows and sizers. Different types of sizers apply different
753types of layout algorithms. You saw it here first! These classes are
754not even in the wxWindows C++ library yet!
755
756
757
758What's new in 2.0b9
759-------------------
760Bug fix for ListCtrl in test4.py (Was a missing file... DSM!)
761
762Bug fix for occassional GPF on Win32 systems upon termination of a
763wxPython application.
764
765Added wxListBox.GetSelections returning selections as a Tuple.
766
767Added a wxTreeItemData that is able to hold any Python object and be
768associated with items in a wxTreeCtrl. Added test pytree.py to show
769this feature off.
770
771Added wxSafeYield function.
772
773OpenGL Canvas can be optionally compiled in to wxPython.
774
775Awesome new Demo Framework for showing off wxPython and for learning
776how it all works.
777
778The pre-built Win32 version is no longer distributing the wxWindows
779DLL. It is statically linked with the wxWindows library instead.
780
781Added a couple missing items from the docs.
782
783Added wxImage, wxImageHandler, wxPNGHandler, wxJPEGHandler,
784wxGIFHandler and wxBMPHandler.
785
786Added new methods to wxTextCtrl.
787
788Fixed some problems with how SWIG was wrapping some wxTreeCtrl
789methods.
790
791
792
793What's new in 2.0b8
794-------------------
795Support for using Python threads in wxPython apps.
796
797Several missing methods from various classes.
798
799Various bug fixes.
800
801
802
803What's new in 2.0b7
804-------------------
805Added DLG_PNT and DLG_SZE convienience methods to wxWindow class.
806
807Added missing constructor and other methods for wxMenuItem.
808
809
810
811What's new in 2.0b6
812-------------------
813Just a quickie update to fix the self-installer to be compatible with
814Python 1.5.2b2's Registry settings.
815
816
817What's new in 2.0b5
818-------------------
819Well obviously the numbering scheme has changed. I did this to
820reflect the fact that this truly is the second major revision of
821wxPython, (well the third actually if you count the one I did for
822wxWindows 1.68 and then threw away...) and also that it is associated
823with the 2.0 version of wxWindows.
824
825I have finally started documenting wxPython. There are several pages
826in the wxWindows documentation tree specifically about wxPython, and I
827have added notes within the class references about where and how wxPython
828diverges from wxWindows.
829
830Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
831window handle. If you can get the window handle into the python code,
832it should just work... More news on this later.
833
834Added wxImageList, wxToolTip.
835
836Re-enabled wxConfig.DeleteAll() since it is reportedly fixed for the
837wxRegConfig class.
838
839As usual, some bug fixes, tweaks, etc.
840
841
842
843What's new in 0.5.3
844-------------------
845Added wxSashWindow, wxSashEvent, wxLayoutAlgorithm, etc.
846
847Various cleanup, tweaks, minor additions, etc. to maintain
848compatibility with the current wxWindows.
849
850
851
852What's new in 0.5.0
853-------------------
854Changed the import semantics from "from wxPython import *" to "from
855wxPython.wx import *" This is for people who are worried about
856namespace pollution, they can use "from wxPython import wx" and then
857prefix all the wxPython identifiers with "wx."
858
859Added wxTaskbarIcon for wxMSW.
860
861Made the events work for wxGrid.
862
863Added wxConfig.
864
865Added wxMiniFrame for wxGTK.
866
867Changed many of the args and return values that were pointers to gdi
868objects to references to reflect changes in the wxWindows API.
869
870Other assorted fixes and additions.
871
872
873
874
875What's new in 0.4.2
876-------------------
877
878wxPython on wxGTK works!!! Both dynamic and static on Linux and
879static on Solaris have been tested. Many thanks go to Harm
880<H.v.d.Heijden@phys.tue.nl> for his astute detective work on tracking
881down a nasty DECREF bug. Okay so I have to confess that it was just a
882DSM (Dumb Stupid Mistake) on my part but it was nasty none the less
883because the behavior was so different on different platforms.
884
885The dynamicly loaded module on Solaris is still segfaulting, so it
886must have been a different issue all along...
887
888
889
890What's New in 0.4
891-----------------
892
8931. Worked on wxGTK compatibility. It is partially working. On a
894Solaris/Sparc box wxPython is working but only when it is statically
895linked with the Python interpreter. When built as a dyamically loaded
896extension module, things start acting weirdly and it soon seg-faults.
897And on Linux both the statically linked and the dynamically linked
898version segfault shortly after starting up.
899
9002. Added Toolbar, StatusBar and SplitterWindow classes.
901
9023. Varioius bug fixes, enhancements, etc.
903
904----------------------------------------------------------------------