]>
Commit | Line | Data |
---|---|---|
1 | ---------------------------- | |
2 | wxWindows 2.5/2.6 Change Log | |
3 | ---------------------------- | |
4 | ||
5 | INCOMPATIBLE CHANGES SINCE 2.4.x | |
6 | ================================ | |
7 | ||
8 | Please take a few minutes to read the following list, especially | |
9 | paying attention to the most important changes which are marked | |
10 | with '!' in the first column. | |
11 | ||
12 | Also please note that you should ensure that WXWIN_COMPATIBILITY_2_4 | |
13 | is defined to 1 if you wish to retain maximal compatibility with 2.4 | |
14 | series. | |
15 | ||
16 | ! windows are no longer fully repainted when resized, use new style | |
17 | wxFULL_REPAINT_ON_RESIZE to force this (wxNO_FULL_REPAINT_ON_RESIZE stll | |
18 | exists but doesn't do anything any more, this behaviour is default now) | |
19 | ||
20 | ||
21 | - no initialization/cleanup can be done in wxApp/~wxApp because they are | |
22 | now called much earlier/later than before; please move any exiting code | |
23 | from there to wxApp::OnInit()/OnExit() | |
24 | - also, OnExit() is not called if OnInit() fails | |
25 | - wxTheApp can't be assigned to any longer, use wxApp::SetInstance() instead | |
26 | - wxFileType::GetIcon() returns wxIconLocation, not wxIcon | |
27 | - wxWindow::Clear() is now called ClearBackground() | |
28 | - pointer returned by wxFont::GetNativeFontInfo() must not be deleted now | |
29 | ||
30 | ||
31 | DEPRECATED METHODS SINCE 2.4.x | |
32 | ============================== | |
33 | ||
34 | Deprecated methods may still be used but will disappear in future wxWindows | |
35 | versions, please update your code to not use them. | |
36 | ||
37 | - wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount() | |
38 | - wxSizer::Remove(wxWindow *), use Detach() instead [it is more clear] | |
39 | - wxSizer::Set/GetOption(): use Set/GetProportion() instead | |
40 | - wxKeyEvent::KeyCode(): use GetKeyCode instead | |
41 | - wxList::Number, First, Last, Nth: use GetCount, GetFirst/Last, Item instead | |
42 | - wxNode::Next, Previous, Data: use GetNext, GetPrevious, GetData instead | |
43 | - wxListBase::operator wxList&(): use typesafe lists instead | |
44 | - wxTheFontMapper: use wxFontMapper::Get() instead | |
45 | - wxStringHashTable: use wxHashMap instead | |
46 | - wxHashTableLong: use wxHashMap instead | |
47 | - wxArrayString::GetStringArray: no replacement | |
48 | - wxArrayString::Remove(index, count): use RemoveAt instead | |
49 | - wxTreeItemId conversion to long is deprecated and shouldn't be used | |
50 | - [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and | |
51 | SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles | |
52 | ||
53 | ||
54 | OTHER CHANGES | |
55 | ============= | |
56 | ||
57 | 2.5.1 | |
58 | ----- | |
59 | ||
60 | All: | |
61 | ||
62 | - wxDateTime::ParseDateTime() implemented (Linus McCabe) | |
63 | - wxHTTP::GetResponse() added (David Nock) | |
64 | - added conversions to/from UTF 16/32 LE/BE (Andreas Pflug) | |
65 | - wxFileName::Normalize(wxPATH_NORM_ALL) doesn't lower filename case any more | |
66 | - added wxTextInputStream::ReadChar() (M.J.Wetherell) | |
67 | - several wxZlibStreams bug fixes enhancements (M.J.Wetherell) | |
68 | ||
69 | All (GUI): | |
70 | ||
71 | - added some support for C++ exceptions in the library (do read the manual!) | |
72 | - added wxListCtrl::GetViewRect() | |
73 | - added wxTextCtrl::MarkDirty() | |
74 |