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