]> git.saurik.com Git - wxWidgets.git/blame - docs/changes.txt
Fix for crash when wxUSE_STL=1. wxDocument::DeleteAllViews might
[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
35821d8f
VZ
32- [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and
33 SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles
09c6a817 34
7af6b69e 35
d643b80e
VZ
36OTHER CHANGES
37=============
38
392.5.0
40-----
41
93401be9
VZ
42All:
43
5553c7cf
VZ
44- added wxDateSpan::operator==() and !=() (Lukasz Michalski)
45- use true/false throughout the library instead of TRUE/FALSE
46- wxStopWatch::Start() resumes the stop watch if paused, as per the docs
350777b6 47- added wxDirTraverser::OnOpenError() to customize the error handling
5d76f462 48- added wxArray::SetCount()
9ef896e1
VS
49- wxFile, wxFFile, wxTextFile and wxTempFile now all use UTF-8 encoding
50 by default in Unicode mode
3cdf1761 51- bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed
a02afd14 52- added wx/math.h (John Labenski)
f0fe27a0 53- added Catalan translations (Pau Bosch i Crespo)
a364b957 54- added Ukrainian translations (Eugene Manko)
3362e80e 55- fixed bug with deleting entries at root level in wxFileConfig
01ebf752
JS
56- chkconf.h now includes platform-specific versions (for MSW
57 and Mac) which contain some tests that were in setup.h
f9133b32
VZ
58- added event sink argument to wxEvtHandler::Connect()
59- added support for POST method and alt ports to wxHTTP (Roger Chickering)
d9552598 60- added wxSocket::IPAddress() (Chris Mellon)
53663be8 61- wxDataStreams can read/write many elements at once (Mickael Gilabert)
78ee6a47 62- added wxThreadHelper class (Daniel Howard)
5553c7cf 63
d1be6261
VZ
64wxBase:
65
66- added Watcom makefiles
4365da58 67