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