]>
Commit | Line | Data |
---|---|---|
1 | ---------------------------- | |
2 | wxWindows 2.5/2.6 Change Log | |
3 | ---------------------------- | |
4 | ||
5 | INCOMPATIBLE CHANGES SINCE 2.4.x | |
6 | ================================ | |
7 | ||
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() | |
11 | - also, OnExit() is not called if OnInit() fails | |
12 | - wxTheApp can't be assigned to any longer, use wxApp::SetInstance() instead | |
13 | - wxFileType::GetIcon() returns wxIconLocation, not wxIcon | |
14 | - wxWindow::Clear() is now called ClearBackground() | |
15 | ||
16 | ||
17 | DEPRECATED METHODS SINCE 2.4.x | |
18 | ============================== | |
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 | ||
23 | - wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount() | |
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 | |
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 | |
35 | - wxTreeItemId conversion to long is deprecated and shouldn't be used | |
36 | - [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and | |
37 | SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles | |
38 | ||
39 | ||
40 | OTHER CHANGES | |
41 | ============= | |
42 | ||
43 | 2.5.0 | |
44 | ----- | |
45 | ||
46 | All: | |
47 | ||
48 | - It is now possible to build several smaller libraries instead of single | |
49 | huge wxWindows library; wxBase is now dependency of GUI ports rather then | |
50 | separately compiled library | |
51 | - added wxDateSpan::operator==() and !=() (Lukasz Michalski) | |
52 | - added wxFileName::GetForbiddenChars() (Dimitri Schoolwerth) | |
53 | - use true/false throughout the library instead of TRUE/FALSE | |
54 | - wxStopWatch::Start() resumes the stop watch if paused, as per the docs | |
55 | - added wxDirTraverser::OnOpenError() to customize the error handling | |
56 | - added wxArray::SetCount() | |
57 | - wxFile, wxFFile, wxTextFile and wxTempFile now all use UTF-8 encoding | |
58 | by default in Unicode mode | |
59 | - bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed | |
60 | - added wx/math.h (John Labenski) | |
61 | - added Catalan translations (Pau Bosch i Crespo) | |
62 | - added Ukrainian translations (Eugene Manko) | |
63 | - fixed bug with deleting entries at root level in wxFileConfig | |
64 | - chkconf.h now includes platform-specific versions (for MSW | |
65 | and Mac) which contain some tests that were in setup.h | |
66 | - added event sink argument to wxEvtHandler::Connect() | |
67 | - added support for POST method and alt ports to wxHTTP (Roger Chickering) | |
68 | - added wxSocket::IPAddress() (Chris Mellon) | |
69 | - wxDataStreams can read/write many elements at once (Mickael Gilabert) | |
70 | - added wxRecursionGuard class | |
71 | - added wxThreadHelper class (Daniel Howard) | |
72 | ||
73 | wxBase: | |
74 | ||
75 | - added Watcom makefiles | |
76 |