X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae72623b6469ff6f0e639a4c3d13a732d7fc372e..615f9ff096c8c6553361975ab0504255c0f1f584:/docs/changes.txt diff --git a/docs/changes.txt b/docs/changes.txt index 3637bd1d59..20015c11a3 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. @@ -491,6 +504,16 @@ Build system changes it's not the default "x86". E.g. a library built with MSVC 10 for amd64 is called "wxbase294ud_vc110_amd64.dll" now. +- MSVC projects don't include neither wxUniversal nor ANSI (non-Unicode) + configurations any more. The simplest way to build wxWidgets in these + configurations if you need them is to use nmake from the command line with + WXUNIV=1 or UNICODE=0 command line parameter respectively. + +- The manifest is not included by wx/msw/wx.rc any longer for MSVC compiler. + If you're using MSVC 6 or 7 which require it, you must explicitly define + wxUSE_RC_MANIFEST=1 and also predefine WX_CPU_X86 in the resource compiler + options in your project file. + Major new features in this release ---------------------------------- @@ -535,9 +558,19 @@ INCOMPATIBLE CHANGES SINCE 2.9.4: old behaviour. - wxWebView::New now takes a string identifier for the backend to be used rather than a wxWebViewBackend enum value. +- wxWebView identifiers of the form WEB_VIEW_* have been renamed to WEBVIEW_* + for consistency with the rest of wxWidgets. +- wxFont(int size, wxFontFamily family, int flags) ctor added in 2.9.4 was + removed to avoid ambiguities with the other existing ctors and replaced with + the new wxFont(wxFontInfo) ctor. + All: +- Provide short synonyms using the same name as event table macros for the + event type constants to make using Bind() less verbose. E.g. + wxEVT_COMMAND_MENU_SELECTED is now wxEVT_MENU (but the old name remains + available for compatibility) (Catalin Raceanu). - Add wxEvtHandler::CallAfter() method for asynchronous method calls. - Add support for symlinks to wxFileName (David Hart). - Add wxDIR_NO_FOLLOW flag for wxDir traversal (David Hart). @@ -554,7 +587,11 @@ All: - Add wxFile::ReadAll() for consistency with wxFFile. - Add wxDateTime::DiffAsDateSpan() and wxDateSpan::GetTotalMonths() (jonasr). - Add wxVector::assign() (Jonas Rydberg). -- Added Nepali translation (Him Prasad Gautam). +- 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). +- Add Nepali translation (Him Prasad Gautam). All (GUI): @@ -596,9 +633,10 @@ All (GUI): - Allow specifying all wxFlexGridSizer parameters in XRC (Steffen Olszewski). - Close wxLogWindow automatically if it's the last remaining top level window. - Implement clipping for wxSVGFileDC (Steve Benbow). -- Added wxDirCtrl::GetPath() (troelsk). -- Added wxEVT_COMMAND_DIRCTRL_CHANGED event (troelsk). -- Added wxControl::GetSizeFromTextSize() (Manuel Martin). +- Add wxDirCtrl::GetPath() (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). - Add wxTL_NO_HEADER style to wxTreeListCtrl (robboto). - Add possibility to delay showing wxRichToolTip (John Roberts). @@ -608,6 +646,19 @@ All (GUI): - Fix bug in generic wxDataViewCtrl column dragging (jobuz). - Add wxMask::GetBitmap() for wxMSW, wxGTK and wxOSX - Add wxCheckListBox::GetCheckedItems() (hartwigw). +- Add wxAUI_TB_PLAIN_BACKGROUND wxAuiToolBar style (Allann Jones). +- Make wxGenericDataViewCtrl::SetFont() really work (Laurent Poujoulat). +- Remove wxLogWindow::OnFrameCreate(), it was never called anyhow. +- Add wxBookCtrlBase::FindPage() (troelsk). +- Add wxDocument::Activate() (troelsk). +- Add wxDocManager::FindDocumentByPath() (troelsk). +- Add wxEVT_GRID_COL_AUTO_SIZE event (Igor Korot). +- 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. wxGTK: @@ -622,6 +673,7 @@ wxGTK: wxMSW: +- Fix pulsing of bitmaps in focused buttons under Windows 7 (Catalin Raceanu). - Fix setting colours for the text part of wxComboBox (Igor Korot). - Add support for CURRENCY and SCODE types to OLE Automation helpers (PB). - Allow setting LCID used by wxAutomationObject (PB). @@ -632,6 +684,13 @@ wxMSW: - Fix setting initial wxSpinCtrl value outside 0..100 range (joim). - Fix changing labels of menu items with bitmaps (Daniel Hyams). - Fix appearance of multiline coloured wxCheckBox (Catalin Raceanu). +- Allow creating wxCursor from ANI files (Catalin Raceanu). +- Add wxIcon::CreateFromHICON() (troelsk). +- Improve wxCURSOR_RIGHT_ARROW appearance (DoltAlya). +- Generate menu highlight events for popup menus in wxDialog (Sam Partington). +- 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). wxOSX/Cocoa: