X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cee8636e94d49319b1c108d8b2d826e080e2e366..c36818c8e32dd4245222f62995119d8652b30324:/docs/changes.txt diff --git a/docs/changes.txt b/docs/changes.txt index b1aac62be2..aa234eac28 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -59,6 +59,43 @@ changes: their overridden OnExecute() or override a more convenient OnExec() instead. +Use of STL containers by default +-------------------------------- + +wxWidgets uses STL containers for the implementation of wxVector, wxList, +wxDList and wxStack by default since 2.9.2 release. While the STL-based +versions are mostly compatible with the old ones, there are some differences: + + - wxList::compatibility_iterator must be used instead of wxList::Node* when + iterating over the list contents. The compatibility_iterator class has the + same semantics as a Node pointer but it is an object and not a pointer, so + you need to write + + for ( wxWindowList::compatibility_iterator it = list.GetFirst(); + it; + it = it->GetNext() ) + ... + + instead of the old + + for ( wxWindowList::Node *n = list.GetFirst(); n; n = n->GetNext() ) + ... + + - wxSortedArrayString and wxArrayString are separate classes now and the + former doesn't derive from the latter. If you need to convert a sorted array + to a normal one, you must copy all the elements. Alternatively, you may + avoid the use of wxSortedArrayString by using a normal array and calling its + Sort() method when needed. + + - WX_DEFINE_ARRAY_INT(bool) cannot be used because of the differences in + std::vector specialization compared with the generic std::vector<> + class. Please either use std::vector directly or use an integer array + instead. + +Finally notice that you may set wxUSE_STD_CONTAINERS to 0 when compiling +wxWidgets to use the non-STL containers. + + wxODBC and contrib libraries removal ------------------------------------ @@ -466,6 +503,7 @@ All (GUI): - Added wxRichMessageDialog (Rickard Westerlund, GSoC 2010 project). - Added wxCommandLinkButton (Rickard Westerlund, GSoC 2010 project). - Added wxUIActionSimulator (Steven Lamerton, GSoC 2010 project). +- Added support for dynamic auto-completion in wxTextEntry. - wxAUI: support auto-orientable toolbars (wsu). - wxAUI: add support for icons in pane title bars (triton). - Added wxPanel::SetBackgroundBitmap(). @@ -499,6 +537,10 @@ All (GUI): - wxComboCtrl, wxOwnerDrawnComboBox: better support for themed and custom panel backgrounds, especially on OS X. - Add WXK_CONTROL_A..WXK_CONTROL_Z constants (Jan van Dijk). +- Add support for alpha channel in colours in wxSVGFileDC (snowleopard). +- Allow customizing AUI tab colours in wxAuiTabArt (snowleopard). +- Added wxAffineMatrix2D class (Catalin Raceanu). +- Allow showing preview frame non modally (John Roberts). GTK: @@ -506,6 +548,7 @@ GTK: - Switch to GtkTooltip from deprecated GtkTooltips (Emilien Kia). - wxTLW generates wxEVT_MAXIMIZE. - Fix copying clipboard data to primary selection (David Hart). +- Implement wxGraphicsContext::GetSize() (Marcin Wojdyr). MSW: @@ -516,9 +559,12 @@ MSW: - Fix wxBitmapButton best size determination broken in 2.9.1. - Center task dialog-based wxProgressDialog on the parent (John Roberts). - wxAutomationObject::GetInstance() creates objects on demand (Kolya Kosenko). +- Fix EVT_UPDATE_UI generation for items in submenus (wsu). +- Added support for world transformation matrix to wxDC (Catalin Raceanu). OSX: +- Implement auto-completion support in wxTextEntry. - Implement switching to default video mode in wxDisplay (soren). @@ -945,7 +991,7 @@ wxMSW: - Fix centering wxFileDialog and allow positioning it. - Allow centering wxMessageDialog on its parent window (troelsk). - Use vertical scrollbar in wxMessageDialog if it's too big to fit on screen. -- Show resize gripper on resizeable dialogs (Kolya Kosenko). +- Show resize gripper on resizable dialogs (Kolya Kosenko). - Implement support for display enumeration under WinCE (Vince Harron). - Use different Win32 class names in different wx instances (Thomas Hauk). - Support multiline labels for wxCheckBox and wxToggleButton. @@ -1717,7 +1763,7 @@ All (GUI): - Fixed centering of top level windows on secondary displays. - Implemented wxDisplay::GetFromWindow() for platforms other than MSW. - UpdateUI handler can now show/hide the window too (Ronald Weiss). -- More than one filter allowed in in wxDocTemplate filter. +- More than one filter allowed in wxDocTemplate filter. - Added wxListBox::HitTest(). - Added wxDisplay::GetClientArea(). - Indices and counts in wxControlWithItems derived API are unsigned. @@ -2662,7 +2708,7 @@ wxMSW: - several fixes to owner drawn menu items (Christian Sturmlechner) - wxGauge now supports full 32 bit range (Miroslav Rajcic) - make it possible to give focus to the notebook tabs (Hajo Kirchhoff) -- MDI child frames are not always resizeable any more (Andrei Fortuna) +- MDI child frames are not always resizable any more (Andrei Fortuna) - fixed enumerating of entries/groups under '/' in wxRegConfig - added wxSYS_ICONTITLE_FONT (Andreas Pflug) - added wxPATH_NORM_SHORTCUT to wxFileName @@ -2769,7 +2815,7 @@ All GUI ports: - 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) +- wxWizard is now sizer-friendly and may be made resizable (Robert Vazan) - added proportion to wxFlexGridSizer::AddGrowableRow/Col (Maxim Babitski) - added wxFlexGridSizer::SetFlexibleDirection() (Szczepan Holyszewski) - implemented GetEditControl for wxGenericTreeCtrl (Peter Stieber) @@ -3530,7 +3576,7 @@ wxMSW: - wxFileDialog: adjusts struct size if there's an error (struct sizes can be different on different versions of Windows) - wxImageList::GetSize() documented and added to wxMSW -- fixed default dialog style to make them non resizeable again +- fixed default dialog style to make them non resizable again - fixed wxFrame::IsShown() which always returned TRUE before wxGTK: