]> git.saurik.com Git - wxWidgets.git/blame - docs/changes.txt
Changes needed to get upto date with the latest wx CVS
[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
e441e1f4
VZ
8 Please take a few minutes to read the following list, especially
9 paying attention to the most important changes which are marked
10 with '!' in the first column.
11
12 Also please note that you should ensure that WXWIN_COMPATIBILITY_2_4
13 is defined to 1 if you wish to retain maximal compatibility with 2.4
14 series.
15
16! windows are no longer fully repainted when resized, use new style
17 wxFULL_REPAINT_ON_RESIZE to force this (wxNO_FULL_REPAINT_ON_RESIZE stll
18 exists but doesn't do anything any more, this behaviour is default now)
19
20
9b9d4651
VZ
21- no initialization/cleanup can be done in wxApp/~wxApp because they are
22 now called much earlier/later than before; please move any exiting code
23 from there to wxApp::OnInit()/OnExit()
fba61bdf 24- also, OnExit() is not called if OnInit() fails
26ab89ad 25- wxTheApp can't be assigned to any longer, use wxApp::SetInstance() instead
32b38f99 26- wxFileType::GetIcon() returns wxIconLocation, not wxIcon
5da0803c 27- wxWindow::Clear() is now called ClearBackground()
480e5897 28- pointer returned by wxFont::GetNativeFontInfo() must not be deleted now
5e2ab1ea 29
09c6a817 30
9b9d4651
VZ
31DEPRECATED METHODS SINCE 2.4.x
32==============================
09c6a817
VZ
33
34Deprecated methods may still be used but will disappear in future wxWindows
35versions, please update your code to not use them.
36
7af6b69e 37- wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount()
09c6a817
VZ
38- wxSizer::Remove(wxWindow *), use Detach() instead [it is more clear]
39- wxSizer::Set/GetOption(): use Set/GetProportion() instead
40- wxKeyEvent::KeyCode(): use GetKeyCode instead
41- wxList::Number, First, Last, Nth: use GetCount, GetFirst/Last, Item instead
42- wxNode::Next, Previous, Data: use GetNext, GetPrevious, GetData instead
43- wxListBase::operator wxList&(): use typesafe lists instead
ba8c1601
MB
44- wxTheFontMapper: use wxFontMapper::Get() instead
45- wxStringHashTable: use wxHashMap instead
46- wxHashTableLong: use wxHashMap instead
47- wxArrayString::GetStringArray: no replacement
48- wxArrayString::Remove(index, count): use RemoveAt instead
df3b5898 49- wxTreeItemId conversion to long is deprecated and shouldn't be used
35821d8f
VZ
50- [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and
51 SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles
09c6a817 52
7af6b69e 53
d643b80e
VZ
54OTHER CHANGES
55=============
56
11ebea16
VZ
572.5.1
58-----
59
2e622163 60All:
de07d200
VZ
61
62- wxDateTime::ParseDateTime() implemented (Linus McCabe)
2e622163 63- wxHTTP::GetResponse() added (David Nock)
10403254 64- added conversions to/from UTF 16/32 LE/BE (Andreas Pflug)
de07d200 65
71aba833
VZ
66All (GUI):
67
7e33e48e 68- added some support for C++ exceptions in the library (do read the manual!)
71aba833 69- added wxListCtrl::GetViewRect()
3a9fa0d6 70- added wxTextCtrl::MarkDirty()
71aba833 71
11ebea16
VZ
72wxMSW:
73
74- fixed wxTE_*WRAP styles handling
7411f983 75- wxTextCtrl::GetValue() works with text in non default encoding
2e622163 76- changed wxCrashReport to generate minidumps instead of text files
f607434a 77- wxRadioButtons are now checked when they get focus (standard behaviour)
10403254 78- several fixes to owner drawn menu items (Christian Sturmlechner)
9a78988f 79- wxGauge now supports full 32 bit range (Miroslav Rajcic)
11ebea16 80
71aba833 81wxGTK:
11ebea16 82
71aba833 83- fixes to wxTextCtrl scrolling under GTK2 (Nerijus Baliunas)
375fc5a9 84- fix for crash when using user-dashed lines (Chris Borgolte)
11ebea16
VZ
85
86
d643b80e
VZ
872.5.0
88-----
89
93401be9
VZ
90All:
91
04251510
VS
92- It is now possible to build several smaller libraries instead of single
93 huge wxWindows library; wxBase is now dependency of GUI ports rather then
94 separately compiled library
5553c7cf 95- added wxDateSpan::operator==() and !=() (Lukasz Michalski)
f363e05c 96- added wxFileName::GetForbiddenChars() (Dimitri Schoolwerth)
5553c7cf
VZ
97- use true/false throughout the library instead of TRUE/FALSE
98- wxStopWatch::Start() resumes the stop watch if paused, as per the docs
350777b6 99- added wxDirTraverser::OnOpenError() to customize the error handling
5d76f462 100- added wxArray::SetCount()
9ef896e1
VS
101- wxFile, wxFFile, wxTextFile and wxTempFile now all use UTF-8 encoding
102 by default in Unicode mode
3cdf1761 103- bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed
a02afd14 104- added wx/math.h (John Labenski)
f0fe27a0 105- added Catalan translations (Pau Bosch i Crespo)
a364b957 106- added Ukrainian translations (Eugene Manko)
3362e80e 107- fixed bug with deleting entries at root level in wxFileConfig
01ebf752
JS
108- chkconf.h now includes platform-specific versions (for MSW
109 and Mac) which contain some tests that were in setup.h
f9133b32
VZ
110- added event sink argument to wxEvtHandler::Connect()
111- added support for POST method and alt ports to wxHTTP (Roger Chickering)
d9552598 112- added wxSocket::IPAddress() (Chris Mellon)
53663be8 113- wxDataStreams can read/write many elements at once (Mickael Gilabert)
7b4d7f99 114- added wxRecursionGuard class
78ee6a47 115- added wxThreadHelper class (Daniel Howard)
5553c7cf 116
d1be6261
VZ
117wxBase:
118
119- added Watcom makefiles
4365da58 120