]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/changes.txt
Display correct refresh rate & fixed reset mode with display sample
[wxWidgets.git] / docs / changes.txt
... / ...
CommitLineData
1----------------------------
2wxWindows 2.5/2.6 Change Log
3----------------------------
4
5INCOMPATIBLE CHANGES SINCE 2.4.x
6================================
7
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
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()
24- also, OnExit() is not called if OnInit() fails
25- wxTheApp can't be assigned to any longer, use wxApp::SetInstance() instead
26- wxFileType::GetIcon() returns wxIconLocation, not wxIcon
27- wxColourDatabase is not a wxList any more, use AddColour to add new colours
28- wxWindow::Clear() is now called ClearBackground()
29- pointer returned by wxFont::GetNativeFontInfo() must not be deleted now
30- wxMouseEvent::Moving() doesn't return true if mouse is being dragged any more
31- (most) controls now inherit parents colours by default, override
32 ShouldInheritColours() to return false if you don't want this to happen
33- wxApp::SendIdleEvent() now takes 2 arguments
34- wxTabView::GetLayers() changed return type from wxList& to wxTabLayerList&
35 (when WXWIN_COMPATIBILITY_2_4 == 0)
36
37
38DEPRECATED METHODS SINCE 2.4.x
39==============================
40
41Deprecated methods may still be used but will disappear in future wxWindows
42versions, please update your code to not use them.
43
44- wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount()
45- wxSizer::Remove(wxWindow *), use Detach() instead [it is more clear]
46- wxSizer::Set/GetOption(): use Set/GetProportion() instead
47- wxKeyEvent::KeyCode(): use GetKeyCode instead
48- wxList::Number, First, Last, Nth: use GetCount, GetFirst/Last, Item instead
49- wxNode::Next, Previous, Data: use GetNext, GetPrevious, GetData instead
50- wxListBase::operator wxList&(): use typesafe lists instead
51- wxTheFontMapper: use wxFontMapper::Get() instead
52- wxStringHashTable: use wxHashMap instead
53- wxHashTableLong: use wxHashMap instead
54- wxArrayString::GetStringArray: no replacement
55- wxArrayString::Remove(index, count): use RemoveAt instead
56- wxTreeItemId conversion to long is deprecated and shouldn't be used
57- [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and
58 SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles
59- wxList keyed interface: use wxHashMap instead
60- wxColourDatabase::FindColour(): use Find() instead (NB: different ret type)
61- wxHashTable::Next: use wxHashTable::Node* or
62 wxHashTable::compatibility_iterator to store the return
63 value
64
65
66OTHER CHANGES
67=============
68
692.5.1
70-----
71
72All:
73
74- added wxGzipInput/OutputStream, bug fixes in wxZlibStreams (M.J.Wetherell)
75- wxDateTime::ParseDateTime() implemented (Linus McCabe)
76- wxHTTP::GetResponse() added (David Nock)
77- added conversions to/from UTF 16/32 LE/BE (Andreas Pflug)
78- added wxTextInputStream::ReadChar() (M.J.Wetherell)
79- added translation to Afrikaans (Petri Jooste)
80- Spanish translations updated (Javier San Jose)
81- added gettext plural forms support to wxLocale (Michael N. Filippov)
82- wxFileName::Normalize(wxPATH_NORM_ALL) doesn't lower filename case any more
83- wxFileName::Normalize(wxPATH_NORM_ENV_VARS) now works
84- check if file exists in wxFileConfig::DeleteFile() (Christian Sturmlechner)
85- when wxUSE_STL == 1 wxHashTable will not be implemented using wxHashMap
86 (as in 2.5.0).
87
88All (GUI):
89
90- added wxListBook control
91- added 3-state checkboxes for MSW/Mac (Dimitri Schoolwerth)
92- added some support for C++ exceptions in the library (do read the manual!)
93- added wxListCtrl::GetViewRect()
94- added wxTextCtrl::MarkDirty()
95