X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e6858cdcb9278b36446466c346d984e7e306553..d497bc65618e9d1646b366ed9309497b51833802:/docs/changes.txt diff --git a/docs/changes.txt b/docs/changes.txt index 34c968e069..4c8ff6c2b2 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -80,6 +80,11 @@ Changes in behaviour not resulting in compilation errors, please read this! - wxWindow::Freeze/Thaw() are not virtual any more, if you overrode them in your code you need to override DoFreeze/Thaw() instead now. +- wxCalendarCtrl has native implementation in wxGTK, but it has less features + than the generic one. The native implementation is used by default, but you + can still use wxGenericCalendarCtrl instead of wxCalendarCtrl in your code if + you need the extra features. + Changes in behaviour which may result in compilation errors ----------------------------------------------------------- @@ -152,7 +157,6 @@ Changes in behaviour which may result in compilation errors next/previous control sibling instead. - Deprecated methods and their replacements ----------------------------------------- @@ -171,12 +175,18 @@ Deprecated methods and their replacements use simpler OnExec() version which is called with wxString argument - wxMenuItem::GetLabel has been deprecated in favour of wxMenuItem::GetItemLabelText - wxMenuItem::GetText has been deprecated in favour of wxMenuItem::GetItemLabel -- wxMenuItem::GetLabelFromText has been deprecated in favour of wxMenuItem::GetLabelText +- wxMenuItem::GetLabelFromText has been deprecated in favour of wxMenuItem::GetLabelText - wxMenuItem::SetText has been deprecated in favour of wxMenuItem::SetItemLabel -- wxBrush::SetStyle and wxBrush:GetStyle as well as the wxBrush ctor now take - a wxBrushStyle value instead of a plain "int style". - Use the new wxBrush style names (wxBRUSHSTYLE_XXX) instead of the old deprecated - wxXXX styles (which are still available however). +- wxBrush's, wxPen's SetStyle() and GetStyle() as well as the wxBrush/wxPen ctor now take + respectively a wxBrushStyle and a wxPenStyle value instead of a plain "int style"; + use the new wxBrush/wxPen style names (wxBRUSHSTYLE_XXX and wxPENSTYLE_XXX) instead + of the old deprecated wxXXX styles (which however are still available). +- EVT_CALENDAR_DAY event has been deprecated, use EVT_CALENDAR_SEL_CHANGED. +- EVT_CALENDAR_MONTH and EVT_CALENDAR_YEAR events are deprecated, + use EVT_CALENDAR_PAGE_CHANGED which replaces both of them. +- wxCalendarCtrl::EnableYearChange() and wxCAL_NO_YEAR_CHANGE are deprecated. + + Major new features in this release ---------------------------------- @@ -226,6 +236,7 @@ All: if the wxVariantData::Clone function is implemented. - Added wxWeakRef, wxScopedPtr, wxSharedPtr class templates - Added wxVector class templates +- Added wxON_BLOCK_EXIT_SET() and wxON_BLOCK_EXIT_NULL() to wx/scopeguard.h. All (Unix): @@ -239,6 +250,7 @@ All (GUI): - Added wxNotificationMessage class for non-intrusive notifications - Added wxWindow::Show/HideWithEffect() - Added wxWrapSizer (Arne Steinarson) +- Added wxSpinCtrlDouble (John Labenski) - Added wxNativeContainerWindow to allow embedding wx into native windows - Added custom controls support to wxFileDialog (Diaa Sami and Marcin Wojdyr) - Added wxDC::StretchBlit() for wxMac and wxMSW (Vince Harron). @@ -280,11 +292,12 @@ All (GUI): behaviour of GetNextSibling() consistent between wxMSW and generic versions. - Merged wxRichTextAttr and wxTextAttrEx into wxTextAttr, and added a font table to wxRichTextBuffer to reduce wxFont consumption and increase performance. -- Optimize wxGenericTreeCtrl::Collapse/ExpandAllChildren(). (Szczepan Holyszewski) +- Optimize wxGenericTreeCtrl::Collapse/ExpandAllChildren() + (Szczepan Holyszewski). - Added parameter to wxScrolledWindow XRC handler. -- Added support for automatic dialog scrolling, via the new wxDialogLayoutAdapter - class and various new wxDialog functions. See the topic "Automatic Scrolling - Dialogs" in the manual for further details. +- Added support for automatic dialog scrolling, via the new + wxDialogLayoutAdapter class and various new wxDialog functions. See the + topic "Automatic Scrolling Dialogs" in the manual for further details. - Added support for resizing wxWizard bitmaps to the current page height, via SetBitmapPlacement, SetBitmapBackgroundColour and SetMinimumBitmapWidth. Also made it easier to derive from wxWizard and override behaviour. @@ -293,7 +306,8 @@ All (GUI): - Added wxWindow::HasFocus(). - Added wxGLCanvas::IsDisplaySupported(). - Added wxApp::SetNativeTheme() (Stefan H.). -- Made wxSpinCtrl::Reparent() in MSW and generic versions (Angelo Mottola) +- Made wxSpinCtrl::Reparent() in MSW and generic versions (Angelo Mottola). +- Freeze() and Thaw() now recursively freeze/thaw the children too. wxGTK: @@ -843,7 +857,7 @@ All (GUI): - wxNB_HITTEST_* flags renamed to wxBK_HITTEST_* to serve all book controls. - Added wxTopLevelWindow::SetTransparent and CanSetTransparent, with implementations (so far) for wxMSW and wxMac. -- Allow customizing individual grid lines appearance (S�ren Lassen). +- Allow customizing individual grid lines appearance (Søren Lassen). - Fixed middle click events generation in generic wxTreeCtrl (Olly Betts). - Added wxEVT_MOUSE_CAPTURE_LOST event that must be handled by all windows that CaptureMouse() is called on. @@ -1006,7 +1020,7 @@ wxX11: - Invisible text problem fixed. - Bitmap clipping with masks and scaling improved. - Fixed a crash bug in the generic timer. -- Implemented child process termination notifications (David Bj�rkevik) +- Implemented child process termination notifications (David Björkevik) Unix: @@ -1044,7 +1058,7 @@ All (GUI): - Added wxXmlResource::Unload(). - Possibility of modeless wxWizard dialog (with presentation in sample). - Fixed a rare crash due to malformed HTML in wxHTML (Xavier Nodet). -- Ctrl+mouse wheel changes zoom factor in print preview (Zbigniew Zag�rski). +- Ctrl+mouse wheel changes zoom factor in print preview (Zbigniew Zagórski). - Cross-compile now supported for wxGTK, wxX11 and wxMotif. - Cygwin compilation of wxX11, wxGTK and wxMotif now supported. - Now reads "help" parameter for all windows (context help text). @@ -1059,7 +1073,7 @@ wxMSW: - Fixed wxSlider::GetSelEnd() (Atilim Cetin). - Fixed accelerators of menu items added to already attached submenus. - Position of wxEVT_MOUSEWHEEL events is now in client, not screen, coordinates. -- Handle absence of wxListCtrl column image better (Zbigniew Zag�rski). +- Handle absence of wxListCtrl column image better (Zbigniew Zagórski). - Fixed asynchronous playback of large sound files in wxSound. - Added wxDynamicLibrary::GetSymbolAorW(). - Fixed default size of wxStaticText controls with border being too small. @@ -1342,8 +1356,8 @@ All: use accessors methods now (Mart Raudsepp) - new classes for reading and writing ZIP files (M.J.Wetherell) - large files support for wxFFile (M.J.Wetherell) -- classes in the manual are now cross-referenced (Zbigniew Zag�rski) -- Norwegian (Bokm�l) translation added (Hans F. Nordhaug) +- classes in the manual are now cross-referenced (Zbigniew Zagórski) +- Norwegian (Bokmål) translation added (Hans F. Nordhaug) - wxDynamicLibrary::HasSymbol() added - added wxEXEC_NODISABLE flag to be used with wxExecute(wxEXEC_SYNC) - added wxTextInputStream::operator>>(wchar_t) for compilers which support this @@ -1392,7 +1406,7 @@ All (GUI): - added wxMediaCtrl - added wxDatePickerCtrl - wxHtmlWindow now supports background images given in tag -- wxSplitterWindow now supports gravity parameter (Zbigniew Zag�rski) +- wxSplitterWindow now supports gravity parameter (Zbigniew Zagórski) - recursive wxSizer::GetItem returns item of given window, sizer or nth index - wxLayoutConstraints now use best size, not current size, for AsIs() condition - wxSizer::Add/Insert etc. now returns pointer to wxSizerItem just added and this @@ -1700,7 +1714,7 @@ wxODBC: All: -- event table macros now do some minimal type safety checks (Michael S�gtrop) +- event table macros now do some minimal type safety checks (Michael Sögtrop) - added wxGzipInput/OutputStream, bug fixes in wxZlibStreams (M.J.Wetherell) - wxDateTime::ParseDateTime() implemented (Linus McCabe) - wxHTTP::GetResponse() added (David Nock) @@ -1733,7 +1747,7 @@ All (GUI): - added some support for C++ exceptions in the library (do read the manual!) - added wxListCtrl::GetViewRect() - added wxTextCtrl::MarkDirty() -- wxToolBar::ToggleTool() now works for radio buttons (Dag �gren) +- wxToolBar::ToggleTool() now works for radio buttons (Dag Ågren) - wxListCtrl now sends an END_LABEL event if editing was cancelled, too - bug in wxRect ctor from two [out of order] wxPoints fixed (Steve Cornett) - status text is now restored after wxMenu help is shown in it @@ -1864,7 +1878,7 @@ All: wxBase: - added Watcom makefiles -- fixed bug with searching in sorted arrays (J�rgen Palm) +- fixed bug with searching in sorted arrays (Jürgen Palm) All GUI ports: @@ -2425,7 +2439,7 @@ All (GUI): - polygon support in wxRegion (Klaas Holwerda) - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added - fixed bug with using wxExecute() to capture huge amounts of output -- new wxCalendarCtrl styles added (S�ren Erland Vest�) +- new wxCalendarCtrl styles added (Søren Erland Vestø) - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh) - wxDirSelector() added (Paul A. Thiessen) - wxGrid cell editing veto support (Roger Gammans) @@ -2533,7 +2547,7 @@ wxBase: - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories - wxMimeTypesManager now can create file associations too (Chris Elliott) - wxCopyFile() respects the file permissions (Roland Scholz) -- wxFTP::GetFileSize() added (S�ren Erland Vest�) +- wxFTP::GetFileSize() added (Søren Erland Vestø) - wxDateTime::IsSameDate() bug fixed - wxTimeSpan::Format() now behaves more as expected, see docs - wxLocale now provides much more convenient API for setting language and