]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/changes.txt
Create branch for wxWebView GSoC 2011 project.
[wxWidgets.git] / docs / changes.txt
index e9acd5e75585f35eb180d99133877d31b8974c7d..aa234eac28ed59d31d2f0cd452975f2a0547720b 100644 (file)
@@ -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<bool> specialization compared with the generic std::vector<>
+   class. Please either use std::vector<bool> 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().
@@ -500,6 +538,9 @@ All (GUI):
   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:
 
@@ -519,9 +560,11 @@ MSW:
 - 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).