]>
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 | ||
9b9d4651 VZ |
8 | - no initialization/cleanup can be done in wxApp/~wxApp because they are |
9 | now called much earlier/later than before; please move any exiting code | |
10 | from there to wxApp::OnInit()/OnExit() | |
fba61bdf | 11 | - also, OnExit() is not called if OnInit() fails |
26ab89ad | 12 | - wxTheApp can't be assigned to any longer, use wxApp::SetInstance() instead |
32b38f99 | 13 | - wxFileType::GetIcon() returns wxIconLocation, not wxIcon |
5da0803c | 14 | - wxWindow::Clear() is now called ClearBackground() |
5e2ab1ea | 15 | |
09c6a817 | 16 | |
9b9d4651 VZ |
17 | DEPRECATED METHODS SINCE 2.4.x |
18 | ============================== | |
09c6a817 VZ |
19 | |
20 | Deprecated methods may still be used but will disappear in future wxWindows | |
21 | versions, please update your code to not use them. | |
22 | ||
7af6b69e | 23 | - wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount() |
09c6a817 VZ |
24 | - wxSizer::Remove(wxWindow *), use Detach() instead [it is more clear] |
25 | - wxSizer::Set/GetOption(): use Set/GetProportion() instead | |
26 | - wxKeyEvent::KeyCode(): use GetKeyCode instead | |
27 | - wxList::Number, First, Last, Nth: use GetCount, GetFirst/Last, Item instead | |
28 | - wxNode::Next, Previous, Data: use GetNext, GetPrevious, GetData instead | |
29 | - wxListBase::operator wxList&(): use typesafe lists instead | |
ba8c1601 MB |
30 | - wxTheFontMapper: use wxFontMapper::Get() instead |
31 | - wxStringHashTable: use wxHashMap instead | |
32 | - wxHashTableLong: use wxHashMap instead | |
33 | - wxArrayString::GetStringArray: no replacement | |
34 | - wxArrayString::Remove(index, count): use RemoveAt instead | |
df3b5898 | 35 | - wxTreeItemId conversion to long is deprecated and shouldn't be used |
35821d8f VZ |
36 | - [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and |
37 | SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles | |
09c6a817 | 38 | |
7af6b69e | 39 | |
d643b80e VZ |
40 | OTHER CHANGES |
41 | ============= | |
42 | ||
11ebea16 VZ |
43 | 2.5.1 |
44 | ----- | |
45 | ||
de07d200 VZ |
46 | Base: |
47 | ||
48 | - wxDateTime::ParseDateTime() implemented (Linus McCabe) | |
49 | ||
11ebea16 VZ |
50 | wxMSW: |
51 | ||
52 | - fixed wxTE_*WRAP styles handling | |
53 | ||
54 | All (GUI): | |
55 | ||
56 | - added wxListCtrl::GetViewRect() | |
57 | ||
58 | ||
d643b80e VZ |
59 | 2.5.0 |
60 | ----- | |
61 | ||
93401be9 VZ |
62 | All: |
63 | ||
04251510 VS |
64 | - It is now possible to build several smaller libraries instead of single |
65 | huge wxWindows library; wxBase is now dependency of GUI ports rather then | |
66 | separately compiled library | |
5553c7cf | 67 | - added wxDateSpan::operator==() and !=() (Lukasz Michalski) |
f363e05c | 68 | - added wxFileName::GetForbiddenChars() (Dimitri Schoolwerth) |
5553c7cf VZ |
69 | - use true/false throughout the library instead of TRUE/FALSE |
70 | - wxStopWatch::Start() resumes the stop watch if paused, as per the docs | |
350777b6 | 71 | - added wxDirTraverser::OnOpenError() to customize the error handling |
5d76f462 | 72 | - added wxArray::SetCount() |
9ef896e1 VS |
73 | - wxFile, wxFFile, wxTextFile and wxTempFile now all use UTF-8 encoding |
74 | by default in Unicode mode | |
3cdf1761 | 75 | - bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed |
a02afd14 | 76 | - added wx/math.h (John Labenski) |
f0fe27a0 | 77 | - added Catalan translations (Pau Bosch i Crespo) |
a364b957 | 78 | - added Ukrainian translations (Eugene Manko) |
3362e80e | 79 | - fixed bug with deleting entries at root level in wxFileConfig |
01ebf752 JS |
80 | - chkconf.h now includes platform-specific versions (for MSW |
81 | and Mac) which contain some tests that were in setup.h | |
f9133b32 VZ |
82 | - added event sink argument to wxEvtHandler::Connect() |
83 | - added support for POST method and alt ports to wxHTTP (Roger Chickering) | |
d9552598 | 84 | - added wxSocket::IPAddress() (Chris Mellon) |
53663be8 | 85 | - wxDataStreams can read/write many elements at once (Mickael Gilabert) |
7b4d7f99 | 86 | - added wxRecursionGuard class |
78ee6a47 | 87 | - added wxThreadHelper class (Daniel Howard) |
5553c7cf | 88 | |
d1be6261 VZ |
89 | wxBase: |
90 | ||
91 | - added Watcom makefiles | |
4365da58 | 92 |