-\wxheading{Less drastic incompatible changes since 2.4.x}
-
-- no initialization/cleanup can be done in \helpref{wxApp}{wxappctor}/\helpref{~wxApp}{wxappdtor} because they are
- now called much earlier/later than before; please move any exiting code
- from there to \helpref{wxApp::OnInit()}{wxapponinit}/\helpref{OnExit()}{wxapponexit}
-
-- also, \helpref{OnExit()}{wxapponexit} is not called if \helpref{OnInit()}{wxapponinit} fails
-
-- finally the program exit code is \helpref{OnRun()}{wxapponrun} return value, not \helpref{OnExit()}{wxapponexit} one
-
-- \texttt{wxTheApp} can't be assigned to any longer, use \helpref{wxApp::SetInstance()}{wxappsetinstance} instead
-
-- \helpref{wxFileType::GetIcon()}{wxfiletypegeticon} returns \helpref{wxIconLocation}{wxiconlocation}, not \helpref{wxIcon}{wxicon}
-
-- wxColourDatabase is not a \helpref{wxList}{wxlist} any more, use AddColour to add new colours
-
-- wxWindow::Clear() is now called ClearBackground()
-
-- pointer returned by wxFont::GetNativeFontInfo() must not be deleted now
-
-- wxMouseEvent::Moving() doesn't return true if mouse is being dragged any more
-
-- (most) controls now inherit parents colours by default, override
- ShouldInheritColours() to return false if you don't want this to happen
-
-- \helpref{wxApp::SendIdleEvents()}{wxappsendidleevents} now takes 2 arguments
-
-- wxTabView::GetLayers() changed return type from \helpref{wxList&}{wxlist} to wxTabLayerList&
- (when WXWIN\_COMPATIBILITY\_2\_4 == 0)
-
-- wxID\_SEPARATOR (id used for the menu separators) value changed from -1 to -2
-
-- wxGetNumberFromUser() is now in separate wx/numdlg.h, not wx/textdlg.h
-
-- wxChoice and wxCombobox now handle their size in the same way as in all the
- other ports under MSW, new code is actually correct but different from weird
- stuff they were doing before so the behaviour of your programs might change
-
-- \helpref{wxTaskBarIcon}{wxtaskbaricon} objects must now be destroyed before the application can exit.
- Previously, the application terminated if there were no top level windows;
- now it terminates if there are no top level windows or taskbar icons left.
-
-- \helpref{wxZlibInputStream}{wxzlibinputstream} is not by default compatible with the output of the
- 2.4.x version of \helpref{wxZlibOutputStream}{wxzliboutputstream}. However, there is a compatibility mode,
- switched on by passing wxZLIB\_24COMPATIBLE to the constructor.
-
-- when WXWIN\_COMPATIBILITY\_2\_4 == 0 \helpref{wxHashTable}{wxhashtable} uses a new implementation
- not using \helpref{wxList}{wxlist} keyed interface (the same used when wxUSE\_STL == 1),
- the only incompatibility being that Next() returns a wxHashTable::Node*
- instead of a wxNode*.
-
-- non-const wxDC methods GetBackground(), GetBrush(), GetFont() and GetPen()
- as well as wxWindow methods GetFont() and GetCursor() don't exist any more,
- please fix your code -- it never worked correctly anyhow if you modified the
- objects returned by these methods so you should simply switch to using const
- methods.
-
-- \helpref{wxWindow::GetFont()}{wxwindowgetfont} now returns \helpref{wxFont}{wxfont} object instead of reference
-
-- EVT\_XXX macros are now type-safe; code that uses wrong type for event
- handler's argument will no longer compile.
-
-- Identical functionality of wxFileDialog::ParseWildcard,
- wxGenericDirCtrl::ParseFilter, Motif and MSW parsing native dialogs
- is now accessible in ::wxParseCommonDialogsFilter
-
-- wxNotebookSizer and wxBookCtrlSizer are now deprecated -- they are no longer
- needed, you can treat wxNotebook as any other control and put it directly
- into the sizer that was wxNotebookSizer's parent sizer in old code.