From d6256ab96d1058968e01a81ae9b782bf20a2ff27 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 27 Apr 2012 22:35:08 +0000 Subject: [PATCH] Added note about WXWIN_COMPATIBILITY_2_6 being off in 2.9 by default. Also list some concrete symbols which are not available any more and their replacements. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/changes.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/changes.txt b/docs/changes.txt index eaa94e96a1..dd51162adf 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -218,6 +218,21 @@ Changes in behaviour which may result in compilation errors - WXWIN_COMPATIBILITY_2_4 doesn't exist any more, please update your code if you still relied on features deprecated since version 2.4 +- WXWIN_COMPATIBILITY_2_6 still exists but is 0 by default in this release and + will be removed in 3.2. You can set it to 1 and rebuild wxWidgets to access + the old and deprecated symbols but please consider updating your code + instead. Here are replacements for some of the obsolete symbols: + + wxSAVE and wxOPEN -> wxFD_SAVE and wxFD_OPEN + + WXK_PRIOR and WXK_NEXT -> WXK_PAGEUP and WXK_PAGEDOWN + + wxRESIZE_BOX -> wxMAXIMIZE_BOX + + wxTHICK_FRAME -> wxRESIZE_BORDER + + wxPROCESS_ENTER and wxPASSWORD -> wxTE_PROCESS_ENTER and wxTE_PASSWORD + + EVT_SCROLL_ENDSCROLL -> EVT_SCROLL_CHANGED + + NewControlId -> wxWindow::NewControlId() + + wxFileHistory::GetNoHistoryFiles() -> wxFileHistory::GetCount() + + wxSizerItem::SetOption() -> wxSizerItem::SetProportion() + + wxSizer::Remove(wxWindow*) -> wxSizer::Detach() + - wxDC classes hierarchy has changed, if you derived any classes from wxDC you need to review them as wxDC doesn't have any virtual methods any longer and uses delegation instead of inheritance to present different behaviours. -- 2.45.2