]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/changes.txt
Fixed to work with the new wxMacControl system.
[wxWidgets.git] / docs / changes.txt
... / ...
Content-type: text/html ]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/changes.txt


500 - Internal Server Error

Malformed UTF-8 character (fatal) at /usr/lib/x86_64-linux-gnu/perl5/5.40/HTML/Entities.pm line 485, <$fd> line 224.
CommitLineData
1------------------------
2wxWidgets 2.5 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 still
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- when WXWIN_COMPATIBILITY_2_4 == 0 wxHashTable uses a new implementation
49 not using wxList keyed interface (the same used when wxUSE_STL == 1),
50 the only incompatibility being that Next() returns a wxHashTable::Node*
51 instead of a wxNode*.
52- non-const wxDC methods GetBackground(), GetBrush(), GetFont() and GetPen()
53 don't exist any more, please fix your code -- it never worked correctly
54 anyhow if you modified the objects returned by these methods so you should
55 simply switch to using const methods.
56- EVT_XXX macros are now type-safe; code that uses wrong type for event
57 handler's argument will no longer compile.
58- Identical functionality of wxFileDialog::ParseWildcard and
59 wxGenericDirCtrl::ParseFilter is now accessible in ::wxParseWildcard
60
61
62
63DEPRECATED METHODS SINCE 2.4.x
64==============================
65
66Deprecated methods may still be used but will disappear in future wxWidgets
67versions, please update your code to not use them.
68
69- wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount()
70- wxSizer::Remove(wxWindow *), use Detach() instead [it is more clear]
71- wxSizer::Set/GetOption(): use Set/GetProportion() instead
72- wxKeyEvent::KeyCode(): use GetKeyCode instead
73- wxList::Number, First, Last, Nth: use GetCount, GetFirst/Last, Item instead
74- wxNode::Next, Previous, Data: use GetNext, GetPrevious, GetData instead
75- wxListBase::operator wxList&(): use typesafe lists instead
76- wxTheFontMapper: use wxFontMapper::Get() instead
77- wxStringHashTable: use wxHashMap instead
78- wxHashTableLong: use wxHashMap instead
79- wxArrayString::GetStringArray: use wxCArrayString or alternative wxWidgets
80 methods taking wxArrayString
81- wxArrayString::Remove(index, count): use RemoveAt instead
82- wxTreeItemId conversion to long is deprecated and shouldn't be used
83- wxTreeCtrl::GetFirst/NextChild() 2nd argument now has type wxTreeItemIdValue
84 and not long, please change declarations of "cookie"s in your code
85 accordingly -- otherwise your code won't work on 64 bit platforms
86- [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and
87 SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles
88- wxList keyed interface: use wxHashMap instead
89- wxColourDatabase::FindColour(): use Find() instead (NB: different ret type)
90- wxHashTable::Next: use wxHashTable::Node* or
91 wxHashTable::compatibility_iterator to store the return
92 value
93- wxWave class; use wxSound instead
94- The wxHIDE_READONLY flag for wxFileDialog was not implemented
95 and has now been removed
96- wxTaskBarIcon::OnXXX() virtual methods: use events instead
97
98
99OTHER CHANGES
100=============
101
1022.5.3
103-----
104
105All:
106
107- number of fixes to wxPluginManager (Rick Brice, Hans Van Leemputten)
108
109All (GUI):
110
111- added wxTaskBarIcon::CreatePopupMenu which is now recommended way
112 of showing popup menu; calling wxTaskBarIcon::PopupMenu directly
113 is discouraged
114- Added ..._CMD_... variants for wxGrid event table entry macros
115 taking window identifiers
116- Added wxWindowBase::Navigate for programmatic navigation to the next
117 control.
118- On most platforms, wxTextCtrl::OnChar now inserts a tab character if
119 wxTE_PROCESS_TAB is set, or navigates to the next control if not.
120
121Unix:
122
123- wxTaskBarIcon now supports freedesktop.org System Tray protocol
124- security fixes to wxSingleInstanceChecker
125
126wxGTK:
127
128- fixed many rendering artifacts and wrong colours with lots of GTK+ themes
129- implemented wxColourDialog as native dialog
130- wxTreeCtrl::GetCount() counts root as well now (compatible with MSW)
131
132wxMotif:
133
134- added 3 state checkbox
135
136wxWinCE:
137
138- added automatized but customizable handling of native SmartPhone menus
139
140
1412.5.2
142-----
143
144All:
145
146- Hindi translation added (Dhananjaya Sharma)
147- Brazilian Portuguese translation added (E. A. Tacao)
148- wxDynamicCast() now uses static_cast<wxObject *> internally and so using it
149 with anything not deriving from wxObject will fail at compile time (instead
150 of run-time) now
151- when wxUSE_STL == 1 and STL provides quasi-standard hash_map/hash_set,
152 wxHashMap/wxHashSet are just typedefs for them. This makes impossible
153 to forward declare these classes.
154
155All (GUI):
156
157- wxHtmlWindow now delays image scaling until rendering,
158 resulting in much better display of scaled images
159- Added UpdateSize to wxSplitterWindow to allow layout while hidden
160- implemented Freeze/Thaw() for wxGenericTreeCtrl (Kevin Hock)
161- support for KOI8-U encoding added (Yuriy Tkachenko)
162- The old wxADJUST_MINSIZE behaviour is now the default behaviour for
163 sizer items that are windows. This means that GetAdjustedBestSize
164 will now be called by default to determine the minimum size that a
165 window in a sizer should have. If you want to still use the initial
166 size (and not the BestSize) then use the wxFIXED_MINSIZE flag. When
167 windows are added to a sizer their initial size is made the window's
168 min size using SetSizeHints, and calls to wxSizer::SetItemMinSize
169 are also forwarded to SetSizeHints for window items.
170- added wxRegEx::GetMatchCount()
171- it is now possible to display images in wxHtmlListBox
172
173wxMSW:
174
175- wxWindow::Freeze()/Thaw() can now be nested
176- Added wxSP_NO_XP_THEME style to wxSplitterWindow to switch off
177 XP theming (some applications look bad without 3D borders)
178- wxMenuBar::GetLabelTop() doesn't include '&'s in the label any more
179- wxRegConf couldn't read global settings without admin privileges and didn't
180 even try to do it by default -- now it does
181- wxTaskBarIcon must be explicitly destroyed now, otherwise the application
182 won't exit even though there are no top level windows
183- wxFileName::GetModificationTime() works with opened files too now
184- wxDC::GetClippingBox() now works even for clipping regions created by Windows
185- fixed wxFileDataObject in Unicode build (Alex D)
186- subdindented paragraphs support (Tim Kosse)
187
188wxGTK:
189
190- added support for wxTE_RIGHT and wxTE_CENTRE styles under GTK2 (Mart Raudsepp)
191
192wxMotif:
193
194- removed wxMenuItem::DeleteSubMenu()
195- wxButtons use Motif default size, which is smaller than it used to be
196 and closer to wxMSW/wxGTK look. This can be disabled by setting
197 motif.largebuttons system option to 1 (see wxSystemOptions).
198
199wxUniv/X11:
200
201- implemented DrawRoundedRectangle() (clawghoul)
202
203wxHTML:
204
205- improved tables and lists layout algorithms (Tim Kosse)
206- <div> handling fix (Xavier Nodet)
207
208Unix:
209
210- fixed priorities of mailcap entries (David Hart)
211- added "wx-config --libs=std,<extra>" syntax (i.e. support for "std")
212
213wxODBC:
214
215- Full Unicode support is now available
216- BLOB support is working
217
218
2192.5.1
220-----
221
222All:
223
224