]>
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 |
527bbb39 | 25 | - finally the program exit code is OnRun() return value, not OnExit() one |
26ab89ad | 26 | - wxTheApp can't be assigned to any longer, use wxApp::SetInstance() instead |
32b38f99 | 27 | - wxFileType::GetIcon() returns wxIconLocation, not wxIcon |
bfdc04a9 | 28 | - wxColourDatabase is not a wxList any more, use AddColour to add new colours |
5da0803c | 29 | - wxWindow::Clear() is now called ClearBackground() |
480e5897 | 30 | - pointer returned by wxFont::GetNativeFontInfo() must not be deleted now |
bfdc04a9 | 31 | - wxMouseEvent::Moving() doesn't return true if mouse is being dragged any more |
bfdc04a9 VZ |
32 | - (most) controls now inherit parents colours by default, override |
33 | ShouldInheritColours() to return false if you don't want this to happen | |
dfcb9d7c | 34 | - wxApp::SendIdleEvent() now takes 2 arguments |
d366db96 MB |
35 | - wxTabView::GetLayers() changed return type from wxList& to wxTabLayerList& |
36 | (when WXWIN_COMPATIBILITY_2_4 == 0) | |
6e76b35d | 37 | - wxID_SEPARATOR (id used for the menu separators) value changed from -1 to -2 |
25959b95 | 38 | - wxGetNumberFromUser() is now in separate wx/numdlg.h, not wx/textdlg.h |
d99957b6 VZ |
39 | - wxChoice and wxCombobox now handle their size in the same way as in all the |
40 | other ports under MSW, new code is actually correct but different from weird | |
41 | stuff they were doing before so the behaviour of your programs might change | |
1e6d9c20 VS |
42 | - wxTaskBarIcon objects must now be destroyed before the application can exit. |
43 | Previously, the application terminated if there were no top level windows; | |
44 | now it terminates if there are no top level windows or taskbar icons left. | |
45 | ||
46 | wxTaskBarIcon must be explicitly destroyed now, otherwise the application | |
47 | won't exit even though there are no top level windows | |
5e2ab1ea | 48 | |
09c6a817 | 49 | |
9b9d4651 VZ |
50 | DEPRECATED METHODS SINCE 2.4.x |
51 | ============================== | |
09c6a817 VZ |
52 | |
53 | Deprecated methods may still be used but will disappear in future wxWindows | |
54 | versions, please update your code to not use them. | |
55 | ||
7af6b69e | 56 | - wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount() |
09c6a817 VZ |
57 | - wxSizer::Remove(wxWindow *), use Detach() instead [it is more clear] |
58 | - wxSizer::Set/GetOption(): use Set/GetProportion() instead | |
59 | - wxKeyEvent::KeyCode(): use GetKeyCode instead | |
60 | - wxList::Number, First, Last, Nth: use GetCount, GetFirst/Last, Item instead | |
61 | - wxNode::Next, Previous, Data: use GetNext, GetPrevious, GetData instead | |
62 | - wxListBase::operator wxList&(): use typesafe lists instead | |
ba8c1601 MB |
63 | - wxTheFontMapper: use wxFontMapper::Get() instead |
64 | - wxStringHashTable: use wxHashMap instead | |
65 | - wxHashTableLong: use wxHashMap instead | |
584ad2a3 MB |
66 | - wxArrayString::GetStringArray: use wxCArrayString or alternative wxWindows |
67 | methods taking wxArrayString | |
ba8c1601 | 68 | - wxArrayString::Remove(index, count): use RemoveAt instead |
df3b5898 | 69 | - wxTreeItemId conversion to long is deprecated and shouldn't be used |
35821d8f VZ |
70 | - [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and |
71 | SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles | |
080a7b20 | 72 | - wxList keyed interface: use wxHashMap instead |
dfcb9d7c | 73 | - wxColourDatabase::FindColour(): use Find() instead (NB: different ret type) |
d366db96 MB |
74 | - wxHashTable::Next: use wxHashTable::Node* or |
75 | wxHashTable::compatibility_iterator to store the return | |
76 | value | |
4a3990e2 | 77 | - wxWave class; use wxSound instead |
dfcb9d7c | 78 | |
7af6b69e | 79 | |
d643b80e VZ |
80 | OTHER CHANGES |
81 | ============= | |
82 | ||
a1037371 VZ |
83 | 2.5.2 |
84 | ----- | |
85 | ||
3c2544bb JS |
86 | All: |
87 | ||
88 | All (GUI): | |
89 | ||
90 | - wxHtmlWindow now delays image scaling until rendering, | |
91 | resulting in much better display of scaled images | |
e1983ab5 VZ |
92 | - Added UpdateSize to wxSplitterWindow to allow layout while hidden |
93 | - implemented Freeze/Thaw() for wxGenericTreeCtrl (Kevin Hock) | |
3c2544bb | 94 | |
a1037371 | 95 | wxMSW: |
3c2544bb | 96 | |
a1037371 | 97 | - wxWindow::Freeze()/Thaw() can now be nested |
3c2544bb JS |
98 | - Added wxSP_NO_XP_THEME style to wxSplitterWindow to switch off |
99 | XP theming (some applications look bad without 3D borders) | |
4e86e9cd | 100 | - wxMenuBar::GetLabelTop() doesn't include '&'s in the label any more |
9a85c87d VZ |
101 | - wxRegConf couldn't read global settings without admin privileges and didn't |
102 | even try to do it by default -- now it does | |
1e6d9c20 VS |
103 | - wxTaskBarIcon must be explicitly destroyed now, otherwise the application |
104 | won't exit even though there are no top level windows | |
a1037371 | 105 | |
cf9df191 VZ |
106 | wxMotif: |
107 | ||
108 | - removed wxMenuItem::DeleteSubMenu() | |
109 | ||
ca16b7a9 VS |
110 | wxHTML: |
111 | ||
5b2b456f | 112 | - improved tables and lists layout algorithms (Tim Kosse) |
c5448f38 | 113 | - <div> handling fix (Xavier Nodet) |
ca16b7a9 | 114 | |
a1037371 | 115 | |
1d95f44a JS |
116 | 2.5.1 |
117 | ----- | |
11ebea16 | 118 | |
2e622163 | 119 | All: |
de07d200 | 120 | |
3a818b15 | 121 | Content-type: text/html ]>