]>
Commit | Line | Data |
---|---|---|
d643b80e VZ |
1 | ---------------------------- |
2 | wxWindows 2.5/2.6 Change Log | |
3 | ---------------------------- | |
4 | ||
5 | INCOMPATIBLE 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 |
bfdc04a9 | 27 | - wxColourDatabase is not a wxList any more, use AddColour to add new colours |
5da0803c | 28 | - wxWindow::Clear() is now called ClearBackground() |
480e5897 | 29 | - pointer returned by wxFont::GetNativeFontInfo() must not be deleted now |
bfdc04a9 | 30 | - wxMouseEvent::Moving() doesn't return true if mouse is being dragged any more |
bfdc04a9 VZ |
31 | - (most) controls now inherit parents colours by default, override |
32 | ShouldInheritColours() to return false if you don't want this to happen | |
dfcb9d7c | 33 | - wxApp::SendIdleEvent() now takes 2 arguments |
d366db96 MB |
34 | - wxTabView::GetLayers() changed return type from wxList& to wxTabLayerList& |
35 | (when WXWIN_COMPATIBILITY_2_4 == 0) | |
6e76b35d | 36 | - wxID_SEPARATOR (id used for the menu separators) value changed from -1 to -2 |
25959b95 | 37 | - wxGetNumberFromUser() is now in separate wx/numdlg.h, not wx/textdlg.h |
d99957b6 VZ |
38 | - wxChoice and wxCombobox now handle their size in the same way as in all the |
39 | other ports under MSW, new code is actually correct but different from weird | |
40 | stuff they were doing before so the behaviour of your programs might change | |
5e2ab1ea | 41 | |
09c6a817 | 42 | |
9b9d4651 VZ |
43 | DEPRECATED METHODS SINCE 2.4.x |
44 | ============================== | |
09c6a817 VZ |
45 | |
46 | Deprecated methods may still be used but will disappear in future wxWindows | |
47 | versions, please update your code to not use them. | |
48 | ||
7af6b69e | 49 | - wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount() |
09c6a817 VZ |
50 | - wxSizer::Remove(wxWindow *), use Detach() instead [it is more clear] |
51 | - wxSizer::Set/GetOption(): use Set/GetProportion() instead | |
52 | - wxKeyEvent::KeyCode(): use GetKeyCode instead | |
53 | - wxList::Number, First, Last, Nth: use GetCount, GetFirst/Last, Item instead | |
54 | - wxNode::Next, Previous, Data: use GetNext, GetPrevious, GetData instead | |
55 | - wxListBase::operator wxList&(): use typesafe lists instead | |
ba8c1601 MB |
56 | - wxTheFontMapper: use wxFontMapper::Get() instead |
57 | - wxStringHashTable: use wxHashMap instead | |
58 | - wxHashTableLong: use wxHashMap instead | |
584ad2a3 MB |
59 | - wxArrayString::GetStringArray: use wxCArrayString or alternative wxWindows |
60 | methods taking wxArrayString | |
ba8c1601 | 61 | - wxArrayString::Remove(index, count): use RemoveAt instead |
df3b5898 | 62 | - wxTreeItemId conversion to long is deprecated and shouldn't be used |
35821d8f VZ |
63 | - [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and |
64 | SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles | |
080a7b20 | 65 | - wxList keyed interface: use wxHashMap instead |
dfcb9d7c | 66 | - wxColourDatabase::FindColour(): use Find() instead (NB: different ret type) |
d366db96 MB |
67 | - wxHashTable::Next: use wxHashTable::Node* or |
68 | wxHashTable::compatibility_iterator to store the return | |
69 | value | |
4a3990e2 | 70 | - wxWave class; use wxSound instead |
dfcb9d7c | 71 | |
7af6b69e | 72 | |
d643b80e VZ |
73 | OTHER CHANGES |
74 | ============= | |
75 | ||
1d95f44a JS |
76 | 2.5.1 |
77 | ----- | |
11ebea16 | 78 | |
2e622163 | 79 | All: |
de07d200 | 80 | |
d7a7546b | 81 | - added wxGzipInput/OutputStream, bug fixes in wxZlibStreams (M.J.Wetherell) |
de07d200 | 82 | - wxDateTime::ParseDateTime() implemented (Linus McCabe) |
2e622163 | 83 | - wxHTTP::GetResponse() added (David Nock) |
10403254 | 84 | - added conversions to/from UTF 16/32 LE/BE (Andreas Pflug) |
bcda793a | 85 | - added wxTextInputStream::ReadChar() (M.J.Wetherell) |
bdb4888d | 86 | - added translation to Afrikaans (Petri Jooste) |
430d4341 | 87 | - Spanish translations updated (Javier San Jose) |
849a28d0 | 88 | - added gettext plural forms support to wxLocale (Michael N. Filippov) |
05e1201c VZ |
89 | - wxFileName::Normalize(wxPATH_NORM_ALL) doesn't lower filename case any more |
90 | - wxFileName::Normalize(wxPATH_NORM_ENV_VARS) now works | |
cb820f80 | 91 | - check if file exists in wxFileConfig::DeleteFile() (Christian Sturmlechner) |
1a6d9c76 MB |
92 | - when wxUSE_STL == 1 wxHashTable will not be implemented using wxHashMap |
93 | (as in 2.5.0). | |
10021d29 | 94 | - added some extra convenience functions to wxRect such as |
21f60945 | 95 | GetBottomRight (Hajo Kirchhoff) |
dd12f8bb | 96 | - Changed built-in regex library to a unicode-compatible one (Ryan Norton) |
10021d29 | 97 | - added extra convenience functions to wxPoint for adding a |
d02bc4c8 | 98 | wxSize (Wlodzimierz Skiba) |
10021d29 JS |
99 | - intermediate wxIPaddress class added to prepare for |
100 | wxIPV6address (Ray Gilbert) | |
584ad2a3 MB |
101 | - added overloaded constructors and Create() methods taking wxArrayString |
102 | for wxChoice, wxComboBox, wxListBox, wxRadioBox, wxCheckListBox, | |
103 | wxSingleChoiceDialog, wxMultipleChoiceDialog | |
4a3990e2 | 104 | - renamed wxWave class to wxSound |
de07d200 | 105 | |
71aba833 VZ |
106 | All (GUI): |
107 | ||
14f28642 | 108 | - added wxListBook control |
8941fa88 | 109 | - added 3-state checkboxes for MSW/Mac (Dimitri Schoolwerth) |
7e33e48e | 110 | - added some support for C++ exceptions in the library (do read the manual!) |
71aba833 | 111 | - added wxListCtrl::GetViewRect() |
3a9fa0d6 | 112 | - added wxTextCtrl::MarkDirty() |
6bb7cee4 | 113 |