X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4322906f97b2f6994b33182cb6a889fd899f3012..51248412979029d94d11ea5dab9516831be94914:/docs/changes.txt?ds=sidebyside diff --git a/docs/changes.txt b/docs/changes.txt index 193a1fb0e5..3093cd06b1 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -87,6 +87,19 @@ The "stc" and "svg" contribs instead have been moved respectively into a new Changes in behaviour not resulting in compilation errors, please read this! --------------------------------------------------------------------------- +- Don't pass wxString::c_str() to vararg functions any more! Due to Unicode + changes, c_str() now returns an object and not a simple char pointer, so + using it with vararg functions does not work any more. The preferred + solution is to use wx-provided equivalents, e.g. wxPrintf() instead of + printf() which has the added benefit that you don't need to call c_str() + any more and can pass wxString objects directly. If this is impossible, + add explicit casts to "const char*" or "const wchar_t*". See wxString + documentation for more details. + + Notice that using wxString::c_str() with vararg functions does result in + compilation errors with g++ and most other compilers but not MSVC. Try to + build your code with g++ to detect all such problems at compile-time. + - Default location of wxFileConfig files has changed under Windows, you will need to update your code if you access these files directly. @@ -223,6 +236,9 @@ Changes in behaviour not resulting in compilation errors, please read this! GetEventObject() in all ports but the frame the menu was attached to in wxMSW. Now all ports return the menu that was opened or closed as the event object. +- wxAny now uses C locale format for the floating point numbers and not the + current locale one, i.e. decimal point is always used. + Changes in behaviour which may result in compilation errors ----------------------------------------------------------- @@ -563,6 +579,8 @@ All: - Add wxDIR_NO_FOLLOW flag for wxDir traversal (David Hart). - Allow testing for symlink/FIFO/socket existence in wxFileName (David Hart). - Many important bug fixes in wxFileSystemWatcher (David Hart). +- Add wxInputStream::ReadAll() and wxOutputStream::WriteAll() (Catalin Raceanu). +- Fix wxCountingOutputStream::LastWrite() return value (Catalin Raceanu). - Add new wxFSW_EVENT_ATTRIB and wxFSW_EVENT_UNMOUNT flags (David Hart). - Add separate read/written bytes counters and per-direction NOWAIT and WAITALL flags to wxSocket (Rob Bresalier). @@ -576,6 +594,9 @@ All: - Add wxVector::assign() (Jonas Rydberg). - Add wx[F]File{Input,Output}Stream::GetFile() (troelsk). - Add wxSocketBase::GetSocket() (Laurent Poujoulat). +- Add IEEE 754 single/double precision support to wxDataStream classes (net147). +- Add wxVector<>::const_reverse_iterator (troelsk). +- Fix thread-safety issue in wxSharedPtr<> (plorkyeran). - Add Nepali translation (Him Prasad Gautam). All (GUI): @@ -584,6 +605,7 @@ All (GUI): - Add support for wxRibbonBar and related controls to XRC (Armel Asselin). - Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG files. - Add new wxSimplebook class. +- Implement possibility to hook all modal dialog calls. - Support hexadecimal numbers in wxSpinCtrl. - Respect window max size in wxBoxSizer (Nathan Ridge). - Add support for searching in wxWebView for MSW and GTK (Allonii). @@ -619,9 +641,11 @@ All (GUI): - Close wxLogWindow automatically if it's the last remaining top level window. - Implement clipping for wxSVGFileDC (Steve Benbow). - Add wxDirCtrl::GetPath() (troelsk). -- Add wxEVT_COMMAND_DIRCTRL_CHANGED event (troelsk). +- Add wxEVT_DIRCTRL_SELECTIONCHANGED event (troelsk). +- Add wxEVT_DIRCTRL_FILEACTIVATED event (troelsk). - Add wxControl::GetSizeFromTextSize() (Manuel Martin). - Optionally allow showing tooltips for disabled ribbon buttons (wxBen). +- Improve horizontal scrolling in wxRibbonControl (wxBen). - Add wxTL_NO_HEADER style to wxTreeListCtrl (robboto). - Add possibility to delay showing wxRichToolTip (John Roberts). - Add "rect" paramerer to wxRichToolTip::ShowFor() (John Roberts). @@ -640,7 +664,12 @@ All (GUI): - Add chainable wxWizardPageSimple::Chain() overload. - Add wxTextEntryDialog::SetMaxLength() (derEine). - Fix maximum width support in wxGridCellTextEditor (derEine). +- Allow associating a validator with wxGridCellTextEditor (derEine). - Add more convenient wxFont(wxFontInfo) ctor. +- Pass menu events to the handler in the associated wxMenuBar. +- Add wxWindow::BeginRepositioningChildren() and EndRepositioningChildren(). +- Fix wxStyledTextCtrl::SetInsertionPointEnd() (troelsk). +- Add wxFileDialog::GetCurrentlySelectedFilename() (Carl Godkin). wxGTK: @@ -673,6 +702,7 @@ wxMSW: - Return more native shell icons from wxArtProvider (Markus Juergens). - Fix filter checks in wxDir::FindFirst/Next() (Catalin Raceanu). - Add support for wxICON_AUTH_NEEDED to wxMessageDialog (Chris Spencer). +- Fix printing too many copies of the document in some cases (John Roberts). wxOSX/Cocoa: