]> git.saurik.com Git - wxWidgets.git/blame - docs/changes.txt
mention that OnInit/Exit() should be used instead of wxApp/~wxApp
[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()
32b38f99
VZ
11- wxFileType::GetIcon() returns wxIconLocation, not wxIcon
12
09c6a817 13
9b9d4651
VZ
14DEPRECATED METHODS SINCE 2.4.x
15==============================
09c6a817
VZ
16
17Deprecated methods may still be used but will disappear in future wxWindows
18versions, please update your code to not use them.
19
7af6b69e 20- wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount()
09c6a817
VZ
21- wxSizer::Remove(wxWindow *), use Detach() instead [it is more clear]
22- wxSizer::Set/GetOption(): use Set/GetProportion() instead
23- wxKeyEvent::KeyCode(): use GetKeyCode instead
24- wxList::Number, First, Last, Nth: use GetCount, GetFirst/Last, Item instead
25- wxNode::Next, Previous, Data: use GetNext, GetPrevious, GetData instead
26- wxListBase::operator wxList&(): use typesafe lists instead
ba8c1601
MB
27- wxTheFontMapper: use wxFontMapper::Get() instead
28- wxStringHashTable: use wxHashMap instead
29- wxHashTableLong: use wxHashMap instead
30- wxArrayString::GetStringArray: no replacement
31- wxArrayString::Remove(index, count): use RemoveAt instead
09c6a817 32
7af6b69e 33
d643b80e
VZ
34OTHER CHANGES
35=============
36
372.5.0
38-----
39
93401be9
VZ
40All:
41
5553c7cf
VZ
42- added wxDateSpan::operator==() and !=() (Lukasz Michalski)
43- use true/false throughout the library instead of TRUE/FALSE
44- wxStopWatch::Start() resumes the stop watch if paused, as per the docs
350777b6 45- added wxDirTraverser::OnOpenError() to customize the error handling
5d76f462 46- added wxArray::SetCount()
9ef896e1
VS
47- wxFile, wxFFile, wxTextFile and wxTempFile now all use UTF-8 encoding
48 by default in Unicode mode
3cdf1761 49- bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed
a02afd14 50- added wx/math.h (John Labenski)
f0fe27a0 51- added Catalan translations (Pau Bosch i Crespo)
a364b957 52- added Ukrainian translations (Eugene Manko)
3362e80e 53- fixed bug with deleting entries at root level in wxFileConfig
01ebf752
JS
54- chkconf.h now includes platform-specific versions (for MSW
55 and Mac) which contain some tests that were in setup.h
97e1d37c 56- Added event sink argument to wxEvtHandler::Connect()
5553c7cf 57
d1be6261
VZ
58wxBase:
59
60- added Watcom makefiles
4365da58 61