]>
Commit | Line | Data |
---|---|---|
70cf18ef VZ |
1 | ------------------------------------------------------------------------------- |
2 | wxWidgets Change Log | |
3 | ------------------------------------------------------------------------------- | |
d643b80e | 4 | |
5ec9d741 | 5 | INCOMPATIBLE CHANGES SINCE 2.8.x |
aae53500 VZ |
6 | ================================ |
7 | ||
b1f3b29c VZ |
8 | Changes in behaviour not resulting in compilation errors, please read this! |
9 | --------------------------------------------------------------------------- | |
10 | ||
466e87bd VZ |
11 | - Default location of wxFileConfig files has changed under Windows, you will |
12 | need to update your code if you access these files directly. | |
13 | ||
47a8a4d5 VZ |
14 | - wxWindow::IsEnabled() now returns false if a window parent (and not |
15 | necessarily the window itself) is disabled, new function IsThisEnabled() | |
16 | with the same behaviour as old IsEnabled() was added. | |
17 | ||
5644933f VZ |
18 | - Generating wxNavigationKeyEvent events doesn't work any more under wxGTK (and |
19 | other platforms in the future), use wxWindow::Navigate() or NavigateIn() | |
20 | instead. | |
21 | ||
89064717 VZ |
22 | - Sizers distribute only the extra space between the stretchable items |
23 | according to their proportions and not all available space. We believe the | |
24 | new behaviour corresponds better to user expectations but if you did rely | |
25 | on the old behaviour you will have to update your code to set the minimal | |
26 | sizes of the sizer items to be in the same proportion as the items | |
27 | proportions to return to the old behaviour. | |
28 | ||
b1f3b29c VZ |
29 | Changes in behaviour which may result in compilation errors |
30 | ----------------------------------------------------------- | |
31 | ||
c1dc9f83 VZ |
32 | - WXWIN_COMPATIBILITY_2_4 doesn't exist any more, please update your code if |
33 | you still relied on features deprecated since version 2.4 | |
34 | ||
c9f78968 VS |
35 | - Return type of wxString::operator[] and wxString::iterator::operator* is no |
36 | longer wxChar (i.e. char or wchar_t), but wxUniChar. This is not a problem | |
37 | in vast majority of cases because of conversion operators, but it can break | |
38 | code that depends on the result being wxChar. | |
39 | ||
ef0f1387 VS |
40 | - The value returned by wxString::c_str() cannot be casted to non-const char* |
41 | or wchar_t* anymore. The solution is to use newly added wxString methods | |
42 | char_str() (which returns a buffer convertible to char*) or wchar_str() | |
43 | (which returns a buffer convertible to wchar_t*). These methods are | |
44 | available in wxWidgets 2.8 series beginning with 2.8.4 as well. | |
45 | ||
c9f78968 VS |
46 | - The value returned by wxString::operator[] or wxString::iterator cannot be |
47 | used in switch statements anymore, because it's a class instance. Code like | |
48 | this won't compile: | |
49 | switch (str[i]) { ... } | |
50 | and has to be replaced with this: | |
51 | switch (str[i].GetValue()) { ... } | |
52 | ||
53 | - Return type of wxString::c_str() is now wxCStrData struct and not | |
54 | const wxChar*. wxCStrData is implicitly convertible to const char* and | |
55 | const wchar_t*, so this only presents a problem if the compiler cannot | |
56 | convert the type. In particular, Borland C++ and DigitalMars compilers | |
57 | don't correctly convert operator?: operands to the same type and fail with | |
58 | compilation error instead. This can be worked around by explicitly casting | |
59 | to const wxChar*: | |
60 | wxLogError(_("error: %s"), !err.empty() ? (const wxChar*)err.c_str() : "") | |
61 | ||
52de37c7 | 62 | - wxCtime() and wxAsctime() return char*; this is incompatible with Unicode |
5bce3e6f | 63 | build in wxWidgets 2.8 that returned wchar_t*. |
52de37c7 | 64 | |
c9f78968 VS |
65 | - DigitalMars compiler has a bug that prevents it from using |
66 | wxUniChar::operator bool in conditions and it erroneously reports type | |
67 | conversion ambiguity in expressions such as this: | |
68 | for ( wxString::const_iterator p = s.begin(); *p; ++p ) | |
69 | This can be worked around by explicitly casting to bool: | |
70 | for ( wxString::const_iterator p = s.begin(); (bool)*p; ++p ) | |
71 | ||
5bce3e6f VS |
72 | - virtual wxHtmlParser::AddText() takes wxString, not wxChar*, argument now. |
73 | ||
5ec9d741 VZ |
74 | Deprecated methods and their replacements |
75 | ----------------------------------------- | |
76 | ||
13dd765c | 77 | - wxCreateGreyedImage() deprecated, use wxImage::ConvertToGreyscale() instead. |
7890307b VS |
78 | - wxString::GetWriteBuf() and UngetWriteBuf() deprecated, using wxStringBuffer |
79 | or wxStringBufferLength instead. | |
d0bc78e2 VZ |
80 | - wxDIRCTRL_SHOW_FILTERS style is deprecated, filters are alwsys shown if |
81 | specified so this style should simply be removed | |
724b119a VZ |
82 | - wxDocManager::MakeDefaultName() replaced by MakeNewDocumentName() and |
83 | wxDocument::GetPrintableName() with GetUserReadableName() which are simpler | |
84 | to use | |
d0bc78e2 | 85 | |
9ac43913 | 86 | |
5ec9d741 VZ |
87 | Major new features in this release |
88 | ---------------------------------- | |
89 | ||
12dc0a01 | 90 | |
ccee328e VZ |
91 | 2.9.0 |
92 | ----- | |
93 | ||
ac6e0eb1 VZ |
94 | All: |
95 | ||
abbb59e8 VZ |
96 | - Added wxJoin() and wxSplit() functions (Francesco Montorsi) |
97 | - Added wxMutex::LockTimeout() (Aleksandr Napylov) | |
98 | - Added wxMemoryInputStream(wxInputStream&) ctor (Stas Sergeev) | |
99 | - Implemented wxMemoryInputStream::CanRead() | |
bc855d09 | 100 | - Added wxEXEC_BLOCK flag (Hank Schultz) |
6285e36b | 101 | - Add support for wxStream-derived classes to wxRTTI (Stas Sergeev) |
df18cc7a | 102 | - Added wxStreamBuffer::Truncate() (Stas Sergeev) |
b46b1d59 | 103 | - Allow using wxEventLoop in console applications (Lukasz Michalski) |
abbb59e8 VZ |
104 | |
105 | All (GUI): | |
106 | ||
f18eaf26 | 107 | - Added wxH[V]ScrolledWindow (Brad Anderson, Bryan Petty) |
e3b81044 | 108 | - Added wxDC::StretchBlit() for wxMac and wxMSW (Vince Harron) |
5ebe4b5b | 109 | - Added support for drop down toolbar buttons (Tim Kosse) |
cdb11cb9 | 110 | - Added support for labels for toolbar controls (Vince Harron) |
2afb9e16 | 111 | - Added wxMessageDialog::SetMessage() and SetExtendedMessage() |
13dd765c JS |
112 | - Added wxEventBlocker class (Francesco Montorsi). |
113 | - Added wxFile/DirPickerCtrl::Get/SetFile/DirName() (Francesco Montorsi). | |
114 | - Added wxSizerFlags::Top() and Bottom(). | |
115 | - Slovak translation added. | |
116 | - Fixed tab-related drawing and hit-testing bugs in wxRichTextCtrl. | |
117 | - Implemented background colour in wxRichTextCtrl. | |
118 | - Fixed crashes in helpview when opening a file. | |
d774f916 | 119 | - Set locale to the default in all ports, not just wxGTK |
e6733873 | 120 | - Added wxJoystick::GetButtonState/Position() (Frank C Szczerba) |
b62f94ff | 121 | - Added wxGridUpdateLocker helper class (Evgeniy Tarassov) |
733f486a | 122 | - Support wxGRID_AUTOSIZE in wxGrid::SetRow/ColLabelSize() (Evgeniy Tarassov) |
5644933f | 123 | - Added wxWindow::NavigateIn() in addition to existing Navigate() |
abbb59e8 | 124 | - Add support for <data> tags to wxrc |
aa0f7b67 | 125 | - Support wxAPPLY and wxCLOSE in CreateStdDialogButtonSizer() (Marcin Wojdyr) |
d3a0a0ee | 126 | - Show standard options in wxCmdLineParser usage message (Francesco Montorsi) |
bc5e942b | 127 | - Added wxRect::operator+ (union) and * (intersection) (bdonner) |
ccee328e | 128 | |
ac6e0eb1 VZ |
129 | wxGTK: |
130 | ||
39bc0347 | 131 | - Support for markup and ellipsization in wxStaticText (Francesco Montorsi) |
c105dda0 | 132 | - Native implementation for wxHyperlinkCtrl (Francesco Montorsi) |
5644933f | 133 | - Native keyboard navigation implementation |
eddb9644 | 134 | - Don't overwrite primary selection with clipboard and vice versa |
13dd765c JS |
135 | - Implemented support for underlined fonts in wxStaticText. |
136 | - wxTopLevelWindow::SetSizeHints size increments now work. | |
137 | - wxTopLevelWindow::GetSize() returns the size including the WM decorations. | |
138 | - wxTopLevelWindow::GetClientSize() returns 0x0 when the window is minimized. | |
139 | - Added support for colour cursors (Pascal Monasse). | |
532ae0f6 | 140 | - Setting foreground colour of single line wxTextCtrl now works |
cf5d5057 | 141 | - Pass current control text to EVT_TEXT handler for wxSpinCtrl (John Ratliff) |
a95a6eb4 | 142 | - Added gtk.tlw.can-set-transparency system option |
ac6e0eb1 | 143 | |
4dd25308 VZ |
144 | wxMac: |
145 | ||
52734360 | 146 | - Better IconRef support (Alan Shouls) |
2afb9e16 | 147 | - Added support for changing button labels in wxMessageDialog (Gareth Simpson) |
4dd25308 | 148 | - Fix duplicate (empty) help menu in non-English programs (Andreas Jacobs) |
7816e624 | 149 | - Allow accelerators to be used with buttons too (Ryan Wilcox) |
0597e7f9 | 150 | - Support resource forks in wxCopyFile() (Hank Schultz) |
4dd25308 | 151 | |
e570a44b VZ |
152 | wxMSW: |
153 | ||
13dd765c JS |
154 | - Fixed infinite loop in wxThread::Wait() in console applications. |
155 | - Return the restored window size from GetSize() when window is minimized. | |
ff0d9d83 | 156 | - wxCheckListBox now looks more natively, especially under XP (Marcin Malich) |
ac6e0eb1 | 157 | |
2cdb6fdb VZ |
158 | wxX11: |
159 | ||
160 | - Added mouse wheel support (David Hart) | |
28117f24 | 161 | - Make Enter key activate the default button (David Hart) |
2cdb6fdb | 162 | |
12dc0a01 | 163 | |
66160760 VZ |
164 | 2.8.5 |
165 | ----- | |
166 | ||
57beadd2 VZ |
167 | All (GUI): |
168 | ||
c253e005 | 169 | - Added colour normalization to PNM image handler (Ray Johnston) |
57beadd2 | 170 | |
66160760 VZ |
171 | wxMSW: |
172 | ||
94dd2287 | 173 | - Correct problem with page setup dialog when using landscape mode |
66160760 | 174 | - Added msw.font.no-proof-quality system option, see manual for description |
b013c971 | 175 | - Fix appearance of notebook with non-top tabs under Windows Vista |
d4762753 | 176 | - Fixed bug with symbol resolving in wxStackWalker (Axel Gembe) |
66160760 | 177 | |
94dd2287 VZ |
178 | wxGTK: |
179 | ||
180 | - More work on setting defaults in GNOME print dialogs. | |
181 | - Also made landscape printing work as per wxMSW. | |
182 | - Add support for clipping in GNOME print backend. | |
183 | - Speed up wxBitmap::Rescale() | |
184 | - Add right button event for wxToolbar's tools (Tim Kosse) | |
185 | ||
186 | ||
b40bf35c VZ |
187 | 2.8.4 |
188 | ----- | |
189 | ||
defde6bc VZ |
190 | All: |
191 | ||
192 | - Fix bug in wxFileConfig when recreating a group (Steven Van Ingelgem) | |
2c17722e VZ |
193 | - Fix wxStringOutputStream::Write() in Unicode build when the argument |
194 | overlaps UTF-8 characters boundary | |
8bdc8a9c | 195 | - Account for lines without newline at the end in wxExecute() |
defde6bc | 196 | |
f4854380 VZ |
197 | All (Unix): |
198 | ||
199 | - Handle socket shutdown by the peer correctly in wxSocket (Tim Kosse) | |
defde6bc VZ |
200 | |
201 | All (GUI): | |
202 | ||
203 | - Allow status bar children in XRC (Edmunt Pienkowski) | |
781130bf | 204 | - Fix memory leak in wxWizard when not using sizers for the page layout |
9fcd0bf7 | 205 | - Added wxListCtrl::SetItemPtrData() |
884898a7 | 206 | - wxHTML: Apply table background colour between the cells too (Michael Hieke) |
f4854380 | 207 | |
b40bf35c VZ |
208 | wxMSW: |
209 | ||
210 | - Corrected wxStaticBox label appearance when its foreground colour was set: | |
211 | it didn't respect font size nor background colour then (Juan Antonio Ortega) | |
8145496b VZ |
212 | - Don't lose combobox text when it's opened and closed (Kolya Kosenko) |
213 | - Corrected GetChecked() for events from checkable menu items (smanders) | |
b40bf35c | 214 | - Fixed popup menus under Windows NT 4 |
61053de4 | 215 | - Fixed bug in wxThread::Wait() in console applications introduced in 2.8.3 |
223b7504 | 216 | - Support right-aligned/centered owner drawn items in wxListCtrl (troelsk) |
61053de4 | 217 | - Compilation fixed with WXWIN_COMPATIBILITY_2_6==0 |
721d1838 | 218 | - Fix wxComboCtrl colours under Windows Vista (Kolya Kosenko) |
b40bf35c | 219 | |
378b042b VZ |
220 | wxGTK: |
221 | ||
61053de4 | 222 | - Fix infinite loop when adding a wxStaticText control to a toolbar |
378b042b | 223 | - Fix wxNO_BORDER style for wxRadioBox (David Hart) |
5440a04f | 224 | - Fix wxTextCtrl::GetLineText() for empty lines (Marcin Wojdyr) |
378b042b | 225 | |
4ff9366d VZ |
226 | wxMac: |
227 | ||
228 | - Fix wxComboBox::SetSelection(wxNOT_FOUND) (Adrian Secord) | |
229 | ||
b5a3a81b VZ |
230 | wxUniv: |
231 | ||
232 | - Fix wxTextCtrl::SetSelection(-1, -1) to behave as documented (Anders Larsen) | |
75a788ee | 233 | - Fix wxComboBox::SetSelection(wxNOT_FOUND) |
3b6c95eb | 234 | - Fix setting background colour for controls with transparent background |
b5a3a81b | 235 | |
b40bf35c | 236 | |
6fa2dd0e VZ |
237 | 2.8.3 |
238 | ----- | |
239 | ||
cd632a86 VZ |
240 | All: |
241 | ||
242 | - Shut down the sockets gracefully (Sergio Aguayo) | |
9076e56d | 243 | - Fix extra indentation in wxHTML_ALIGN_JUSTIFY display (Chacal) |
cd632a86 VZ |
244 | |
245 | wxMac: | |
6fa2dd0e VZ |
246 | |
247 | - Corrected top border size for wxStaticBox with empty label (nusi) | |
248 | ||
5ab9534b VZ |
249 | wxMSW: |
250 | ||
251 | - Fixed wxFileName::GetSize() for large files | |
252 | ||
f005ea42 VZ |
253 | wxGTK: |
254 | ||
255 | - Fixed handling of accelerators using PageUp/Down keys | |
256 | ||
5ab9534b | 257 | |
e816f5c7 VZ |
258 | 2.8.2 |
259 | ----- | |
260 | ||
d95527de VZ |
261 | All: |
262 | ||
13dd765c JS |
263 | - Added wxSizerFlags::Shaped() and FixedMinSize() methods. |
264 | - Added wxCSConv::IsOk() (Manuel Martin). | |
265 | - Added wxDateTime::GetDateOnly(). | |
266 | - Made wxTextFile work with unseekable files again (David Hart). | |
267 | - Added wxCONFIG_USE_SUBDIR flag to wxFileConfig (Giuseppe Bilotta). | |
268 | - Added wxSearchCtrl::[Get|Set]DescriptiveText. | |
85bf679a | 269 | - Fixed detection of number of processors under Linux 2.6 |
886f61ca | 270 | - Fixed Base64 computation in wxHTTP (p_michalczyk) |
28bf2f3c | 271 | - Fix handling of wxSOCKET_REUSEADDR in wxDatagramSocket (troelsk) |
d95527de | 272 | |
69c928ef VZ |
273 | Unix Ports: |
274 | ||
275 | - Fixed crash in wxGetUserName() in Unicode build | |
276 | ||
e816f5c7 VZ |
277 | wxMSW |
278 | ||
13dd765c JS |
279 | - Fix lack of spin control update event when control lost focus. |
280 | - Corrected drawing of bitmaps for disabled menu items. | |
0d3997fd | 281 | |
c8db4e15 VZ |
282 | wxGTK |
283 | ||
284 | - Fix hang on startup when using GTK+ options in Unicode build | |
285 | ||
a0232aa5 RD |
286 | wxMac |
287 | ||
0d045709 | 288 | - Fix position of the centered windows (didn't take menu bar size into account) |
13dd765c | 289 | - Added support for the wxFRAME_FLOAT_ON_PARENT style. |
a0232aa5 | 290 | |
3aba082d VZ |
291 | wxX11: |
292 | ||
13dd765c | 293 | - Don't crash in wxWindow dtor if the window hadn't been really Create()d. |
3aba082d | 294 | |
750040fa WS |
295 | wxUniv: |
296 | ||
13dd765c | 297 | - Fixed wxComboBox always sorted. |
750040fa | 298 | |
e816f5c7 | 299 | |
265db88d VZ |
300 | 2.8.1 |
301 | ----- | |
302 | ||
5fe6c02b VZ |
303 | All: |
304 | ||
13dd765c JS |
305 | - Fix compilation with wxUSE_STL=1. |
306 | - wxGrid::GetBestSize() returns same size the grid would have after AutoSize(). | |
307 | - Added wxTreeCtrl::CollapseAll[Children]() and IsEmpty() (Francesco Montorsi). | |
308 | - Several RTL-related positioning fixes (Diaa Sami). | |
309 | - Fix wxConfig::DeleteGroup() for arguments with trailing slash (David Hart). | |
310 | - Fix memory leak in wxGrid::ShowCellEditControl() (Christian Sturmlechner). | |
5fe6c02b | 311 | |
0ec8d8f7 VZ |
312 | wxMSW: |
313 | ||
13dd765c JS |
314 | - Fixed compilation with Borland C++ in Unicode mode but without MSLU. |
315 | - Show taskbar icon menu on right button release, not press. | |
0ec8d8f7 | 316 | |
265db88d VZ |
317 | wxGTK: |
318 | ||
13dd765c | 319 | - Don't crash if command line is not valid UTF-8 (Unicode build only). |
265db88d | 320 | |
9c5fd8a3 VZ |
321 | wxUniv: |
322 | ||
13dd765c | 323 | - It is now possible to set background colour of wxStaticText. |
9c5fd8a3 | 324 | |
265db88d | 325 | |
9129836e VZ |
326 | 2.8.0 |
327 | ----- | |
328 | ||
329 | All: | |
330 | ||
13dd765c JS |
331 | - Added wxSearchCtrl (Vince Harron). |
332 | - wxCSConv("UTF-16/32") now behaves correctly, i.e. same as wxMBConvUTF16/32. | |
333 | - wxArrayString::Alloc() now works as reserve() and doesn't clear array contents. | |
bc2ce7a5 | 334 | - Fixed long standing bug in wxFileConfig groups renaming (Antti Koivisto). |
c20267d8 MW |
335 | - New option wxFS_READ | wxFS_SEEKABLE for wxFileSystem::OpenFile() to return |
336 | a stream that is seekable. | |
13dd765c JS |
337 | - Fixed bug in wxCalendarCtrl::HitTest() when clicking on month change arrows. |
338 | - Added wxWindow::GetWindowBorderSize() and corrected wxTreeCtrl::GetBestSize(). | |
339 | for a control with borders (Tim Kosse). | |
9129836e | 340 | |
077c7880 VZ |
341 | wxMSW: |
342 | ||
bc2ce7a5 | 343 | - Fixed version script problems when using configure with cygwin/mingw32. |
a7734bdf | 344 | - Use system default paper size for printing instead of A4. |
13dd765c | 345 | - Fix (harmless) assert in virtual list control under Vista. |
a7734bdf | 346 | - Fix colours when converting wxBitmap with alpha to wxImage (nusi). |
a7734bdf | 347 | |
927637fd VZ |
348 | wxGTK: |
349 | ||
13dd765c JS |
350 | - Allow dynamically changing most of text control styles. |
351 | - Enable use of libgnomeprintui by default in configure. | |
927637fd | 352 | |
077c7880 | 353 | |
432efcb0 RD |
354 | 2.7.2 |
355 | ----- | |
356 | ||
f8f6c91a MW |
357 | All: |
358 | ||
359 | - Added wxFFile overload to wxFileName::CreateTemporaryFileName(). | |
049e9de7 | 360 | - Added GetTempDir() to wxFileName and wxStandardPaths. |
f068697b MW |
361 | - Added wxTar streams. |
362 | - Added wxFilterFSHandler and wxArchiveFSHandler. | |
bc2ce7a5 | 363 | - Added wxString::ToLongLong() and ToULongLong(). |
f8f6c91a | 364 | |
0ec8d8f7 | 365 | All (GUI): |
432efcb0 RD |
366 | |
367 | - wxMemoryDC constructor now optionally accepts a wxBitmap parameter, | |
368 | calling SelectObject itself if a valid bitmap is passed. | |
19c9f36f RD |
369 | - Reverted wxBuffered[Paint]DC to pre 2.7.1 state, added |
370 | wxAutoBufferedPaintDC and wxAutoBufferedPaintDCFactory. | |
049e9de7 JS |
371 | - Renamed wxProgressDialog::UpdatePulse() to just Pulse(). |
372 | - Added wxCollapsiblePane (Francesco Montorsi). | |
373 | - Added wxSimpleHtmlListBox (Francesco Montorsi). | |
96202eaa JS |
374 | - Printing framework fixes by Robert J. Lang. Bugs fixed, |
375 | wxPrinterDC::GetPaperRect() and other functions added to allow | |
376 | easier printing implementation, and the documentation updated. | |
377 | - Many enhancements to wxRichTextCtrl including URL support, | |
378 | formatting and symbol dialogs, print/preview, and better list | |
379 | formatting. | |
bc2ce7a5 JS |
380 | - Support for loading TGA files added (Seth Jackson). |
381 | - Added wxTB_RIGHT style for right-aligned toolbars (Igor Korot). | |
0f11c233 | 382 | - wxHtmlWindow now generates events on link clicks (Francesco Montorsi). |
bc2ce7a5 | 383 | - wxHtmlWindow now also generates wxEVT_COMMAND_TEXT_COPY event. |
432efcb0 | 384 | |
2baa2b0e VZ |
385 | Unix Ports: |
386 | ||
387 | - Added autopackage for wxGTK and an example of using autopackage for a wx | |
049e9de7 JS |
388 | program (Francesco Montorsi). |
389 | ||
390 | wxGTK: | |
2baa2b0e | 391 | |
4ff4d045 | 392 | - More RTL work. |
049e9de7 JS |
393 | - Support wxALWAYS_SHOW_SB. |
394 | - Speed up MIME types loading. Only the GNOME database should be loaded under | |
395 | GNOME etc. For this, the code queries the X11 session protocol. | |
96202eaa | 396 | - wxCaret redraw problem during scrolling fixed. |
432efcb0 RD |
397 | |
398 | ||
e63f19ba VZ |
399 | 2.7.1 |
400 | ----- | |
401 | ||
d1af8e2d VZ |
402 | All: |
403 | ||
3306aec1 JS |
404 | - Added wxDir::FindFirst() (Francesco Montorsi). |
405 | - Added wxPlatformInfo class (Francesco Montorsi). | |
406 | - Added wxLocale::IsAvailable() (Creighton). | |
bc2ce7a5 JS |
407 | - Added Malay translations (Mahrazi Mohd Kamal). |
408 | - Added reference counting for wxVariant. | |
b7cacb43 | 409 | - For consistency, all classes having Ok() method now also have IsOk() one, use |
049e9de7 JS |
410 | of the latter form is preferred although the former hasn't been deprecated yet. |
411 | - Added wxFileName::Is(Dir|File)(Writ|Read|Execut)able() (Francesco Montorsi). | |
412 | - Added wxFileName::GetSize() and GetHumanReadableSize() (Francesco Montorsi). | |
413 | - Added wxSizer::Replace (Francesco Montorsi). | |
414 | - wxXmlDocument can now optionally preserve whitespace (Francesco Montorsi). | |
78041f2e VZ |
415 | - Added wxBookCtrl::ChangeSelection() and wxTextCtrl::ChangeValue() to provide |
416 | event-free alternatives to SetSelection() and SetValue() functions; see the | |
417 | "Events generated by the user vs programmatically generated events" paragraph | |
049e9de7 | 418 | in the "Event handling overview" topic for more info. |
d1af8e2d | 419 | |
e63f19ba VZ |
420 | All (GUI): |
421 | ||
3306aec1 JS |
422 | - Support for right-to-left text layout (started by Diaa Sami during Google Summer of |
423 | Code, with a lot of help from Tim Kosse and others). | |
049e9de7 JS |
424 | - wxAnimationCtrl added (Francesco Montorsi). |
425 | - Added wxAboutBox() function for displaying the standard about dialog. | |
3306aec1 JS |
426 | - Added wxID_PAGE_SETUP standard id. |
427 | - Added wxSize::IncBy() and DecBy() methods. | |
049e9de7 | 428 | - Added wxTextCtrl::IsEmpty(). |
3306aec1 JS |
429 | - Added file type parameter to wxTextCtrl::LoadFile, wxTextCtrl::SaveFile for |
430 | consistency with wxRichTextCtrl. | |
431 | - wxRichTextCtrl: fixed range out-by-one bug to be consistent with wxTextCtrl API, | |
432 | fixed some attribute bugs and added wxRichTextStyleComboCtrl. | |
049e9de7 JS |
433 | - Added wxWindow::IsDoubleBuffered(). |
434 | - Added wxHL_ALIGN_* flags to wxHyperlinkCtrl (Francesco Montorsi). | |
435 | - Added wxGauge::Pulse() and wxProgressDialog::UpdatePulse() (Francesco Montorsi). | |
e63f19ba | 436 | |
916eecaa VZ |
437 | wxMSW: |
438 | ||
3306aec1 | 439 | - Implemented wxComboBox::SetEditable(). |
a0020fcd | 440 | - wxSemaphore::Post() returns wxSEMA_OVERFLOW as documented (Christian Walther) |
3306aec1 JS |
441 | - Fixed a bug whereby static controls didn't use the correct text colour if the |
442 | parent's background colour had been set (most noticeable when switching to a | |
443 | high-contrast theme). | |
049e9de7 | 444 | - Respect wxBU_EXACTFIT style in wxToggleButton (Alexander Borovsky). |
916eecaa | 445 | |
95768535 MW |
446 | wxMac: |
447 | ||
448 | - Add parameter to the --enable-universal_binary configure option for the path | |
449 | to the SDK. | |
450 | ||
ab73fe8d VZ |
451 | wxGTK: |
452 | ||
3306aec1 JS |
453 | - Automatically use stock items for menu items with standard ids. |
454 | - Setting cursor now works for all controls. | |
049e9de7 | 455 | - Implemented right-to-left support. |
ae6a64b6 | 456 | - Implemented left indentation and tab stops support in wxTextCtrl (Tim Kosse). |
049e9de7 | 457 | - Fixed wxHTML rendering of underlined text of multiple words (Mart Raudsepp). |
ab73fe8d | 458 | |
b48f51ca VZ |
459 | wxUniv: |
460 | ||
049e9de7 | 461 | - Added wxTLW::UseNativeDecorations() and UseNativeDecorationsByDefault(). |
b48f51ca | 462 | |
e63f19ba | 463 | |
254e8e29 VZ |
464 | 2.7.0 |
465 | ----- | |
466 | ||
42d0df00 VZ |
467 | All: |
468 | ||
7f0d9d71 JS |
469 | - Added positional parameters support to wxVsnprintf() (Francesco Montorsi). |
470 | - wx(F)File, wxTextFile and wxInputStreams recognize Unicode BOM now. | |
471 | - Many fixes for UTF-16/32 handling in Unicode builds. | |
b83d533a | 472 | - wxLaunchDefaultBrowser() now supports wxBROWSER_NEW_WINDOW flag. |
3af9f2de | 473 | - Added wxStandardPaths::GetResourcesDir() and GetLocalizedResourcesDir() |
7f0d9d71 | 474 | - Added wxStandardPaths::GetDocumentsDir() (Ken Thomases). |
b83d533a | 475 | - Added wxStringTokenizer::GetLastDelimiter(); improved documentation. |
7f0d9d71 JS |
476 | - Fixed wxTextFile in Unicode build. |
477 | - Added possibility to specify dependencies for a wxModule. | |
c6bb9255 MW |
478 | - Speed improvements to wxRegEx when matching is done in a loop such as |
479 | during a search and replace. | |
480 | - Fix regerror and regfree name conficts when built-in regex and system regex | |
481 | are both used in the same program. | |
a5fa20cb JS |
482 | - Basic authentication supported added to wxHTTP. |
483 | - wxCondition::WaitTimeout() now returns correct value when timeout occurs. | |
484 | - Fixed occasional wxThread cleanup crash. | |
485 | - Bug in wxLogStream::DoLogString in Unicode builds fixed. | |
486 | - Added support for memo fields to wxODBC. | |
487 | - Fixed Unicode builds using SunPro compiler by defining__WCHAR_TYPE__. | |
488 | - wxFileName now also looks for TMPDIR on Unix. | |
489 | - Fixed build error in list.h with VC++ 2005. | |
490 | - Fixed wxODBC buffer overflow problem in Unicode builds. | |
2decc3bd | 491 | - Fixed wxSocketBase::InterruptWait on wxBase. |
b83d533a JS |
492 | - Important code cleanup (Paul Cornett). |
493 | - Added support for wxLongLong in wx stream classes (Mark Junker). | |
24f4fc23 | 494 | - wxSOCKET_REUSEADDR can be used with wxSocketClient. |
480abc8f | 495 | - Overloaded Connect() and SetLocal() methods for binding to local address/port. |
7f0d9d71 JS |
496 | - Albanian translation added (Besnik Bleta). |
497 | - Assert messages now show the function in which assert failed. | |
498 | - wxApp::OnAssertFailure() should now be used instead the old wxApp::OnAssert(). | |
499 | - Fixed several bugs in wxDateTime::ParseDate(). | |
968f291b | 500 | - The WXK*PRIOR and WXK*NEXT constants are now aliases for WXK*PAGEUP |
6fa9383b | 501 | and WXK*PAGEDOWN. If you have switch statements that use both |
968f291b | 502 | constants from a set then you need to remove the PRIOR/NEXT |
6fa9383b | 503 | versions in order to eliminate compiler errors. |
44c930eb JG |
504 | - Fixed bug where wxDateTime::Now() would sometimes return an incorrect value |
505 | the first time it was called. | |
7f0d9d71 JS |
506 | - Added wxString::rbegin() and rend(). |
507 | - Added wxString::EndsWith(). | |
635f2bad KH |
508 | - wxSocket::_Read continues reading from socket after exhausting pushback buffer. |
509 | Previously, only the buffer would be returned, even if more data was requested. | |
7f0d9d71 JS |
510 | - Added wxPowerEvent (currently MSW-only). |
511 | - Make wx-config compatible with Bourne shells. | |
3306aec1 JS |
512 | - Fixed wxDb::Open(wxDbConnectInf) when using connection string (Hellwolf Misty). |
513 | - Fixed crash in wxDb::Open() in Unicode build (Massimiliano Marretta). | |
514 | - Fixed wxTimeSpan::Format() for negative time spans. | |
515 | - Optionally count repeating wxLog messages instead of logging all (Lauri Nurmi). | |
42d0df00 | 516 | |
c6ece595 VZ |
517 | All (GUI): |
518 | ||
3306aec1 | 519 | - New AUI (Advanced User Interface) library for docking windows and much more. |
7f0d9d71 | 520 | - Added wxComboCtrl and wxOwnerDrawnComboBox (Jaakko Salli). |
03a37db9 | 521 | - Added wxTreebook (uses a wxTreeCtrl to control pages). |
7f0d9d71 JS |
522 | - Added wxColour/Dir/File/Font/PickerCtrls (Francesco Montorsi). |
523 | - Added wxDC::GradientFillLinear/Concentric(). | |
524 | - Added wxHyperlinkCtrl (Francesco Montorsi). | |
525 | - Added clipboard events (wxEVT_COMMAND_TEXT_COPY/CUT/PASTE). | |
526 | - Allow to reorder wxGrid columns by drag-and-drop (Santiago Palacios). | |
527 | - Added wxRadioBox::SetItemToolTip(). | |
528 | - Added support for CMYK JPEG images loading (Robert Wruck). | |
529 | - Added wxListCtrl::GetSubItemRect() and subitem hit testing (Agron Selimaj). | |
530 | - Added wxKeyEvent::GetModifiers(). | |
5d7836c4 | 531 | - Added wxDialog::SetEscapeId(). |
f7c40316 | 532 | - wxItemContainerImmutable::FindString unified (affects wxRadioBox, wxListBox, |
5d7836c4 JS |
533 | wxComboBox and wxChoice). |
534 | - wxWindow::Fit() now works correctly for frames and dialogs too. | |
535 | - Added access to the border size between pages and controller in book | |
536 | based controls (wxBookCtrlBase::Get/SetInternalBorder). | |
537 | - Added initial wxRichTextCtrl implementation. | |
d8fd7acb WS |
538 | - All book based controls (notebook, treebook etc.) share now the same |
539 | options for orientation (wxBK_TOP, wxBK_DEFAULT, ...) instead of duplicated | |
540 | wxLB_TOP, wxNB_TOP, wxCHB_TOP, wxTBK_TOP. | |
3db52265 JS |
541 | - Added parent window parameter to wxHelpController constructor |
542 | and added SetParentWindow/GetParentWindow. | |
60104cba | 543 | - wxMultiChoiceDialog uses now wxCheckListBox if possible, wxListBox if not. |
b83d533a | 544 | - Added wxBitmapButton::SetHoverBitmap(). |
60fef964 WS |
545 | - Access to titles through Get/SetTitle is available now only for top level |
546 | windows (wxDialog, wxFrame). | |
b83d533a | 547 | - Fixed memory leak of pending events in wxEvtHandler. |
7f0d9d71 | 548 | - Added wxRadioBox::IsItemEnabled/Shown(). |
3d941982 | 549 | - Added space after list item number in wxHTML. |
3c115835 | 550 | - Implemented <sub> and <sup> handling in wxHTML (based on patch |
b83d533a | 551 | by Sandro Sigala). |
f14d6dd1 | 552 | - Added caption parameter to wxGetFontFromUser and wxGetColourFromUser. |
7dd40b6f | 553 | - Added wxGetMouseState function. |
c3e5d4e2 JS |
554 | - Added wxHtmlHelpWindow, wxHtmlHelpDialog and wxHtmlModalHelp classes, |
555 | allowing HTML help to be embedded in an application. | |
a5fa20cb JS |
556 | - wxCalendarCtrl positioning and hit-testing fixes for dimensions other than |
557 | best size. | |
d9170b47 | 558 | - wxCalendarCtrl colour schema changed and adjusted to system settings. |
7f0d9d71 | 559 | - wxImage::Mirror() and GetSubBitmap() now support alpha (Mickey Rose). |
a5fa20cb JS |
560 | - More checking of image validity before loading into wxImage. |
561 | - Added wxImage::ConvertToGreyscale. | |
562 | - Added ability to use templates with static event tables | |
b83d533a JS |
563 | with BEGIN_EVENT_TABLE_TEMPLATEn() macros. |
564 | - Added play, pause, and state change events to wxMediaCtrl. | |
a5fa20cb | 565 | - Added double-buffering to wxVListBox and fixed a scrolling issue. |
fd0d619f | 566 | - Added wxToolbook (uses a wxToolBar to control pages). |
cc8bc5aa JS |
567 | - Added SetSheetStyle to wxPropertySheetDialog and allowed it to |
568 | behave like a Mac OS X settings dialog. | |
7cc1ad29 JS |
569 | - Added <disabled> XRC tag for wxToolBar elements and <bg> for wxToolBar itself. |
570 | - Fixed centering of top level windows on secondary displays. | |
571 | - Implemented wxDisplay::GetFromWindow() for platforms other than MSW. | |
b83d533a | 572 | - UpdateUI handler can now show/hide the window too (Ronald Weiss). |
0f30d8e3 | 573 | - More than one filter allowed in in wxDocTemplate filter. |
b83d533a JS |
574 | - Added wxListBox::HitTest(). |
575 | - Added wxDisplay::GetClientArea(). | |
894b93d3 | 576 | - Indices and counts in wxControlWithItems derived API are unsigned. |
bc55e31b VS |
577 | - Added support for links to wxHtmlListBox; use code has to override |
578 | wxHtmlListBox::OnLinkClicked() to take advantage of it. | |
7f0d9d71 | 579 | - Added an easier to use wxMenu::AppendSubMenu(). |
40989e46 | 580 | - wxString <-> wxColour conversions in wxColour class (Francesco Montorsi). |
7f0d9d71 JS |
581 | - Fixed bug with ignoring blank lines in multiline wxGrid cell labels. |
582 | - Added wxTextAttr::Merge() (Marcin Simonides). | |
583 | - Added wxTB_NO_TOOLTIPS style (Igor Korot). | |
584 | - Added wxGenericDirCtrl::CollapsePath() (Christian Buhtz). | |
70934138 | 585 | - Added wxTreeCtrl::ExpandAllChildren() (Christian Buhtz) |
6b8f5d30 | 586 | - Fixed 64-bit issue in wxNotebook causing segfaults on Tru64 Unix. |
7f0d9d71 JS |
587 | - Made it possible to associate context help to a region of a window. |
588 | - Added support for tabs in wxRichTextCtrl (Ashish More). | |
d8766675 | 589 | - Fixed problem with zoom setting in print preview. |
3b2cb431 | 590 | - Moved wxRichTextCtrl from the advanced library to its own. |
9804d540 | 591 | - wxNB_HITTEST_* flags renamed to wxBK_HITTEST_* to serve all book controls. |
07880314 | 592 | - Added wxTopLevelWindow::SetTransparent and CanSetTransparent, with |
50f3c41d | 593 | implementations (so far) for wxMSW and wxMac. |
3306aec1 JS |
594 |