X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a7a014180017908d32f0af32ebfa140fdc82b390..1dc9b42f4f911152fb1bea3e6f532769d08a023b:/wxPython/docs/CHANGES.txt?ds=sidebyside diff --git a/wxPython/docs/CHANGES.txt b/wxPython/docs/CHANGES.txt index 3017415312..f441350fc1 100644 --- a/wxPython/docs/CHANGES.txt +++ b/wxPython/docs/CHANGES.txt @@ -20,15 +20,25 @@ The following deprecated items have been removed: * wx.FontMapper SetConfig method + * wx.html.HtmlSearchStatus.GetContentsItem method + + * wx.html.HtmlHelpData.GetContents, GetContentsCnt, GetIndex, and + GetIndexCnt methods + + wx.EventLoop is now implemented for wxMac. Added wxPython wrappers for the new wx.Treebook and wx.Toolbook classes. +wx.DC.BeginDrawing and EndDrawing have been deprecated in the C++ +code, so since they never really did anything before they are now just +empty stubs in wxPython. + Solved a problem that has been around for a very long time in how C++ methods are virtualized for overriding in derived Python classes. -Previously we couldn't do it for methods that needed to exist in the -base class wrappers such that they could be called normally. (The +Previously we couldn't do it for methods that needed to also exist in +the base class wrappers such that they could be called normally. (The reasons are long and complex, but suffice it to say that it was due to mixing C++'s dynamic dispatch, and Python's runtime lookup of the method attributes resulting in endless recursion of function calls.) @@ -38,21 +48,28 @@ example wx.Printout.base_OnBeginDocument. Now that the problem has finally been solved I have replaced all the base_Whatever() methods with the real Whatever() method as well as a simple wrapper named base_Whatever that is marked as deprecated. So now instead of writing -your overridden methods like this: +your overridden methods like this:: def OnBeginDocument(self, start, end): # do something here return self.base_OnBeginDocument(start, end) -You can do it the *right way* like this: +You can now call the base class method the normal way, like this:: + + def OnBeginDocument(self, start, end): + # do something here + return Printout.OnBeginDocument(self, start, end) + +Or like this with super():: def OnBeginDocument(self, start, end): # do something here return super(MyPrintout, self).OnBeginDocument(start, end) -Note that the old way still works, but you will get a -DeprecationWarning from calling base_OnBeginDocument. The classes -affected by this are: + +Note that the old way with the "base_" function still works, but you +will get a DeprecationWarning from calling base_OnBeginDocument. The +classes affected by this are: * wx.DropSource * wx.DropTarget @@ -78,11 +95,27 @@ affected by this are: * wx.wizard.PyWizardPage +Added the wx.DC.GradientFillConcentric and wx.DC.GradientFillLinear +methods. + +Added the wx.HVScrolledWindow class. + +wxGTK: wx.ListBox and wx.CheckListBox are now using native GTK2 +widgets. + +Added wx.ListBox.HitTest() from patch 1446207 + +Bumped up to SWIG 1.3.29. This provides some more runtime performance +boosts, gets rid of the dreaded Ptr classes, and some other nice new +things. + + 2.6.3.0 ------- +* Mar-2006 Change the wx.ListCtrl InsertStringItem wrapper to use the form that takes an imageIndex, and set the default to -1. This ensures that on @@ -97,6 +130,60 @@ derived class. It is passed the item number and the column number as parameters, and the default version simply calls OnGetItemImage for column zero, or returns -1 for other columns. +Switched to using SWIG 1.3.27 for generating the wrapper code. There +are some small changes needed to SWIG to work around some bugs that +wxPython exposes, and to be able to generate code that matches that +which wxPython is using. If you are building wxPython yourself and +need to modify any of the \*.i files or to add your own, then you will +want to be sure to use a matching SWIG. See wxPython/SWIG/README.txt +in the source tarbal for details. + +wx.Image.Copy now also copies the alpha channel. + +wxMSW: Fixed problem in wx.TextCtrl where using SetValue and +wx.TE_RICH2 would cause the control to be shown if it was hidden. + +wxMSW: Numpad special keys are now distinguished from normal keys in +key events. + +wxMSW: Multiline notebook tab label change now resizes the control +correctly if an extra row is removed or added. + +wxMSW: On XP fall back to unthemed wxNotebook if specified orientation +not available in the themed version. + +Added wx.Toolbar.GetToolsCount. + +Added wx.GridSizer.CalcRowsCols. + +Added wx.OutputStream.LastWrite. + +wxGTK: EVT_SET_CURSOR is now sent. + +wxGTK: Fix RequestMore for idle events. + +wxGTK: Implement user dashes for PS and GNOME printing. + +wxGTK: Correct update region code. Don't always invalidate the whole +window upon resize. Reenable support for thewx.NO_FULL_REPAINT_ON_RESIZE +flag. Also disable refreshing custom controls when focusing in and out. + +wx.lib.pubsub: Publisher is now able to parse a dotted notation string +into a topic tuple. For example: subscribing to "timer.clock.seconds" +is the same as subscribing to ("timer", "clock", "seconds"). + +Applied patch #1441370: lib.plot - allow passing in wx.Colour() + +Added wx.CommandEvent.GetClientData. + +Updated wxStyledTextCtrl to use version 1.67 of Scintilla. +NOTE: The STC_LEX_ASP and STC_LEX_PHP lexers have been deprecated, +you should use STC_LEX_HTML instead. + +wxSTC: Implemented Fix for SF Bug #1436503. Delay the start of the +DnD operation in case the user just intended to click, not drag. + + @@ -126,7 +213,7 @@ wx.SplitterWindow class, except it allows more than one split, so it can manage more than two child windows. Docview and IDE patch from Morgan Hua with fix for bug #1217890 -"Closing view crashes Python" plus some new features:: +"Closing view crashes Python" plus some new features: New feature added to the IDE is 'Extensions'. Under Tools|Options|Extensions, you can add calls to external programs.