X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4445d24d33828580f8bf2a1215ef906f70adb51..d5363f57fb8beb6638932cb2b02a69262ee60f82:/docs/changes.txt diff --git a/docs/changes.txt b/docs/changes.txt index 7a22272a8c..9c53ced097 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -11,6 +11,18 @@ INCOMPATIBLE CHANGES SINCE 2.6.x - For all wxInputStreams, Eof() becomes true after an attempt has been made to read _past_ the end of file. - wxCHECK family of macros now must be followed by a semicolon +- wxMBConv::cMB2WC() and cWC2MB() take size of the input buffer and return + length of the converted string in all cases now. +- wxHtmlWindow::OnCellClicked() now returns bool. +- wxHtmlCell::OnMouseClick() was deprecated and replaced with + wxHtmlCell::ProcessMouseClick(); old code overriding OnMouseClick() will + continue to work with WXWIN_COMPATIBILITY_2_6, but should be rewritten to + use ProcessMouseClick(). +- wxHtmlCell::GetCursor() was deprecated and replaced with + wxHtmlCell::GetMouseCursor(); old code overriding GetCursor() will + continue to work with WXWIN_COMPATIBILITY_2_6, but should be rewritten to + use GetMouseCursor(). + Deprecated methods since 2.6.x and their replacements ----------------------------------------------------- @@ -24,6 +36,8 @@ Deprecated methods since 2.6.x and their replacements All: +- wx(F)File, wxTextFile and wxInputStreams recognize Unicode BOM now +- Many fixes for UTF-16/32 handling in Unicode builds - wxLaunchDefaultBrowser() now supports wxBROWSER_NEW_WINDOW flag. - Added wxStandardPaths::GetResourcesDir() and GetLocalizedResourcesDir() - Added wxStringTokenizer::GetLastDelimiter(); improved documentation. @@ -50,10 +64,13 @@ All: - Assert messages now show the function in which assert failed - wxApp::OnAssertFailure() should now be used instead the old wxApp::OnAssert() - Fixed several bugs in wxDateTime::ParseDate() -- The WXK*PRIOR and WXK*NEXT constants are now aliases for WXK*PAGEUP +- The WXK*PRIOR and WXK*NEXT constants are now aliases for WXK*PAGEUP and WXK*PAGEDOWN. If you have switch statements that use both - constants from a set then you need to remove the PRIOR/NEXT + constants from a set then you need to remove the PRIOR/NEXT versions in order to eliminate compiler errors. +- Fixed bug where wxDateTime::Now() would sometimes return an incorrect value + the first time it was called. +- Added wxString::rbegin() and rend() All (GUI): @@ -106,6 +123,8 @@ All (GUI): - Added wxListBox::HitTest(). - Added wxDisplay::GetClientArea(). - Indices and counts in wxControlWithItems derived API are unsigned. +- Added support for links to wxHtmlListBox; use code has to override + wxHtmlListBox::OnLinkClicked() to take advantage of it. wxMSW: @@ -156,9 +175,11 @@ wxMSW: - Fixed wxChoice/wxComboBox slow appending and infinite recursion if its size is set within a paint handler (for example when embedded in a wxHtmlWindow). [Now reverted due to problems in W2K and below.] +- wxDC::GetTextExtent() width calculation is more precise for italics fonts now wxGTK: +- Fixed handling of font encoding in non-Unicode build - wxEVT_MENU_CLOSE and wxEVT_MENU_OPENED for popup menus are now generated. - Implemented wxCURSOR_BLANK support. - wxSlider generates all scroll events now and not only wxEVT_SCROLL_THUMBTRACK. @@ -171,7 +192,7 @@ wxGTK: - Fixed focusing with mnemonic accelerator keys on wxStaticText which is now able to focus on wxComboBox and possibly other controls previously unable to be focused before. -- Enabled mnemonics and the corresponding accelerator keys for +- Enabled mnemonics and the corresponding accelerator keys for wxStaticBox and wxRadioBox. - Fixed problem trying to print from a preview, whereby wrong printer class was used.