X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46992103a38308dbb87a455e87105ae3fdadedaf..64c1effefabacc175cf601ea4118f3b806a1fd65:/wxPython/docs/CHANGES.txt diff --git a/wxPython/docs/CHANGES.txt b/wxPython/docs/CHANGES.txt index 0ab6b88848..5302d5c9a8 100644 --- a/wxPython/docs/CHANGES.txt +++ b/wxPython/docs/CHANGES.txt @@ -120,15 +120,52 @@ source of the clipboard or DnD operation, and then you'll know which of the component data objects to use to access the data. Changed how the stock objects (wx.RED, wx.RED_PEN, wx.RED_BRUSH, etc.) -are initialized. They are now created as a wrapper object that -initializes itself on first use (when an attribute of the object is -requested.) This was needed because of similar delayed initialization -functionality that was implemented in wxWidgets, but the end result is -cleaner for wxPython as well, and allowed me to remove some ugly code -under the covers. +are initialized. They are now created as uninitialized instances +using __new__. Then after the wx.App has been created, but before +OnInit is called, the .this attribute of each obhect is initialized. +This was needed because of some delayed initialization functionality +that was implemented in wxWidgets, but the end result is cleaner for +wxPython as well, and allowed me to remove some ugly code previously +hidden under the covers. Added wx.StandardPaths.GetDocumentsDir. +Added wx.RendererNative.DrawCheckButton. + +wx.ProgressDialog.Update now returns a tuple of two values. The first +is a continue flag (what was returned before) and the second is a skip +flag. If the dialog has the wx.PD_CAN_SKIP flag and if the Skip +button is clicked, then the skip flag is set to True the next time +Update is called. + +A DeprecationWarning is now issued when the old wxPython package is +imported. If you are still using the old namespace please convert +your code to use the new wx package instead. + +Added wrappers for Julian's new wxRichTextCtrl class, visible in +wxPython as wx.richtext.RichTextCtrl window. It still needs some more +work, but it is a great start. + +wx.lib.mixins.listctrl.TextEditMixin: Fixed the double END_LABEL_EDIT +event problem in TextEditMixin by checking if the editor was already +hidden before continuing with the CloseEditor method. Also added code +to OpenEditor to send the BEGIN_LABEL_EDIT event and to not allow the +opening of the editor to continue if the event handler doesn't allow +it. + +wx.StaticBoxSizer now keeps better track of the wx.StaticBox, and it +will destroy it if the sizer is destroyed before the parent window is. + +Added wx.HyperlinkCtrl. + +Added battery and power related functions and events (wxMSW only so +far.) See wx.PowerEvent, wx.GetPowerType and wx.GetBatteryState. + +Added wx.ListCtrl.HitTestSubItem which returns the sub-item that was +hit (if any) in addition to the item and flags. + +Added wrappers for wx.ColourPickerCtrl, wx.DirPickerCtrl, +wx.FilePickerCtrl, and wx.FontPickerCtrl.