X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2c8079119e5887329d1cba5677498d9f6443f62..a8fc3508e77811dbce06afa7703cfbeb3b037962:/docs/changes.txt diff --git a/docs/changes.txt b/docs/changes.txt index 211741fc5e..0e560db278 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -199,6 +199,10 @@ Changes in behaviour not resulting in compilation errors, please read this! prevent the parent wxTopLevelWindow from interfering with the keyboard handling of the window that captured the mouse. +- wxDataViewCtrl::GetSelection() now returns invalid item in all ports (this + behaved differently in wxMSW and wxGTK/wxOSX before) if more than one item + is selected in a control with wxDV_MULTIPLE style. + Changes in behaviour which may result in compilation errors ----------------------------------------------------------- @@ -266,7 +270,7 @@ Changes in behaviour which may result in compilation errors - Virtual wxHtmlParser::AddText() takes wxString, not wxChar*, argument now. -- Functions that took wxChar* arguments that could by NULL in wxWidgets 2.8 +- Functions that took wxChar* arguments that could be NULL in wxWidgets 2.8 are deprecated and passing NULL to them won't compile anymore, wxEmptyString must be used instead. @@ -321,7 +325,7 @@ Changes in behaviour which may result in compilation errors without enclosing parentheses results in warnings from g++ with -Wparentheses, add parentheses around the if statement body to work around it. -- wxList::Member() now returns book and not a pointer/iterator. This shouldn't +- wxList::Member() now returns bool and not a pointer/iterator. This shouldn't require any changes as it was always meant to be used for checking for the presence of an element in the list only. If you used it as Find(), simple do use Find() instead. @@ -333,6 +337,9 @@ Changes in behaviour which may result in compilation errors - wxST_MARKUP doesn't exist any more, use wxControl::SetLabelMarkup() instead. +- wxComboBox::IsEmpty(), which was previously available in some ports (but not + wxMSW), doesn't exist any more, use either IsListEmpty() or IsTextEmpty(). + Deprecated methods and their replacements ----------------------------------------- @@ -434,7 +441,50 @@ Major new features in this release was added. -2.9.2: +2.9.3: +------ + +All: + +- Fix parsing of negated long options in wxCmdLineParser (roed_bis). +- Fix crash in wxArray::insert() overload taking iterator range (wsu). + +All (GUI): + +- Added documented, public wxNavigationEnabled<> class. +- Added wxTextCtrl::PositionToCoords() (Navaneeth). +- Added support for wxHELP button to wxMessageDialog. +- Added wxBannerWindow class. +- Support float, double and file name values in wxGenericValidator (troelsk). +- Fix keyboard navigation in wxGrid with hidden columns (ivan_14_32). +- Add wxDataViewEvent::IsEditCancelled() (Allonii). +- Allow marking wxTreeBook nodes to expand initially in XRC (RedTide). +- Added customizable wxDocManager::OnMRUFileNotExist() virtual method. +- Fix stock labels when not using mnemonics for Chinese (cw.ahbong). +- Added wxComboBox::IsListEmpty() and IsTextEmpty(). +- Added wxDataViewCtrl::GetSelectedItemsCount() and HasSelection(). + +OSX: + +- Implement wxRegion::Equal() (Dr.Acula). +- Implement wxFileType::GetOpenCommand(). +- wxGetOsVersion() now returns more sensible version numbers, e.g. 10 and 6 + for OS X 10.6. +- Added wxApp::MacOpenFiles and deprecated wxApp::MacOpenFile. + +GTK: + +- Generate events for two auxiliary mouse buttons in wxGTK (Marcin Wojdyr). + +MSW: + +- Added wxGCDC(wxEnhMetaFileDC) ctor (Marcin Wojdyr). +- Added wxTopLevelWindow::MSWGetSystemMenu(). +- Multiline text controls no longer select all content when gaining focus from + the keyboard. + + +2.9.2: (released 2011-07-05) ------ All: @@ -451,6 +501,9 @@ All: - Added wxStack<> template class. - Added precision parameter to wxString::From[C]Double(). - Added wxThread::Wait() and Delete() "wait mode" parameter (Catalin Raceanu). +- Allow showing milliseconds in wxLog time stamps (tan). +- Added support for processing instructions in wxXmlDocument (Nick Matthews). +- Added wxThreadEvent for communicating between threads to wxBase. Unix: @@ -462,13 +515,17 @@ 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. +- Added images support to wxToggleButton (Garrick Meeker). - wxAUI: support auto-orientable toolbars (wsu). - wxAUI: add support for icons in pane title bars (triton). +- Added wxPanel::SetBackgroundBitmap(). - Added wxDataViewCtrl::Set/GetCurrentItem(). - Added possibility to disable individual wxDataViewCtrl items (Neno Ganchev). - wxHTML: render in RTL order inside RTL window (Richard Bullington-McGuire). - wxRibbon: added EVT_RIBBONGALLERY_CLICKED event (John Roberts). - wxRibbon: allow hiding the panels and showing tabs only (snowleopard). +- Add support for child documents to docview framework. - Add support for CP-866 encoding to wxEncodingConverter (madnut). - Consistency fixes for keyboard events across all major ports. - Added EVT_RIBBONBAR_TAB_LEFT_DCLICK event (snowleopard). @@ -479,10 +536,13 @@ All (GUI): - Added wxDocManager::FindTemplate() (troelsk). - Return bool, not void, from wxImage::ConvertAlphaToMask() (troelsk). - Fixed resizing columns in wxGrid when they were reordered. +- Fixed keyboard navigation when wxGrid columns are reordered. - Added wxImage::Rotate180() (Jeff Tupper). - Added support for saving TGA files. - Added wxArtProvider returning higher quality icons from Tango project. - wxPropertyGrid: Added "HasAlpha" attribute for wxColourProperty. +- wxPropertyGrid: Disabling a property didn't work properly if a child item + was selected (Sébastien Gallou). - Added support for saving PNG files with palette (troelsk). - Added support for saving as GIF and animated GIF (troelsk). - Fix wxWrapSizer minimal size calculation (Catalin Raceanu). @@ -491,12 +551,23 @@ All (GUI): - Fix SVG files generation in locales using decimal comma (snowleopard). - Fix setting tooltips for generic wxSpinCtrl (Catalin Raceanu). - Added support for reading image resolutions from PNG images (scottb). +- 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). +- Improve appearance of the generic wxHyperlinkCtrl (David Connet). GTK: - Improve print/page setup dialog (rafravago). - Switch to GtkTooltip from deprecated GtkTooltips (Emilien Kia). -- wxTLW generates wxEVT_MAXIMIZE +- wxTLW generates wxEVT_MAXIMIZE. +- Fix copying clipboard data to primary selection (David Hart). +- Implement wxGraphicsContext::GetSize() (Marcin Wojdyr). +- Implement wxCalendarCtrl::SetDateRange() for the native control. MSW: @@ -507,9 +578,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). @@ -609,7 +683,7 @@ All (GUI): dismissed immediately as text control grabbed the focus). - wxPropertyGrid: added wxPG_EX_MULTIPLE_SELECTION. - wxPropertyGrid: added functions for editing property labels. -- wxPropertyGrid: many fixes to property validation failure behavior. Added +- wxPropertyGrid: many fixes to property validation failure behaviour. Added new flags: wxPG_VFB_SHOW_MESSAGEBOX and wxPG_VFB_SHOW_MESSAGE_ON_STATUSBAR. - wxPropertyGrid: Added wxPropertyGrid::DedicateKey(). - wxPropertyGrid: wxArrayStringProperty now uses wxEditableListBox. @@ -936,7 +1010,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. @@ -1708,7 +1782,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. @@ -2240,7 +2314,7 @@ All: - Unicode support in wxODBC is now fully implemented - A new data type specific to wxWidgets called SQL_C_WXCHAR has been introduced. SQL_C_WXCHAR should be used rather than SQL_C_CHAR to ensure transparent - behavior between Unicode and non-unicode builds + behaviour between Unicode and non-unicode builds - BLOB example added to samples/db (thanks to Casey O'Donnell) - use wxStream::GetLength() instead of deprecated GetSize() - wxGetOsDescription() is now more precise (Olly Betts) @@ -2387,7 +2461,7 @@ All: - sped up wxHTTP and wxFTP - added wxStringInput/OutputStreams - added wxFileConfig::Save(wxOutputStream) -- fixed wxString's behavior with inserted null characters +- fixed wxString's behaviour with inserted null characters All (GUI): @@ -2653,7 +2727,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 @@ -2760,7 +2834,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) @@ -3521,7 +3595,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: