]>
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 | ||
71aba833 VZ |
50 | All (GUI): |
51 | ||
7e33e48e | 52 | - added some support for C++ exceptions in the library (do read the manual!) |
71aba833 VZ |
53 | - added wxListCtrl::GetViewRect() |
54 | ||
11ebea16 VZ |
55 | wxMSW: |
56 | ||
57 | - fixed wxTE_*WRAP styles handling | |
7411f983 | 58 | - wxTextCtrl::GetValue() works with text in non default encoding |
11ebea16 | 59 | |
71aba833 | 60 | wxGTK: |
11ebea16 | 61 | |
71aba833 | 62 | - fixes to wxTextCtrl scrolling under GTK2 (Nerijus Baliunas) |
11ebea16 VZ |
63 | |
64 | ||
d643b80e VZ |
65 | 2.5.0 |
66 | ----- | |
67 | ||
93401be9 VZ |
68 | All: |
69 | ||
04251510 VS |
70 | - It is now possible to build several smaller libraries instead of single |
71 | huge wxWindows library; wxBase is now dependency of GUI ports rather then | |
72 | separately compiled library | |
5553c7cf | 73 | - added wxDateSpan::operator==() and !=() (Lukasz Michalski) |
f363e05c | 74 | - added wxFileName::GetForbiddenChars() (Dimitri Schoolwerth) |
5553c7cf VZ |
75 | - use true/false throughout the library instead of TRUE/FALSE |
76 | - wxStopWatch::Start() resumes the stop watch if paused, as per the docs | |
350777b6 | 77 | - added wxDirTraverser::OnOpenError() to customize the error handling |
5d76f462 | 78 | - added wxArray::SetCount() |
9ef896e1 VS |
79 | - wxFile, wxFFile, wxTextFile and wxTempFile now all use UTF-8 encoding |
80 | by default in Unicode mode | |
3cdf1761 | 81 | - bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed |
a02afd14 | 82 | - added wx/math.h (John Labenski) |
f0fe27a0 | 83 | - added Catalan translations (Pau Bosch i Crespo) |
a364b957 | 84 | - added Ukrainian translations (Eugene Manko) |
3362e80e | 85 | - fixed bug with deleting entries at root level in wxFileConfig |
01ebf752 JS |
86 | - chkconf.h now includes platform-specific versions (for MSW |
87 | and Mac) which contain some tests that were in setup.h | |
f9133b32 VZ |
88 | - added event sink argument to wxEvtHandler::Connect() |
89 | - added support for POST method and alt ports to wxHTTP (Roger Chickering) | |
d9552598 | 90 | - added wxSocket::IPAddress() (Chris Mellon) |
53663be8 | 91 | - wxDataStreams can read/write many elements at once (Mickael Gilabert) |
7b4d7f99 | 92 | - added wxRecursionGuard class |
78ee6a47 | 93 | - added wxThreadHelper class (Daniel Howard) |
5553c7cf | 94 | |
d1be6261 VZ |
95 | wxBase: |
96 | ||
97 | - added Watcom makefiles | |
4365da58 | 98 |