]>
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 | - wxTheApp can't be assigned to any longer, use wxApp::SetInstance() instead | |
12 | - wxFileType::GetIcon() returns wxIconLocation, not wxIcon | |
13 | ||
14 | ||
15 | DEPRECATED METHODS SINCE 2.4.x | |
16 | ============================== | |
17 | ||
18 | Deprecated methods may still be used but will disappear in future wxWindows | |
19 | versions, please update your code to not use them. | |
20 | ||
21 | - wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount() | |
22 | - wxSizer::Remove(wxWindow *), use Detach() instead [it is more clear] | |
23 | - wxSizer::Set/GetOption(): use Set/GetProportion() instead | |
24 | - wxKeyEvent::KeyCode(): use GetKeyCode instead | |
25 | - wxList::Number, First, Last, Nth: use GetCount, GetFirst/Last, Item instead | |
26 | - wxNode::Next, Previous, Data: use GetNext, GetPrevious, GetData instead | |
27 | - wxListBase::operator wxList&(): use typesafe lists instead | |
28 | - wxTheFontMapper: use wxFontMapper::Get() instead | |
29 | - wxStringHashTable: use wxHashMap instead | |
30 | - wxHashTableLong: use wxHashMap instead | |
31 | - wxArrayString::GetStringArray: no replacement | |
32 | - wxArrayString::Remove(index, count): use RemoveAt instead | |
33 | - wxTreeItemId conversion to long is deprecated and shouldn't be used | |
34 | - [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and | |
35 | SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles | |
36 | ||
37 | ||
38 | OTHER CHANGES | |
39 | ============= | |
40 | ||
41 | 2.5.0 | |
42 | ----- | |
43 | ||
44 | All: | |
45 | ||
46 | - It is now possible to build several smaller libraries instead of single | |
47 | huge wxWindows library; wxBase is now dependency of GUI ports rather then | |
48 | separately compiled library | |
49 | - added wxDateSpan::operator==() and !=() (Lukasz Michalski) | |
50 | - added wxFileName::GetForbiddenChars() (Dimitri Schoolwerth) | |
51 | - use true/false throughout the library instead of TRUE/FALSE | |
52 | - wxStopWatch::Start() resumes the stop watch if paused, as per the docs | |
53 | - added wxDirTraverser::OnOpenError() to customize the error handling | |
54 | - added wxArray::SetCount() | |
55 | - wxFile, wxFFile, wxTextFile and wxTempFile now all use UTF-8 encoding | |
56 | by default in Unicode mode | |
57 | - bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed | |
58 | - added wx/math.h (John Labenski) | |
59 | - added Catalan translations (Pau Bosch i Crespo) | |
60 | - added Ukrainian translations (Eugene Manko) | |
61 | - fixed bug with deleting entries at root level in wxFileConfig | |
62 | - chkconf.h now includes platform-specific versions (for MSW | |
63 | and Mac) which contain some tests that were in setup.h | |
64 | - added event sink argument to wxEvtHandler::Connect() | |
65 | - added support for POST method and alt ports to wxHTTP (Roger Chickering) | |
66 | - added wxSocket::IPAddress() (Chris Mellon) | |
67 | - wxDataStreams can read/write many elements at once (Mickael Gilabert) | |
68 | - added wxThreadHelper class (Daniel Howard) | |
69 | ||
70 | wxBase: | |
71 | ||
72 | - added Watcom makefiles | |
73 |