X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ed43a6c7e679e066482b3bcd33735605af3be85..76fae052f14db3c4c8a3d233fce0074ab25d4789:/docs/changes.txt diff --git a/docs/changes.txt b/docs/changes.txt index 2cfc72ea38..1c890d92f3 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -8,7 +8,10 @@ INCOMPATIBLE CHANGES SINCE 2.4.x - no initialization/cleanup can be done in wxApp/~wxApp because they are now called much earlier/later than before; please move any exiting code from there to wxApp::OnInit()/OnExit() +- also, OnExit() is not called if OnInit() fails +- wxTheApp can't be assigned to any longer, use wxApp::SetInstance() instead - wxFileType::GetIcon() returns wxIconLocation, not wxIcon +- wxWindow::Clear() is now called ClearBackground() DEPRECATED METHODS SINCE 2.4.x @@ -29,6 +32,7 @@ versions, please update your code to not use them. - wxHashTableLong: use wxHashMap instead - wxArrayString::GetStringArray: no replacement - wxArrayString::Remove(index, count): use RemoveAt instead +- wxTreeItemId conversion to long is deprecated and shouldn't be used - [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles @@ -41,7 +45,11 @@ OTHER CHANGES All: +- It is now possible to build several smaller libraries instead of single + huge wxWindows library; wxBase is now dependency of GUI ports rather then + separately compiled library - added wxDateSpan::operator==() and !=() (Lukasz Michalski) +- added wxFileName::GetForbiddenChars() (Dimitri Schoolwerth) - use true/false throughout the library instead of TRUE/FALSE - wxStopWatch::Start() resumes the stop watch if paused, as per the docs - added wxDirTraverser::OnOpenError() to customize the error handling @@ -58,6 +66,9 @@ All: - added event sink argument to wxEvtHandler::Connect() - added support for POST method and alt ports to wxHTTP (Roger Chickering) - added wxSocket::IPAddress() (Chris Mellon) +- wxDataStreams can read/write many elements at once (Mickael Gilabert) +- added wxRecursionGuard class +- added wxThreadHelper class (Daniel Howard) wxBase: @@ -67,9 +78,12 @@ wxBase: All GUI ports: - added wxVScrolledWindow, wxVListBox and wxHtmlLbox classes +- added wxListbook - added alpha channel support to wxImage +- added wxRenderer class allowing to customize the drawing of generic controls - added wxCLOSE_BOX style for dialogs and frames - added wxSplitterWindow and wxWizard handlers to XRC +- wxWizard is now sizer-friendly and may be made resizeable (Robert Vazan) - added proportion to wxFlexGridSizer::AddGrowableRow/Col (Maxim Babitski) - added wxFlexGridSizer::SetFlexibleDirection() (Szczepan Holyszewski) - implemented GetEditControl for wxGenericTreeCtrl (Peter Stieber) @@ -78,6 +92,7 @@ All GUI ports: - implemented alignment for wxGrid bool editor and renderer - support wxListCtrl columns alignment for all platforms and not just MSW - added wxToolBar Add/InsertTool(tool) (Janusz Piwowarski) +- added wxTB_HORZ_TEXT style for MSW and GTK (Axel Schlueter) - fixed user dash handling for MSW and GTK (Ken Edwards) - WXR resources can now be used in Unicode builds - it is now possible to use several wxFileHistory objects in the same menu @@ -93,9 +108,9 @@ All GUI ports: a new document), and more intelligent addition of filenames to the file history, including not adding filenames if not using the default extension for the template -- Speeded up wxImage::Scale using fixed point arithmetic (Wade Brainerd) +- sped up wxImage::Scale using fixed point arithmetic (Wade Brainerd) - Added BLOB support to wxDB (John Skiff) -- Wizard now validates when pressing Back or Next +- wxWizard now validates when pressing Back or Next - Implemented wxNotebook::DoGetBestSize so Fit now works - Added FindItemByPosition to wxMenu - wxTimer now derives from wxEvtHandler and is its own owner object by default @@ -117,8 +132,16 @@ All GUI ports: determine whether a window should receive idle events. - Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window styles for use with conservative idle and update event modes. -- wxMSW and wxGTK now send menu update events only when a menu is - about to be used. +- send menu update events only when a menu is about to be used (MSW/GTK) +- improved event processing performance (Hans Van Leemputten) +- added wxMirrorDC class +- printing improvements: GetPageInfo() gets called after the DC has + been set and after OnPreparePrinting() has been called so it can + report the number of pages accurately; doesn't try to set + number of pages in print dialog, in common with other Windows apps; + wxHTML easy printing's preview shows number of pages + correctly; preview scrollbars are set correctly; keyboard navigation + improved Unix: @@ -128,6 +151,13 @@ Unix: - added support for GNU/Hurd in configure - wxLocale::Init now tries to set .utf8 locale in Unicode mode (Andreas Pflug) +Generic controls: + +- implemented wxListCtrl::Refresh() (Norbert Berzen) +- support adding/removing columns dynamically (Donald C. Taylor) +- wxToolBarSimple, property list classes, wxTreeLayout moved + to contrib/src/deprecated + wxGTK: - added support for label mnemonics to GTK+2 build (Michael Moss) @@ -141,8 +171,8 @@ wxGTK: be appended to filenames with no extension - added wxTextCtrl::SetSelection implementation for GTK+ 2 - fixed wxTextCtrl::IsEditable() for GTK+ 2 +- fixed wxStaticText alignment for GTK+ 2 (Kevin Hock) - don't consume 100% CPU when showing a poup menu -- implemented wxListCtrl::Refresh() (Norbert Berzen) wxMac: @@ -152,10 +182,12 @@ wxMac: wxMSW: - possibility to use DIBs for wxBitmap implementation (Derry Bryson) +- added wxCrashReport - wxStaticBitmap doesn't stretch its bitmap any longer (like other ports) - support for accelerator keys in the owner drawn menus (Derry Bryson) - wxCaret::SetSize() doesn't hide the caret any longer as it used to - wxCheckListBox::Check() doesn't send CHECKLISTBOX_TOGGLE event any more +- fixed bugs in wxThread::Wait() and IsAlive() - fixed bug with wxTR_EDIT_LABELS not working with wxTR_MULTIPLE - fixes for compilation with OpenWatcom and DigitalMars compilers - fixed wxStaticText best size calculation (was wrong by '&' width) @@ -425,7 +457,7 @@ wxBase: - fixes to the command line parsing error and usage messages - modified wxFileName::CreateTempFileName() to open the file atomically (if possible) and, especially, not to leak the file descriptors under Unix -- memory leak in wxHTTP fixed (Dimitri) +- memory leak in wxHTTP fixed (Dimitri Schoolwerth) - fixes to AM_PATH_WXCONFIG autoconf macro - added wxHashMap class that replaces type-unsafe wxHashTable and is modelled after (non standard) STL hash_map