]> git.saurik.com Git - wxWidgets.git/blame - docs/changes.txt
update for newest bakefile
[wxWidgets.git] / docs / changes.txt
CommitLineData
d643b80e
VZ
1----------------------------
2wxWindows 2.5/2.6 Change Log
3----------------------------
4
5INCOMPATIBLE 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()
26ab89ad 11- wxTheApp can't be assigned to any longer, use wxApp::SetInstance() instead
32b38f99 12- wxFileType::GetIcon() returns wxIconLocation, not wxIcon
5e2ab1ea 13
09c6a817 14
9b9d4651
VZ
15DEPRECATED METHODS SINCE 2.4.x
16==============================
09c6a817
VZ
17
18Deprecated methods may still be used but will disappear in future wxWindows
19versions, please update your code to not use them.
20
7af6b69e 21- wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount()
09c6a817
VZ
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
ba8c1601
MB
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
df3b5898 33- wxTreeItemId conversion to long is deprecated and shouldn't be used
35821d8f
VZ
34- [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and
35 SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles
09c6a817 36
7af6b69e 37
d643b80e
VZ
38OTHER CHANGES
39=============
40
412.5.0
42-----
43
93401be9
VZ
44All:
45
04251510
VS
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
5553c7cf 49- added wxDateSpan::operator==() and !=() (Lukasz Michalski)
f363e05c 50- added wxFileName::GetForbiddenChars() (Dimitri Schoolwerth)
5553c7cf
VZ
51- use true/false throughout the library instead of TRUE/FALSE
52- wxStopWatch::Start() resumes the stop watch if paused, as per the docs
350777b6 53- added wxDirTraverser::OnOpenError() to customize the error handling
5d76f462 54- added wxArray::SetCount()
9ef896e1
VS
55- wxFile, wxFFile, wxTextFile and wxTempFile now all use UTF-8 encoding
56 by default in Unicode mode
3cdf1761 57- bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed
a02afd14 58- added wx/math.h (John Labenski)
f0fe27a0 59- added Catalan translations (Pau Bosch i Crespo)
a364b957 60- added Ukrainian translations (Eugene Manko)
3362e80e 61- fixed bug with deleting entries at root level in wxFileConfig
01ebf752
JS
62- chkconf.h now includes platform-specific versions (for MSW
63 and Mac) which contain some tests that were in setup.h
f9133b32
VZ
64- added event sink argument to wxEvtHandler::Connect()
65- added support for POST method and alt ports to wxHTTP (Roger Chickering)
d9552598 66- added wxSocket::IPAddress() (Chris Mellon)
53663be8 67- wxDataStreams can read/write many elements at once (Mickael Gilabert)
78ee6a47 68- added wxThreadHelper class (Daniel Howard)
5553c7cf 69
d1be6261
VZ
70wxBase:
71
72- added Watcom makefiles
4365da58 73