]>
Commit | Line | Data |
---|---|---|
1 | ---------------------------- | |
2 | wxWindows 2.5/2.6 Change Log | |
3 | ---------------------------- | |
4 | ||
5 | INCOMPATIBLE 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 | - finally the program exit code is OnRun() return value, not OnExit() one | |
26 | - wxTheApp can't be assigned to any longer, use wxApp::SetInstance() instead | |
27 | - wxFileType::GetIcon() returns wxIconLocation, not wxIcon | |
28 | - wxColourDatabase is not a wxList any more, use AddColour to add new colours | |
29 | - wxWindow::Clear() is now called ClearBackground() | |
30 | - pointer returned by wxFont::GetNativeFontInfo() must not be deleted now | |
31 | - wxMouseEvent::Moving() doesn't return true if mouse is being dragged any more | |
32 | - (most) controls now inherit parents colours by default, override | |
33 | ShouldInheritColours() to return false if you don't want this to happen | |
34 | - wxApp::SendIdleEvent() now takes 2 arguments | |
35 | - wxTabView::GetLayers() changed return type from wxList& to wxTabLayerList& | |
36 | (when WXWIN_COMPATIBILITY_2_4 == 0) | |
37 | - wxID_SEPARATOR (id used for the menu separators) value changed from -1 to -2 | |
38 | - wxGetNumberFromUser() is now in separate wx/numdlg.h, not wx/textdlg.h | |
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 | |
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 | - wxZlibInputStream is not by default compatible with the output of the | |
46 | 2.4.x version of wxZlibOutputStream. However, there is a compatibilty mode, | |
47 | switched on by passing wxZLIB_24COMPATIBLE to the constructor. | |
48 | ||
49 | wxTaskBarIcon must be explicitly destroyed now, otherwise the application | |
50 | won't exit even though there are no top level windows | |
51 | ||
52 | ||
53 | DEPRECATED METHODS SINCE 2.4.x | |
54 | ============================== | |
55 | ||
56 | Deprecated methods may still be used but will disappear in future wxWindows | |
57 | versions, please update your code to not use them. | |
58 | ||
59 | - wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount() | |
60 | - wxSizer::Remove(wxWindow *), use Detach() instead [it is more clear] | |
61 | - wxSizer::Set/GetOption(): use Set/GetProportion() instead | |
62 | - wxKeyEvent::KeyCode(): use GetKeyCode instead | |
63 | - wxList::Number, First, Last, Nth: use GetCount, GetFirst/Last, Item instead | |
64 | - wxNode::Next, Previous, Data: use GetNext, GetPrevious, GetData instead | |
65 | - wxListBase::operator wxList&(): use typesafe lists instead | |
66 | - wxTheFontMapper: use wxFontMapper::Get() instead | |
67 | - wxStringHashTable: use wxHashMap instead | |
68 | - wxHashTableLong: use wxHashMap instead | |
69 | - wxArrayString::GetStringArray: use wxCArrayString or alternative wxWindows | |
70 | methods taking wxArrayString | |
71 | - wxArrayString::Remove(index, count): use RemoveAt instead | |
72 | - wxTreeItemId conversion to long is deprecated and shouldn't be used | |
73 | - wxTreeCtrl::GetFirst/NextChild() 2nd argument now has type wxTreeItemIdValue | |
74 | and not long, please change declarations of "cookie"s in your code | |
75 | accordingly -- otherwise your code won't work on 64 bit platforms | |
76 | - [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and | |
77 | SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles | |
78 | - wxList keyed interface: use wxHashMap instead | |
79 | - wxColourDatabase::FindColour(): use Find() instead (NB: different ret type) | |
80 | - wxHashTable::Next: use wxHashTable::Node* or | |
81 | wxHashTable::compatibility_iterator to store the return | |
82 | value | |
83 | - wxWave class; use wxSound instead | |
84 | ||
85 | ||
86 | OTHER CHANGES | |
87 | ============= | |
88 | ||
89 | 2.5.2 | |
90 | ----- | |
91 | ||
92 | All: | |
93 | ||
94 | - Hindi translations added (Dhananjaya Sharma) | |
95 | - wxDynamicCast() now uses static_cast<wxObject *> internally and so using it | |
96 | with anything not deriving from wxObject will fail at compile time (instead | |
97 | of run-time) now | |
98 | ||
99 | All (GUI): | |
100 | ||
101 | - wxHtmlWindow now delays image scaling until rendering, | |
102 | resulting in much better display of scaled images | |
103 | - Added UpdateSize to wxSplitterWindow to allow layout while hidden | |
104 | - implemented Freeze/Thaw() for wxGenericTreeCtrl (Kevin Hock) | |
105 | - support for KOI8-U encoding added (Yuriy Tkachenko) | |
106 | - The old wxADJUST_MINSIZE behaviouris now the default behaviour for | |
107 | sizer items that are windows. This means that GetAdjustedBestSize | |
108 | will now be called by default to determine the minimum size that a | |
109 | window in a sizer should have. If you want to still use the initial | |
110 | size (and not the BestSize) then use the wxFIXED_MINSIZE flag. When | |
111 | windows are added to a sizer their initial size is made the window's | |
112 | min size using SetSizeHints, and calls to wxSizer::SetItemMinSize | |
113 | are also forwarded to SetSizeHints for window items. | |
114 | ||
115 | wxMSW: | |
116 | ||
117 | - wxWindow::Freeze()/Thaw() can now be nested | |
118 | - Added wxSP_NO_XP_THEME style to wxSplitterWindow to switch off | |
119 | XP theming (some applications look bad without 3D borders) | |
120 | - wxMenuBar::GetLabelTop() doesn't include '&'s in the label any more | |
121 | - wxRegConf couldn't read global settings without admin privileges and didn't | |
122 | even try to do it by default -- now it does | |
123 | - wxTaskBarIcon must be explicitly destroyed now, otherwise the application | |
124 | won't exit even though there are no top level windows | |
125 | ||
126 | wxMotif: | |
127 | ||
128 | - removed wxMenuItem::DeleteSubMenu() | |
129 | ||
130 | wxUniv/X11: | |
131 | ||
132 | - implemented DrawRoundedRectangle() (clawghoul) | |
133 | ||
134 | wxHTML: | |
135 | ||
136 | - improved tables and lists layout algorithms (Tim Kosse) | |
137 | - <div> handling fix (Xavier Nodet) | |
138 | ||
139 | Unix: | |
140 | - fixed priorities of mailcap entries (David Hart) | |
141 | ||
142 | ||
143 | 2.5.1 | |
144 | ----- | |
145 | ||
146 | All: | |
147 | ||
148 | Content-type: text/html ]>