]>
Commit | Line | Data |
---|---|---|
d643b80e VZ |
1 | ---------------------------- |
2 | wxWindows 2.5/2.6 Change Log | |
3 | ---------------------------- | |
4 | ||
5 | INCOMPATIBLE CHANGES SINCE 2.4.x | |
6 | ================================ | |
7 | ||
e441e1f4 VZ |
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 | ||
9b9d4651 VZ |
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() | |
fba61bdf | 24 | - also, OnExit() is not called if OnInit() fails |
26ab89ad | 25 | - wxTheApp can't be assigned to any longer, use wxApp::SetInstance() instead |
32b38f99 | 26 | - wxFileType::GetIcon() returns wxIconLocation, not wxIcon |
080a7b20 MB |
27 | - wxColourDatabase doesn't derive from wxList anymore: use AddColour to add |
28 | new colours | |
5da0803c | 29 | - wxWindow::Clear() is now called ClearBackground() |
480e5897 | 30 | - pointer returned by wxFont::GetNativeFontInfo() must not be deleted now |
6f63704f | 31 | - wxMouseEvent::Moving() doesn't return true if mouse is being dragged |
5e2ab1ea | 32 | |
09c6a817 | 33 | |
9b9d4651 VZ |
34 | DEPRECATED METHODS SINCE 2.4.x |
35 | ============================== | |
09c6a817 VZ |
36 | |
37 | Deprecated methods may still be used but will disappear in future wxWindows | |
38 | versions, please update your code to not use them. | |
39 | ||
7af6b69e | 40 | - wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount() |
09c6a817 VZ |
41 | - wxSizer::Remove(wxWindow *), use Detach() instead [it is more clear] |
42 | - wxSizer::Set/GetOption(): use Set/GetProportion() instead | |
43 | - wxKeyEvent::KeyCode(): use GetKeyCode instead | |
44 | - wxList::Number, First, Last, Nth: use GetCount, GetFirst/Last, Item instead | |
45 | - wxNode::Next, Previous, Data: use GetNext, GetPrevious, GetData instead | |
46 | - wxListBase::operator wxList&(): use typesafe lists instead | |
ba8c1601 MB |
47 | - wxTheFontMapper: use wxFontMapper::Get() instead |
48 | - wxStringHashTable: use wxHashMap instead | |
49 | - wxHashTableLong: use wxHashMap instead | |
50 | - wxArrayString::GetStringArray: no replacement | |
51 | - wxArrayString::Remove(index, count): use RemoveAt instead | |
df3b5898 | 52 | - wxTreeItemId conversion to long is deprecated and shouldn't be used |
35821d8f VZ |
53 | - [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and |
54 | SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles | |
080a7b20 | 55 | - wxList keyed interface: use wxHashMap instead |
7af6b69e | 56 | |
d643b80e VZ |
57 | OTHER CHANGES |
58 | ============= | |
59 | ||
11ebea16 VZ |
60 | 2.5.1 |
61 | ----- | |
62 | ||
2e622163 | 63 | All: |
de07d200 | 64 | |
d7a7546b | 65 | - added wxGzipInput/OutputStream, bug fixes in wxZlibStreams (M.J.Wetherell) |
de07d200 | 66 | - wxDateTime::ParseDateTime() implemented (Linus McCabe) |
2e622163 | 67 | - wxHTTP::GetResponse() added (David Nock) |
10403254 | 68 | - added conversions to/from UTF 16/32 LE/BE (Andreas Pflug) |
bcda793a | 69 | - added wxTextInputStream::ReadChar() (M.J.Wetherell) |
bdb4888d | 70 | - added translation to Afrikaans (Petri Jooste) |
430d4341 | 71 | - Spanish translations updated (Javier San Jose) |
849a28d0 | 72 | - added gettext plural forms support to wxLocale (Michael N. Filippov) |
05e1201c VZ |
73 | - wxFileName::Normalize(wxPATH_NORM_ALL) doesn't lower filename case any more |
74 | - wxFileName::Normalize(wxPATH_NORM_ENV_VARS) now works | |
cb820f80 | 75 | - check if file exists in wxFileConfig::DeleteFile() (Christian Sturmlechner) |
de07d200 | 76 | |
71aba833 VZ |
77 | All (GUI): |
78 | ||
14f28642 | 79 | - added wxListBook control |
8941fa88 | 80 | - added 3-state checkboxes for MSW/Mac (Dimitri Schoolwerth) |
7e33e48e | 81 | - added some support for C++ exceptions in the library (do read the manual!) |
71aba833 | 82 | - added wxListCtrl::GetViewRect() |
3a9fa0d6 | 83 | - added wxTextCtrl::MarkDirty() |
6bb7cee4 | 84 |