]> git.saurik.com Git - wxWidgets.git/blob - docs/changes.txt
forward SetColPos() to the header window
[wxWidgets.git] / docs / changes.txt
1 -------------------------------------------------------------------------------
2 wxWidgets Change Log
3 -------------------------------------------------------------------------------
4
5 INCOMPATIBLE CHANGES SINCE 2.8.x
6 ================================
7
8
9 Notice that these changes are described in more details in
10 the "Changes Since wxWidgets 2.8" section of the manual,
11 please read it if the explanation here is too cryptic.
12
13
14 Unicode-related changes
15 -----------------------
16
17 The biggest changes in wxWidgets 3.0 are the changes due to the merge of the
18 old ANSI and Unicode build modes in a single build. See the Unicode overview
19 in the manual for more details but here are the most important incompatible
20 changes:
21
22 - Many wxWidgets functions taking "const wxChar *" have been changed to take
23 either "const wxString&" (so that they accept both Unicode and ANSI strings;
24 the argument can't be NULL anymore in this case) or "const char *" (if the
25 strings are always ANSI; may still be NULL). This change is normally
26 backwards compatible except:
27
28 a) Virtual functions: derived classes versions must be modified to take
29 "const wxString&" as well to make sure that they continue to override the
30 base class version.
31
32 b) Passing NULL as argument: as NULL can't be unambiguously converted to
33 wxString, in many cases code using it won't compile any more and NULL
34 should be replaced with an empty string.
35
36
37 - Some structure fields which used to be of type "const wxChar *" (such as
38 wxCmdLineEntryDesc::shortName, longName and description fields) are now of
39 type "const char *", you need to remove wxT() or _T() around the values used
40 to initialize them (which should normally always be ASCII).
41
42 - wxIPC classes didn't work correctly in Unicode build before, this was fixed
43 but at a price of breaking backwards compatibility: many methods which used
44 to work with "wxChar *" before use "void *" now (some int parameters were
45 also changed to size_t). While wxIPC_TEXT can still be used to transfer 7
46 bit text, the new wxIPC_UTF8TEXT format is used for transferring wxStrings.
47 Also notice that connection classes should change the parameter types of
48 their overridden OnExecute() or override a more convenient OnExec() instead.
49
50
51 wxODBC and contrib libraries removal
52 ------------------------------------
53
54 wxODBC library was unmaintained since several years and we couldn't continue
55 supporting it any longer so it was removed. Please use any of the other open
56 source ODBC libraries in the future projects.
57
58 Also the "applet", "deprecated", "fl", "mmedia" and "plot" contrib libraries
59 were removed as they were unmaintained and broken since several years.
60 The "gizmos", "ogl", "net" and "foldbar" contribs have been moved to
61 wxCode (see http://wxcode.sourceforge.net/complist.php); they are now
62 open for futher development by volunteers.
63
64 The "stc" and "svg" contribs instead have been moved respectively into a new
65 "official" library stc and in the core lib.
66
67
68 Changes in behaviour not resulting in compilation errors, please read this!
69 ---------------------------------------------------------------------------
70
71 - Default location of wxFileConfig files has changed under Windows, you will
72 need to update your code if you access these files directly.
73
74 - wxWindow::IsEnabled() now returns false if a window parent (and not
75 necessarily the window itself) is disabled, new function IsThisEnabled()
76 with the same behaviour as old IsEnabled() was added.
77
78 - Generating wxNavigationKeyEvent events doesn't work any more under wxGTK (and
79 other platforms in the future), use wxWindow::Navigate() or NavigateIn()
80 instead.
81
82 - Sizers distribute only the extra space between the stretchable items
83 according to their proportions and not all available space. We believe the
84 new behaviour corresponds better to user expectations but if you did rely
85 on the old behaviour you will have to update your code to set the minimal
86 sizes of the sizer items to be in the same proportion as the items
87 proportions to return to the old behaviour.
88
89 - wxWindow::Freeze/Thaw() are not virtual any more, if you overrode them in
90 your code you need to override DoFreeze/Thaw() instead now.
91
92 - wxCalendarCtrl has native implementation in wxGTK, but it has less features
93 than the generic one. The native implementation is used by default, but you
94 can still use wxGenericCalendarCtrl instead of wxCalendarCtrl in your code if
95 you need the extra features.
96
97 - wxDocument::FileHistoryLoad() and wxFileHistory::Load() now take const
98 reference to wxConfigBase argument and not just a reference, please update
99 your code if you overrode these functions and change the functions in the
100 derived classes to use const reference as well.
101
102 - Under MSW wxExecute() arguments are now always properly quoted, as under
103 Unix, and so shouldn't contain quotes unless they are part of the argument.
104
105 - wxDocument::OnNewDocument() doesn't call OnCloseDocument() any more.
106
107 - If you use wxScrolledWindow::SetTargetWindow() you must implement its
108 GetSizeAvailableForScrollTarget() method, please see its documentation for
109 more details.
110
111
112 Changes in behaviour which may result in compilation errors
113 -----------------------------------------------------------
114
115 - WXWIN_COMPATIBILITY_2_4 doesn't exist any more, please update your code if
116 you still relied on features deprecated since version 2.4
117
118 - wxDC classes hierarchy has changed, if you derived any classes from wxDC you
119 need to review them as wxDC doesn't have any virtual methods any longer and
120 uses delegation instead of inheritance to present different behaviours.
121
122 - Return type of wxString::operator[] and wxString::iterator::operator* is no
123 longer wxChar (i.e. char or wchar_t), but wxUniChar. This is not a problem
124 in vast majority of cases because of conversion operators, but it can break
125 code that depends on the result being wxChar.
126
127 - The value returned by wxString::c_str() cannot be casted to non-const char*
128 or wchar_t* anymore. The solution is to use newly added wxString methods
129 char_str() (which returns a buffer convertible to char*) or wchar_str()
130 (which returns a buffer convertible to wchar_t*). These methods are
131 available in wxWidgets 2.8 series beginning with 2.8.4 as well.
132
133 - The value returned by wxString::operator[] or wxString::iterator cannot be
134 used in switch statements anymore, because it's a class instance. Code like
135 this won't compile:
136 switch (str[i]) { ... }
137 and has to be replaced with this:
138 switch (str[i].GetValue()) { ... }
139
140 - Return type of wxString::c_str() is now a helper wxCStrData struct and not
141 const wxChar*. wxCStrData is implicitly convertible to both "const char *"
142 and "const wchar_t *", so this only presents a problem if the compiler cannot
143 apply the conversion. This can happen in 2 cases:
144
145 + There is an ambiguity because the function being called is overloaded to
146 take both "const char *" and "const wchar_t *" as the compiler can't choose
147 between them. In this case you may use s.wx_str() to call the function
148 matching the current build (Unicode or not) or s.mb_str() or s.wc_str() to
149 explicitly select narrow or wide version of it.
150
151 Notice that such functions are normally not very common but unfortunately
152 Microsoft decided to extend their STL with standard-incompatible overloads
153 of some functions accepting "const wchar_t *" so you may need to replace
154 some occurrences of c_str() with wx_str() when using MSVC 8 or later.
155
156 + Some compilers, notably Borland C++ and DigitalMars, don't correctly
157 convert operator?: operands to the same type and fail with compilation
158 error instead. This can be worked around by explicitly casting to const
159 wxChar*: wxLogError(_("error: %s"), !err.empty() ? (const wxChar*)err.c_str() : "")
160
161 - wxCtime() and wxAsctime() return char*; this is incompatible with Unicode
162 build in wxWidgets 2.8 that returned wchar_t*.
163
164 - DigitalMars compiler has a bug that prevents it from using
165 wxUniChar::operator bool in conditions and it erroneously reports type
166 conversion ambiguity in expressions such as this:
167 for ( wxString::const_iterator p = s.begin(); *p; ++p )
168 This can be worked around by explicitly casting to bool:
169 for ( wxString::const_iterator p = s.begin(); (bool)*p; ++p )
170
171 - Virtual wxHtmlParser::AddText() takes wxString, not wxChar*, argument now.
172
173 - Functions that took wxChar* arguments that could by NULL in wxWidgets 2.8
174 are deprecated and passing NULL to them won't compile anymore, wxEmptyString
175 must be used instead.
176
177 - wxTmemxxx() functions take either wxChar* or char*, not void*: use memxxx()
178 with void pointers.
179
180 - Removed insecure wxGets() and wxTmpnam() functions.
181
182 - Removed global GetLine() function from wx/protocol/protocol.h, use
183 wxProtocol::ReadLine() instead.
184
185 - wxVariant no longer derives from wxObject. wxVariantData also no longer
186 derives from wxObject; instead of using wxDynamicCast with wxVariantData you
187 can use the macro wxDynamicCastVariantData with the same arguments.
188
189 - wxWindow::Next/PrevControlId() don't exist any more as they can't be
190 implemented correctly any longer because automatically generated ids are not
191 necessarily allocated consecutively any more. Use GetChildren() to find the
192 next/previous control sibling instead.
193
194 - Calling wxConfig::Write() with an enum value will fail to compile because
195 wxConfig now tries to convert all unknown types to wxString automatically.
196 The simplest solution is to cast the enum value to int.
197
198 - Several wxImage methods which previously had "long bitmaptype" parameters
199 have been changed to accept "wxBitmapType bitmaptype", please use enum
200 wxBitmapType in your code.
201
202 Deprecated methods and their replacements
203 -----------------------------------------
204
205 - wxCreateGreyedImage() deprecated, use wxImage::ConvertToGreyscale() instead.
206 - wxString::GetWriteBuf() and UngetWriteBuf() deprecated, using wxStringBuffer
207 or wxStringBufferLength instead.
208 - wxDIRCTRL_SHOW_FILTERS style is deprecated, filters are alwsys shown if
209 specified so this style should simply be removed
210 - wxDocManager::MakeDefaultName() replaced by MakeNewDocumentName() and
211 wxDocument::GetPrintableName() with GetUserReadableName() which are simpler
212 to use
213 - wxXmlProperty class was renamed to wxXmlAttribute in order to use standard
214 terminology. Corresponding wxXmlNode methods were renamed to use
215 "Attribute" instead of "Property" or "Prop" in their names.
216 - wxConnection::OnExecute() is not formally deprecated yet but new code should
217 use simpler OnExec() version which is called with wxString argument
218 - wxMenuItem::GetLabel has been deprecated in favour of wxMenuItem::GetItemLabelText
219 - wxMenuItem::GetText has been deprecated in favour of wxMenuItem::GetItemLabel
220 - wxMenuItem::GetLabelFromText has been deprecated in favour of wxMenuItem::GetLabelText
221 - wxMenuItem::SetText has been deprecated in favour of wxMenuItem::SetItemLabel
222 - wxBrush's, wxPen's SetStyle() and GetStyle() as well as the wxBrush/wxPen ctor now take
223 respectively a wxBrushStyle and a wxPenStyle value instead of a plain "int style";
224 use the new wxBrush/wxPen style names (wxBRUSHSTYLE_XXX and wxPENSTYLE_XXX) instead
225 of the old deprecated wxXXX styles (which however are still available).
226 - EVT_CALENDAR_DAY event has been deprecated, use EVT_CALENDAR_SEL_CHANGED.
227 - EVT_CALENDAR_MONTH and EVT_CALENDAR_YEAR events are deprecated,
228 use EVT_CALENDAR_PAGE_CHANGED which replaces both of them.
229 - wxCalendarCtrl::EnableYearChange() and wxCAL_NO_YEAR_CHANGE are deprecated.
230 There is no replacement for this functionality, it is being dropped as it is
231 not available in native wxCalendarCtrl implementations.
232 - wxDC::SetClippingRegion(const wxRegion&) overload is deprecated as it used
233 different convention from the other SetClippingRegion() overloads: wxRegion
234 passed to it was interpreted in physical, not logical, coordinates. Replace
235 it with SetDeviceClippingRegion() if this was the correct thing to do in your
236 code.
237 - wxTE_AUTO_SCROLL style is deprecated as it's always on by default anyhow.
238
239
240 Major new features in this release
241 ----------------------------------
242
243 - wxWidgets is now always built with Unicode support but provides the same
244 simple (i.e. "char *"-tolerant) API as was available in ANSI build in the
245 past.
246
247 - wxWidgets may now use either wchar_t (UTF-16/32) or UTF-8 internally,
248 depending on what is optimal for the target platform.
249
250 - New propgrid library containing wxPropertyGrid and related classes, many
251 enhancements to wxDataViewCtrl.
252
253 - Event loops, timers and sockets can now be used in wxBase, without GUI.
254
255 - Documentation for wxWidgets has been converted from LaTex to C++ headers
256 with Doxygen comments and significantly improved in the process (screenshots
257 of various controls were added, more identifiers are now linked to their
258 definition &c). Any reports about inaccuracies in the documentation are
259 welcome (and due to using the simple Doxygen syntax it is now easier than
260 ever to submit patches correcting them! :-)
261
262
263 2.9.0
264 -----
265
266 All:
267
268 - Added (experimental) IPv6 support to wxSocket (Arcen).
269 - Cleaned up wxURI and made it Unicode-friendly.
270 - Add support for wxExecute(wxEXEC_ASYNC) in wxBase (Lukasz Michalski)
271 - Added wxXLocale class and xlocale-like functions using it.
272 - Allow loading message catalogs from wxFileSystem (Axel Gembe)
273 - Added wxMessageQueue class for inter-thread communications
274 - Use UTF-8 for Unicode data in wxIPC classes (Anders Larsen)
275 - Added support for user-defined types to wxConfig (Marcin Wojdyr).
276 - Added numeric options support to wxCmdLineParser (crjjrc)
277 - Added wxJoin() and wxSplit() functions (Francesco Montorsi).
278 - Added wxDateTime::FormatISOCombined() and ParseISODate/Time/Combined()
279 - Added wxMutex::LockTimeout() (Aleksandr Napylov).
280 - Added wxMemoryInputStream(wxInputStream&) ctor (Stas Sergeev).
281 - Implemented wxMemoryInputStream::CanRead().
282 - Implemented wxMemoryFSHandler::FindFirst/Next().
283 - Added wxEXEC_BLOCK flag (Hank Schultz).
284 - Add support for wxStream-derived classes to wxRTTI (Stas Sergeev).
285 - Added wxStreamBuffer::Truncate() (Stas Sergeev).
286 - Allow using wxEventLoop in console applications (Lukasz Michalski).
287 - Added functions for Base64 en/decoding (Charles Reimers).
288 - Added support for binary data to wxConfig (Charles Reimers).
289 - Added functions for atomically inc/decrementing integers (Armel Asselin).
290 - wxLogInterposer has been added to replace wxLogPassThrough and new
291 wxLogInterposerTemp was added.
292 - Added support for broadcasting to UDP sockets (Andrew Vincent).
293 - Documentation now includes the wx library in which each class is defined.
294 - wxrc --gettext now generates references to source .xrc files (Heikki
295 Linnakangas).
296 - wxVariant::Unshare allows exclusive allocation of data that must be shared,
297 if the wxVariantData::Clone function is implemented.
298 - Added wxWeakRef<T>, wxScopedPtr<T>, wxSharedPtr<T> class templates
299 - Added wxVector<T> class templates
300 - Added wxON_BLOCK_EXIT_SET() and wxON_BLOCK_EXIT_NULL() to wx/scopeguard.h.
301 - Added wxEvtHandler::QueueEvent() replacing AddPendingEvent() and
302 wxQueueEvent() replacing wxPostEvent().
303 - wxString now uses std::[w]string internally by default, meaning that it is
304 now thread-safe if the standard library provided with your compiler is.
305 - Added wxCmdLineParser::AddUsageText() (Marcin 'Malcom' Malich).
306 - Fix reading/writing UTF-7-encoded text streams.
307 - Corrected bug in wxTimeSpan::IsShorterThan() for equal time spans.
308 - Use std::unordered_{map,set} for wxHashMap/Set if available (Jan van Dijk).
309 - Added wxString::Capitalize() and MakeCapitalized().
310 - Added wxArray::swap().
311 - Added wxSHUTDOWN_LOGOFF and wxSHUTDOWN_FORCE wxShutdown() flags (troelsk).
312 - Added wxArtProvider::GetNativeSizeHint(); GetSizeHint() as well as
313 GetNativeSizeHint() now return more sensible values in wxMSW and wxMac and
314 no longer return bogus values.
315
316 All (Unix):
317
318 - Added wx-config --optional-libs command line option (John Labenski).
319 - Noticeably (by a factor of ~150) improve wxIPC classes performance.
320
321 All (GUI):
322
323 - Added wxDataViewCtrl class and helper classes.
324 - Integrated wxPropertyGrid in wxWidgets itself (Jaakko Salli).
325 - Provide native implementation of wxCalendarCtrl under wxMSW and wxGTK.
326 - Added {wxTextCtrl,wxComboBox}::AutoComplete() and AutoCompleteFileNames().
327 - Added wxH[V]ScrolledWindow (Brad Anderson, Bryan Petty).
328 - Added wxNotificationMessage class for non-intrusive notifications.
329 - Added wxWindow::Show/HideWithEffect().
330 - Added wxWrapSizer (Arne Steinarson).
331 - Added wxSpinCtrlDouble (John Labenski).
332 - Support custom labels in wxMessageDialog (Gareth Simpson for wxMac version).
333 - Also added wxCANCEL_DEFAULT to wxMessageDialog.
334 - Allow copying text in the log dialogs.
335 - Added multisample (anti-aliasing) support to wxGLCanvas (Olivier Playez).
336 - Initialize wx{Client,Paint,Window}DC with fonts/colours of its window.
337 - Added wxNativeContainerWindow to allow embedding wx into native windows.
338 - Added custom controls support to wxFileDialog (Diaa Sami and Marcin Wojdyr).
339 - Added wxDC::StretchBlit() for wxMac and wxMSW (Vince Harron).
340 - Added support for drop down toolbar buttons (Tim Kosse).
341 - Added support for labels for toolbar controls (Vince Harron).
342 - Added wxMessageDialog::SetMessage() and SetExtendedMessage().
343 - Added wxListCtrl::Set/GetColumnsOrder() (Yury Voronov).
344 - Made wxLogWindow thread-safe (Barbara Maren Winkler).
345 - Added wxWindow::AlwaysShowScrollbars() (Julian Scheid).
346 - Added wxMouseEvent::GetClickCount() (Julian Scheid).
347 - Added wxBG_STYLE_TRANSPARENT background style (Julian Scheid).
348 - Added support for drop-down toolbar buttons to XRC.
349 - Added XRCSIZERITEM() macro for obtaining sizers from XRC (Brian Vanderburg II).
350 - New and improved wxFileCtrl (Diaa Sami and Marcin Wojdyr).
351 - Added wxEventBlocker class (Francesco Montorsi).
352 - Added wxFile/DirPickerCtrl::Get/SetFile/DirName() (Francesco Montorsi).
353 - Added wxSizerFlags::Top() and Bottom().
354 - Slovak translation added.
355 - Fixed tab-related drawing and hit-testing bugs in wxRichTextCtrl.
356 - Implemented background colour in wxRichTextCtrl.
357 - Fixed crashes in helpview when opening a file.
358 - Set locale to the default in all ports, not just wxGTK.
359 - Added wxJoystick::GetButtonState/Position() (Frank C Szczerba).
360 - Added wxGridUpdateLocker helper class (Evgeniy Tarassov).
361 - Support wxGRID_AUTOSIZE in wxGrid::SetRow/ColLabelSize() (Evgeniy Tarassov).
362 - Added wxWindow::NavigateIn() in addition to existing Navigate().
363 - Add support for <data> tags to wxrc.
364 - Support wxAPPLY and wxCLOSE in CreateStdDialogButtonSizer() (Marcin Wojdyr).
365 - Show standard options in wxCmdLineParser usage message (Francesco Montorsi).
366 - Added wxRect::operator+ (union) and * (intersection) (bdonner).
367 - Added support for two auxiliary mouse buttons to wxMouseEvent (Chris Weiland).
368 - Added wxToolTip::SetAutoPop() and SetReshow() (Jan Knepper).
369 - Added wxTaskBarIcon::Destroy().
370 - Added XRC handler for wxSearchCtrl (Sander Berents).
371 - Read image resolution from TIFF, JPEG and BMP images (Maycon Aparecido Gasoto).
372 - Add support for reading alpha data from TIFF images.
373 - Added wxSYS_DCLICK_TIME system metric constant (Arne Steinarson).
374 - Added wxApp::Get/SetAppDisplayName() (Brian A. Vanderburg II).
375 - Added wxWindow::GetPopupMenuSelectionFromUser() (Arne Steinarson).
376 - Implemented wxTreeCtrl::GetPrevVisible() in the generic version and made the
377 behaviour of GetNextSibling() consistent between wxMSW and generic versions.
378 - Merged wxRichTextAttr and wxTextAttrEx into wxTextAttr, and added a font table
379 to wxRichTextBuffer to reduce wxFont consumption and increase performance.
380 - Optimize wxGenericTreeCtrl::Collapse/ExpandAllChildren()
381 (Szczepan Holyszewski).
382 - Added <scrollrate> parameter to wxScrolledWindow XRC handler.
383 - Added support for automatic dialog scrolling, via the new
384 wxDialogLayoutAdapter class and various new wxDialog functions. See the
385 topic "Automatic Scrolling Dialogs" in the manual for further details.
386 - Added support for resizing wxWizard bitmaps to the current page height,
387 via SetBitmapPlacement, SetBitmapBackgroundColour and SetMinimumBitmapWidth.
388 Also made it easier to derive from wxWizard and override behaviour.
389 - Made wxSizer::Fit() set the client size of the target window
390 - Add support for wxDatePickerCtrl in wxGenericValidator (Herry Ayen Yang)
391 - Added wxWindow::HasFocus().
392 - Added wxGLCanvas::IsDisplaySupported().
393 - Added wxApp::SetNativeTheme() (Stefan H.).
394 - Made wxSpinCtrl::Reparent() in MSW and generic versions (Angelo Mottola).
395 - Freeze() and Thaw() now recursively freeze/thaw the children too.
396 - Generalized wxScrolledWindow into wxScrolled<T> template that can derive
397 from any window class, not just wxPanel.
398 - Allow having menu separators with ids != wxID_SEPARATOR (Jeff Tupper)
399 - Fix appending items to sorted wxComboCtrl after creation (Jaakko Salli)
400 - Don't blit area larger than necessary in wxBufferedDC::UnMask (Liang Jian)
401 - Fixed wxPixelData<wxImage> compilation (Leonardo Fernandes).
402 - Added wxImage::GetType() (troelsk).
403 - Added wxGenericStaticBitmap suitable for display of large bitmaps.
404 - Support wxListCtrl::GetViewRect() in report view too.
405 - Implement wxListCtrl::GetSubItemRect() in generic version (David Barnard).
406 - Added wxVListBox::GetItemRect() (Javier Urien).
407 - Show busy cursor in wxLaunchDefaultBrowser and add wxBROWSER_NOBUSYCURSOR.
408 - Added wxFlexGridSizer::Is{Row,Col}Growable() (Marcin Wojdyr).
409 - Added "enabled" and "hidden" attributes to radio box items in XRC.
410 - wxWindow::IsBeingDeleted() now returns true not only if the window itself is
411 marked for destruction but also if any of its parent windows are.
412 - Improved drawing of the hint during column move in wxGrid (Santo Pfingsten).
413 - Add wxGridSelectRowsOrColumns selection mode to wxGrid.
414 - Get/HasModifiers() of wxKeyEvent are now also available in wxMouseEvent.
415
416 wxGTK:
417
418 - Support for markup and ellipsization in wxStaticText (Francesco Montorsi).
419 - Native implementation for wxHyperlinkCtrl (Francesco Montorsi).
420 - Native keyboard navigation implementation.
421 - Added wxCB_SORT support to wxComboBox (Evgeniy Tarassov).
422 - Don't overwrite primary selection with clipboard and vice versa.
423 - Implemented support for underlined fonts in wxStaticText.
424 - wxTopLevelWindow::SetSizeHints size increments now work.
425 - wxTopLevelWindow::GetSize() returns the size including the WM decorations.
426 - wxTopLevelWindow::GetClientSize() returns 0x0 when the window is minimized.
427 - Added support for colour cursors (Pascal Monasse).
428 - Pass current control text to EVT_TEXT handler for wxSpinCtrl (John Ratliff).
429 - Added gtk.tlw.can-set-transparency system option.
430 - Added support for GTK+ print backend
431 - Fix changing font/colour of label in buttons with images (Marcin Wojdyr).
432 - Fix wxDC::Blit() support for user scale and source offset (Marcin Wojdyr).
433
434 wxMac:
435
436 - Better IconRef support (Alan Shouls).
437 - Fix duplicate (empty) help menu in non-English programs (Andreas Jacobs).
438 - Allow accelerators to be used with buttons too (Ryan Wilcox).
439 - Support resource forks in wxCopyFile() (Hank Schultz).
440 - Implement wxLocale::GetInfo() using CFLocale.
441 - Native wxCollapsiblePane implementation.
442
443 wxMSW:
444
445 - Fixed infinite loop in wxThread::Wait() in console applications.
446 - Return the restored window size from GetSize() when window is minimized.
447 - wxCheckListBox now looks more native, especially under XP (Marcin Malich).
448 - Allow tooltips longer than 64 (up to 128) characters in wxTaskBarIcon
449 - Fix centering wxFileDialog and allow positioning it.
450 - Allow centering wxMessageDialog on its parent window (troelsk).
451 - Use vertical scrollbar in wxMessageDialog if it's too big to fit on screen.
452 - Show resize gripper on resizeable dialogs (Kolya Kosenko).
453 - Implement support for display enumeration under WinCE (Vince Harron).
454 - Use different Win32 class names in different wx instances (Thomas Hauk).
455 - Support multiline labels for wxCheckBox and wxToggleButton.
456 - Print preview is now rendered in the resolution used by printer and
457 accurately represents what will be printed. This fixes wxHtmlEasyPrinting
458 preview inaccuracies on Windows; on other platforms, native preview
459 should be used.
460
461 wxX11:
462
463 - Added mouse wheel support (David Hart).
464 - Make Enter key activate the default button (David Hart).
465
466 wxDFB:
467
468 - Implement wxBitmap ctor from XBM data.
469
470
471 2.8.9
472 -----
473
474 All:
475
476 - Optimize wxString::Replace() for single character arguments.
477 - Updated Hindi translation (Priyank Bolia).
478 - Use tr1::unordered_{map,set} for wxHash{Map,Set} implementation if available
479 in STL build; in particular do not use deprecated hash_{map,set} which
480 results in a lot of warnings from newer g++ (Jan Van Dijk and Pete Stieber).
481
482 All (GUI):
483
484 - Added support for reading alpha channel in BMP format (Kevin Wright).
485 - Fixed help viewer bug whereby the splitter sash in wxHtmlHelpWindow could
486 go underneath the left-hand pane, permanently, after resizing the
487 help window.
488 - Fixed wxHTML default font size for printing to be 12pt regardless of the
489 platform, instead of depending on GUI toolkit's screen configuration.
490 - Support wxDP_ALLOWNONE style in generic wxDatePickerCtrl version.
491 - Set wxKeyEvent::m_uniChar correctly in the events generated by generic
492 wxListCtrl (Mikkel S).
493 - Fix changing size of merged cells in wxGrid (Laurent Humbertclaude).
494 - Fixed wrapping bug in wxRichTextCtrl when there were images present;
495 now sets the cursor to the next line after pressing Shift+Enter.
496 - Fixed Cmd+Back, Cmd+Del word deletion behaviour in wxRichTextCtrl.
497 - Fix crash when reading malformed PCX images.
498 - Fix bug with wrong transparency in GIF animations (troelsk).
499 - Store palette information for XPM images in wxImage (troelsk).
500 - Fixed selection bugs and auto list numbering in wxRichTextCtrl.
501 - Significantly optimize wxGrid::BlockToDeviceRect() for large grids (kjones).
502 - Introduced new wxAuiToolBar class for better integration and look-and-feel.
503 - Fix a crash in wxAuiFrameManager when Update() was called in between mouse-up
504 and mouse-down events
505 - wxAUI: added various NULL-ptr asserts.
506 - Fixed problem with Floatable(false) not working in wxAuiFrameManager.
507 - Fixed maximize bug in wxAUI.
508 - Allow period in link anchors in wxHTML.
509 - Fixed memory corruption in wxHTML when parsing "&;" in the markup.
510 - Fixed event type in EVT_GRID_CMD_COL_MOVE and EVT_GRID_COL_MOVE.
511 - wxGrid doesn't steal focus when hiding editor any more (Tom Eckert).
512
513 All (Unix):
514
515 - MIME types reading fixed when running under GNOME, reading .desktop
516 files and also the default application list.
517 - Added filesys.no-mimetypesmanager system option so that applications that
518 must load an XRC file at program startup don't have to incur the
519 mime types manager initialization penalty.
520
521 wxMSW:
522
523 - Potentially incompatible change: wxExecute() arguments are now quoted if they
524 contain spaces and existing quotes are escaped with a backslash. However, to
525 preserve compatibility, the argument is unchanged if it is already quoted.
526 Notice that this behaviour will change in wxWidgets 3.0 where all arguments
527 will be quoted, please update your code now if you are affected and use only
528 wxWidgets 2.8.9 or later.
529 - Fix keyboard support in wxSpinCtrl broken in 2.8.8.
530 - Compile fix for WinCE in window.cpp (no VkKeyScan in Windows CE).
531 - Support disabling items before adding them to the menu (Christian Walther).
532 - Allow to call SetFont(wxNullFont) to reset the font to default.
533 - Implement UUID::operator==() and !=() (SQLAware Corporation).
534 - Fixed long standing (introduced in 2.6.3) bug which resulted in always
535 creating a DIB and not DDB in wxBitmap(const wxImage&) ctor.
536 - Fix the bug with wxFileDialog not being shown at all if the default file name
537 was invalid.
538 - Fix hang in keyboard navigation code with radio buttons under Windows 2000.
539 - Implement wxWinINetInputStream::GetSize() (spicerno).
540 - Always copy "has alpha" flag when copying bitmaps (SQLAware Corporation).
541
542 wxGTK:
543
544 - Fixed masking of disabled bitmaps in wxMenuItem and wxStaticBitmap.
545 - Fixed generation of events for an initially empty wxDirPickerCtrl.
546 - Fixed detection of Meta key state so that NumLock isn't misdetected
547 as Meta (requires GTK+ 2.10).
548 - Fix changing font/colour of label in buttons with images (Marcin Wojdyr).
549
550 wxMac:
551
552 - Fixed a glitch where clicking on a scrollbar (but not moving the scrollbar)
553 would cause the window to scroll.
554
555
556 2.8.8
557 -----
558
559 All:
560
561 - Fixed bug with parsing some dates in wxDateTime (Bob Pesner).
562 - Fixed bug with parsing negative time zones in wxDateTime::ParseRfc822Date().
563 - Initialize current line in wxTextBuffer ctor (Suzuki Masahiro).
564 - Improved performance of XML parsing (Francesco Montorsi).
565 - Fix wxDateTime::ParseRfc822Date() to handle missing seconds (Joe Nader).
566
567 All (GUI):
568
569 - Added wxWindow::GetNextSibling() and GetPrevSibling().
570 - Support wxGRID_AUTOSIZE in wxGrid::SetRow/ColLabelSize() (Evgeniy Tarassov).
571 - Ensure that wxGrid::AutoSizeColumn/Row() never sets column/row size
572 smaller than the minimal size.
573 - Added <scrollrate> parameter to wxScrolledWindow XRC handler.
574 - wxRichTextCtrl performance has been improved considerably.
575 - Several wxRichTextCtrl style, paste and undo bugs fixed.
576 - Added wxRichTextCtrl superscript and subscript support (Knut Petter Lehre).
577 - wxNotebook RTTI corrected, so now wxDynamicCast(notebook, wxBookCtrlBase)
578 works.
579 - When focus is set to wxScrolledWindow child, scroll it into view.
580 - Improve wximage::ResampleBox() (Mihai Ciocarlie).
581 - Implemented ScrollList() in generic wxListCtrl (Tim Kosse).
582 - SaveAs in docview takes into account path now.
583 - Fixed wxXmlResource::GetText() to convert data to current locale's
584 charset in ANSI build.
585 - wxGrid now indicates focus by using different colour for selection
586 and hiding cell cursor when it doesn't have focus.
587 - Added alpha support to wxImage::Paste() (Steven Van Ingelgem)
588 - Use current date when opening popup in generic wxDatePickerCtrl.
589 - Remove associated help text from wxHelpProvider when a window is destroyed.
590 - Added wxSizerFlags::ReserveSpaceEvenIfHidden() and
591 wxRESERVE_SPACE_EVEN_IF_HIDDEN sizer flag.
592 - Added wxWindow::ClientToWindowSize() and WindowToClientSize() helpers.
593 - Added wxSizer::ComputeFittingClientSize() and ComputeFittingWindowSize().
594 - Fixed wxSizer::SetSizeHints() to work when the best size decreases.
595 - Fixed crash in wxHtmlHelpController if the help window is still open.
596 - Fixed generic art provider to scale bitmaps down to client-specific
597 best size if needed.
598 - Made wxSpinCtrl::Reparent() in MSW and generic versions (Angelo Mottola).
599 - Fixed timing of malformed animated GIFs in wxHTML (Gennady Feller).
600 - Fixed incorrect layout width caching in wxHTML (Jeff Tupper).
601 - wxHTML: preserve TAB characters when copying <pre> content to clipboard.
602 - Set focus to wxCalendarCtrl when it is clicked.
603 - Don't clear the list control when wxLC_[HV]RULES style is toggled.
604 - Don't crash when Ctrl-Shift-T is pressed in empty wxStyledTextControl.
605
606 All (Unix):
607
608 - Fixed shared libraries to not depend on GStreamer when built with
609 --enable-media; only wxMedia library depends on it now.
610 - wxLaunchDefaultBrowser() now uses xdg-open if available.
611 - Don't close UDP socket if an empty datagram is received (Mikkel S)
612 - Honour locale modifiers such a "@valencia" in system locale (Tim Kosse)
613
614 wxMSW:
615
616 - Fix rare bug with messages delivered to wrong wxSocket (Tim Kosse).
617 - Fix setting icons when they have non-default (16*16 and 32*32) sizes.
618 - Fixed wxLocale::GetInfo to use the C locale.
619 - Don't enable disabled windows when showing them (Harry McKame).
620 - Fix assert when using owner-drawn menu items with the newest (Vista) SDK.
621 - Fixed wxTextCtrl to not process clipboard events twice if there's
622 a custom wxEVT_COMMAND_TEXT_* event handler.
623 - Fix wxComboBox to not lose the current value if it was programmatically set
624 to a value not in a list of choices on popup close (Kolya Kosenko)
625 - Switching wxListCtrl to report mode from another one now uses full row
626 highlight, just as if the control were created in report mode initially.
627 - Use correct index of the right-clicked column in wxListCtrl in the
628 corresponding event even when the control is scrolled horizontally.
629 - Implement wxRadioBox::Reparent() correctly (Vince Harron).
630 - Make context sensitive help work for the text part of wxSpinCtrl.
631 - wxFileType::GetCommand() now looks at Explorer associations and CurVer
632 for increased reliability and conformance to user expectations.
633 - Fixed double Init() call in wxTopLevelWindow causing a memory leak on
634 SmartPhone.
635 - Fixed rendering of borders for wxTextCtrl with wxTE_RICH(2) style when
636 using Windows XP's Classic UI theme.
637 - Text controls with wxTE_RICH style now also generate wxClipboardTextEvents.
638 - Fixed wxEVT_COMMAND_TEXT_ENTER generation in wxSpinCtrl.
639 - Fixed wxSpinCtrl::GetClientSize() to return sensible value and not just
640 spin button's client size.
641 - Fixed IMPLEMENT_APP() to be compatible with the -WU flag of Borland C++
642 compiler (Matthias Bohm).
643 - Correct size calculation for toolbars containing controls under pre-XP
644 systems (Gerald Giese)
645
646 wxGTK:
647
648 - Return false from wxEventLoop::Dispatch() if gtk_main_quit() was called and
649 so the loop should exit (Rodolfo Schulz de Lima).
650 - Implement wxListBox::EnsureVisible() (Andreas Kling)
651 - Fixed wxCURSOR_HAND to map to GDK_HAND2 and not GDK_HAND1, for consistency
652 with other applications.
653 - Fix wxNotebook::GetPage{Text,Image}() when they were called from the page
654 change event handler for the first added page (Mikkel S).
655 - Fixed wxBitmapButton to use focus and hover bitmaps correctly.
656 - Fixed race condition which could cause idle processing to stop without
657 processing all pending events.
658 - wxAcceleratorTable now works with buttons too.
659
660 wxMac:
661
662 - Fixed cursor for wxBusyCursor and wxContextHelp.
663 - Fixed wxListCtrl to respect items' non-default fonts.
664 - wxListCtrl::SetColumnWidth() now supports wxLIST_AUTOSIZE.
665 - Fixed handling of transparent background in borderless wxBitmapButton.
666
667
668 2.8.7
669 -----
670
671 All:
672
673 - Fixed bug with default proxy destruction in wxURL (Axel Gembe).
674
675 wxMSW:
676
677 - Correct (harmless) warnings given for forward-declared DLL-exported classes
678 by mingw32 4.2 (Tim Stahlhut).
679
680 wxGTK:
681
682 - Added gtk.window.force-background-colour wxSystemOptions option to work around
683 a background colour bug in the gtk-qt theme under KDE.
684 - Implemented wxGetClientDisplayRect() correctly for wxGTK and X11-based ports.
685
686
687 2.8.6
688 -----
689
690 All:
691
692 - Fixed another bug in wxFileConfig when deleting entries (Axel Gembe)
693 - Added Portuguese translation (Antonio Cardoso Martins)
694
695
696 2.8.5
697 -----
698
699 All (GUI):
700
701 - Added colour normalization to PNM image handler (Ray Johnston)
702 - Fixed selecting part of word from right to left in wxHTML (Michael Hieke)
703 - Selecting text in wxHTML with character precision was made easier, it's
704 enough to select half of a character (Michael Hieke)
705 - Significantly improved startup times of XRC-based applications using
706 embedded resources on Unix (requires resources recompilation)
707 - Fixed freeing of "static" alpha data in wxImage (Axel Gembe)
708 - Don't invalidate the font in SetNativeFontInfo[Desc]() if the string is
709 invalid, to conform to the documented behaviour (Langhammer)
710 - Fixed wxXPMHandler::SaveFile for images with more than 92 colors.
711
712 wxMSW:
713
714 - Correct problem with page setup dialog when using landscape mode
715 - Added msw.font.no-proof-quality system option, see manual for description
716 - Fix appearance of notebook with non-top tabs under Windows Vista
717 - Fixed bug with symbol resolving in wxStackWalker (Axel Gembe)
718 - Fixed showing busy cursor for disabled windows and during wxExecute()
719 - Set the string of wxEVT_COMMAND_CHECKLISTBOX_TOGGLED events (Luca Cappa)
720 - Fix problems with timers on SMP machines in wxAnimationCtrl (Gennady)
721
722 wxGTK:
723
724 - Setting foreground colour of single line wxTextCtrl now works
725 - More work on setting defaults in GNOME print dialogs.
726 - Also made landscape printing work as per wxMSW.
727 - Add support for clipping in GNOME print backend.
728 - Speed up wxBitmap::Rescale()
729 - Add right button event for wxToolbar's tools (Tim Kosse)
730 - Don't unconditionally add wxCAPTION style to wxMiniFrame
731 - Generate wxEVT_COMMAND_LIST_END_LABEL_EDIT event even if label didn't change
732 - Fix WX_GL_STEREO attribute handling (Tristan Mehamli)
733 - Fix wxThread::SetPriority() when the thread is running (Christos Gourdoupis)
734 - Fixed off by 1 bug in wxDC::GradientFillLinear() (Tim Kosse)
735
736
737 2.8.4
738 -----
739
740 All:
741
742 - Fix bug in wxFileConfig when recreating a group (Steven Van Ingelgem)
743 - Fix wxStringOutputStream::Write() in Unicode build when the argument
744 overlaps UTF-8 characters boundary
745 - Account for lines without newline at the end in wxExecute()
746
747 All (Unix):
748
749 - Handle socket shutdown by the peer correctly in wxSocket (Tim Kosse)
750
751 All (GUI):
752
753 - Allow status bar children in XRC (Edmunt Pienkowski)
754 - Fix memory leak in wxWizard when not using sizers for the page layout
755 - Added wxListCtrl::SetItemPtrData()
756 - wxHTML: Apply table background colour between the cells too (Michael Hieke)
757
758 wxMSW:
759
760 - Corrected wxStaticBox label appearance when its foreground colour was set:
761 it didn't respect font size nor background colour then (Juan Antonio Ortega)
762 - Don't lose combobox text when it's opened and closed (Kolya Kosenko)
763 - Corrected GetChecked() for events from checkable menu items (smanders)
764 - Fixed popup menus under Windows NT 4
765 - Fixed bug in wxThread::Wait() in console applications introduced in 2.8.3
766 - Support right-aligned/centered owner drawn items in wxListCtrl (troelsk)
767 - Compilation fixed with WXWIN_COMPATIBILITY_2_6==0
768 - Fix wxComboCtrl colours under Windows Vista (Kolya Kosenko)
769
770 wxGTK:
771
772 - Fix infinite loop when adding a wxStaticText control to a toolbar
773 - Fix wxNO_BORDER style for wxRadioBox (David Hart)
774 - Fix wxTextCtrl::GetLineText() for empty lines (Marcin Wojdyr)
775
776 wxMac:
777
778 - Fix wxComboBox::SetSelection(wxNOT_FOUND) (Adrian Secord)
779
780 wxUniv:
781
782 - Fix wxTextCtrl::SetSelection(-1, -1) to behave as documented (Anders Larsen)
783 - Fix wxComboBox::SetSelection(wxNOT_FOUND)
784 - Fix setting background colour for controls with transparent background
785
786
787 2.8.3
788 -----
789
790 All:
791
792 - Shut down the sockets gracefully (Sergio Aguayo)
793 - Fix extra indentation in wxHTML_ALIGN_JUSTIFY display (Chacal)
794
795 wxMac:
796
797 - Corrected top border size for wxStaticBox with empty label (nusi)
798
799 wxMSW:
800
801 - Fixed wxFileName::GetSize() for large files
802
803 wxGTK:
804
805 - Fixed handling of accelerators using PageUp/Down keys
806
807
808 2.8.2
809 -----
810
811 All:
812
813 - Added wxSizerFlags::Shaped() and FixedMinSize() methods.
814 - Added wxCSConv::IsOk() (Manuel Martin).
815 - Added wxDateTime::GetDateOnly().
816 - Made wxTextFile work with unseekable files again (David Hart).
817 - Added wxCONFIG_USE_SUBDIR flag to wxFileConfig (Giuseppe Bilotta).
818 - Added wxSearchCtrl::[Get|Set]DescriptiveText.
819 - Fixed detection of number of processors under Linux 2.6
820 - Fixed Base64 computation in wxHTTP (p_michalczyk)
821 - Fix handling of wxSOCKET_REUSEADDR in wxDatagramSocket (troelsk)
822
823 Unix Ports:
824
825 - Fixed crash in wxGetUserName() in Unicode build
826
827 wxMSW
828
829 - Fix lack of spin control update event when control lost focus.
830 - Corrected drawing of bitmaps for disabled menu items.
831
832 wxGTK
833
834 - Fix hang on startup when using GTK+ options in Unicode build
835
836 wxMac
837
838 - Fix position of the centered windows (didn't take menu bar size into account)
839 - Added support for the wxFRAME_FLOAT_ON_PARENT style.
840
841 wxX11:
842
843 - Don't crash in wxWindow dtor if the window hadn't been really Create()d.
844
845 wxUniv:
846
847 - Fixed wxComboBox always sorted.
848
849
850 2.8.1
851 -----
852
853 All:
854
855 - Fix compilation with wxUSE_STL=1.
856 - wxGrid::GetBestSize() returns same size the grid would have after AutoSize().
857 - Added wxTreeCtrl::CollapseAll[Children]() and IsEmpty() (Francesco Montorsi).
858 - Several RTL-related positioning fixes (Diaa Sami).
859 - Fix wxConfig::DeleteGroup() for arguments with trailing slash (David Hart).
860 - Fix memory leak in wxGrid::ShowCellEditControl() (Christian Sturmlechner).
861
862 wxMSW:
863
864 - Fixed compilation with Borland C++ in Unicode mode but without MSLU.
865 - Show taskbar icon menu on right button release, not press.
866
867 wxGTK:
868
869 - Don't crash if command line is not valid UTF-8 (Unicode build only).
870
871 wxUniv:
872
873 - It is now possible to set background colour of wxStaticText.
874
875
876 2.8.0
877 -----
878
879 All:
880
881 - Added wxSearchCtrl (Vince Harron).
882 - wxCSConv("UTF-16/32") now behaves correctly, i.e. same as wxMBConvUTF16/32.
883 - wxArrayString::Alloc() now works as reserve() and doesn't clear array contents.
884 - Fixed long standing bug in wxFileConfig groups renaming (Antti Koivisto).
885 - New option wxFS_READ | wxFS_SEEKABLE for wxFileSystem::OpenFile() to return
886 a stream that is seekable.
887 - Fixed bug in wxCalendarCtrl::HitTest() when clicking on month change arrows.
888 - Added wxWindow::GetWindowBorderSize() and corrected wxTreeCtrl::GetBestSize().
889 for a control with borders (Tim Kosse).
890
891 wxMSW:
892
893 - Fixed version script problems when using configure with cygwin/mingw32.
894 - Use system default paper size for printing instead of A4.
895 - Fix (harmless) assert in virtual list control under Vista.
896 - Fix colours when converting wxBitmap with alpha to wxImage (nusi).
897
898 wxGTK:
899
900 - Allow dynamically changing most of text control styles.
901 - Enable use of libgnomeprintui by default in configure.
902
903
904 2.7.2
905 -----
906
907 All:
908
909 - Added wxFFile overload to wxFileName::CreateTemporaryFileName().
910 - Added GetTempDir() to wxFileName and wxStandardPaths.
911 - Added wxTar streams.
912 - Added wxFilterFSHandler and wxArchiveFSHandler.
913 - Added wxString::ToLongLong() and ToULongLong().
914
915 All (GUI):
916
917 - wxMemoryDC constructor now optionally accepts a wxBitmap parameter,
918 calling SelectObject itself if a valid bitmap is passed.
919 - Reverted wxBuffered[Paint]DC to pre 2.7.1 state, added
920 wxAutoBufferedPaintDC and wxAutoBufferedPaintDCFactory.
921 - Renamed wxProgressDialog::UpdatePulse() to just Pulse().
922 - Added wxCollapsiblePane (Francesco Montorsi).
923 - Added wxSimpleHtmlListBox (Francesco Montorsi).
924 - Printing framework fixes by Robert J. Lang. Bugs fixed,
925 wxPrinterDC::GetPaperRect() and other functions added to allow
926 easier printing implementation, and the documentation updated.
927 - Many enhancements to wxRichTextCtrl including URL support,
928 formatting and symbol dialogs, print/preview, and better list
929 formatting.
930 - Support for loading TGA files added (Seth Jackson).
931 - Added wxTB_RIGHT style for right-aligned toolbars (Igor Korot).
932 - wxHtmlWindow now generates events on link clicks (Francesco Montorsi).
933 - wxHtmlWindow now also generates wxEVT_COMMAND_TEXT_COPY event.
934
935 Unix Ports:
936
937 - Added autopackage for wxGTK and an example of using autopackage for a wx
938 program (Francesco Montorsi).
939
940 wxGTK:
941
942 - More RTL work.
943 - Support wxALWAYS_SHOW_SB.
944 - Speed up MIME types loading. Only the GNOME database should be loaded under
945 GNOME etc. For this, the code queries the X11 session protocol.
946 - wxCaret redraw problem during scrolling fixed.
947
948
949 2.7.1
950 -----
951
952 All:
953
954 - Added wxDir::FindFirst() (Francesco Montorsi).
955 - Added wxPlatformInfo class (Francesco Montorsi).
956 - Added wxLocale::IsAvailable() (Creighton).
957 - Added Malay translations (Mahrazi Mohd Kamal).
958 - Added reference counting for wxVariant.
959 - For consistency, all classes having Ok() method now also have IsOk() one, use
960 of the latter form is preferred although the former hasn't been deprecated yet.
961 - Added wxFileName::Is(Dir|File)(Writ|Read|Execut)able() (Francesco Montorsi).
962 - Added wxFileName::GetSize() and GetHumanReadableSize() (Francesco Montorsi).
963 - Added wxSizer::Replace (Francesco Montorsi).
964 - wxXmlDocument can now optionally preserve whitespace (Francesco Montorsi).
965 - Added wxBookCtrl::ChangeSelection() and wxTextCtrl::ChangeValue() to provide
966 event-free alternatives to SetSelection() and SetValue() functions; see the
967 "Events generated by the user vs programmatically generated events" paragraph
968 in the "Event handling overview" topic for more info.
969
970 All (GUI):
971
972 - Support for right-to-left text layout (started by Diaa Sami during Google Summer of
973 Code, with a lot of help from Tim Kosse and others).
974 - wxAnimationCtrl added (Francesco Montorsi).
975 - Added wxAboutBox() function for displaying the standard about dialog.
976 - Added wxID_PAGE_SETUP standard id.
977 - Added wxSize::IncBy() and DecBy() methods.
978 - Added wxTextCtrl::IsEmpty().
979 - Added file type parameter to wxTextCtrl::LoadFile, wxTextCtrl::SaveFile for
980 consistency with wxRichTextCtrl.
981 - wxRichTextCtrl: fixed range out-by-one bug to be consistent with wxTextCtrl API,
982 fixed some attribute bugs and added wxRichTextStyleComboCtrl.
983 - Added wxWindow::IsDoubleBuffered().
984 - Added wxHL_ALIGN_* flags to wxHyperlinkCtrl (Francesco Montorsi).
985 - Added wxGauge::Pulse() and wxProgressDialog::UpdatePulse() (Francesco Montorsi).
986
987 wxMSW:
988
989 - Implemented wxComboBox::SetEditable().
990 - wxSemaphore::Post() returns wxSEMA_OVERFLOW as documented (Christian Walther)
991 - Fixed a bug whereby static controls didn't use the correct text colour if the
992 parent's background colour had been set (most noticeable when switching to a
993 high-contrast theme).
994 - Respect wxBU_EXACTFIT style in wxToggleButton (Alexander Borovsky).
995
996 wxMac:
997
998 - Add parameter to the --enable-universal_binary configure option for the path
999 to the SDK.
1000
1001 wxGTK:
1002
1003 - Automatically use stock items for menu items with standard ids.
1004 - Setting cursor now works for all controls.
1005 - Implemented right-to-left support.
1006 - Implemented left indentation and tab stops support in wxTextCtrl (Tim Kosse).
1007 - Fixed wxHTML rendering of underlined text of multiple words (Mart Raudsepp).
1008
1009 wxUniv:
1010
1011 - Added wxTLW::UseNativeDecorations() and UseNativeDecorationsByDefault().
1012
1013
1014 2.7.0
1015 -----
1016
1017 All:
1018
1019 - Added positional parameters support to wxVsnprintf() (Francesco Montorsi).
1020 - wx(F)File, wxTextFile and wxInputStreams recognize Unicode BOM now.
1021 - Many fixes for UTF-16/32 handling in Unicode builds.
1022 - wxLaunchDefaultBrowser() now supports wxBROWSER_NEW_WINDOW flag.
1023 - Added wxStandardPaths::GetResourcesDir() and GetLocalizedResourcesDir()
1024 - Added wxStandardPaths::GetDocumentsDir() (Ken Thomases).
1025 - Added wxStringTokenizer::GetLastDelimiter(); improved documentation.
1026 - Fixed wxTextFile in Unicode build.
1027 - Added possibility to specify dependencies for a wxModule.
1028 - Speed improvements to wxRegEx when matching is done in a loop such as
1029 during a search and replace.
1030 - Fix regerror and regfree name conficts when built-in regex and system regex
1031 are both used in the same program.
1032 - Basic authentication supported added to wxHTTP.
1033 - wxCondition::WaitTimeout() now returns correct value when timeout occurs.
1034 - Fixed occasional wxThread cleanup crash.
1035 - Bug in wxLogStream::DoLogString in Unicode builds fixed.
1036 - Added support for memo fields to wxODBC.
1037 - Fixed Unicode builds using SunPro compiler by defining__WCHAR_TYPE__.
1038 - wxFileName now also looks for TMPDIR on Unix.
1039 - Fixed build error in list.h with VC++ 2005.
1040 - Fixed wxODBC buffer overflow problem in Unicode builds.
1041 - Fixed wxSocketBase::InterruptWait on wxBase.
1042 - Important code cleanup (Paul Cornett).
1043 - Added support for wxLongLong in wx stream classes (Mark Junker).
1044 - wxSOCKET_REUSEADDR can be used with wxSocketClient.
1045 - Overloaded Connect() and SetLocal() methods for binding to local address/port.
1046 - Albanian translation added (Besnik Bleta).
1047 - Assert messages now show the function in which assert failed.
1048 - wxApp::OnAssertFailure() should now be used instead the old wxApp::OnAssert().
1049 - Fixed several bugs in wxDateTime::ParseDate().
1050 - The WXK*PRIOR and WXK*NEXT constants are now aliases for WXK*PAGEUP
1051 and WXK*PAGEDOWN. If you have switch statements that use both
1052 constants from a set then you need to remove the PRIOR/NEXT
1053 versions in order to eliminate compiler errors.
1054 - Fixed bug where wxDateTime::Now() would sometimes return an incorrect value
1055 the first time it was called.
1056 - Added wxString::rbegin() and rend().
1057 - Added wxString::EndsWith().
1058 - wxSocket::_Read continues reading from socket after exhausting pushback buffer.
1059 Previously, only the buffer would be returned, even if more data was requested.
1060 - Added wxPowerEvent (currently MSW-only).
1061 - Make wx-config compatible with Bourne shells.
1062 - Fixed wxDb::Open(wxDbConnectInf) when using connection string (Hellwolf Misty).
1063 - Fixed crash in wxDb::Open() in Unicode build (Massimiliano Marretta).
1064 - Fixed wxTimeSpan::Format() for negative time spans.
1065 - Optionally count repeating wxLog messages instead of logging all (Lauri Nurmi).
1066
1067 All (GUI):
1068
1069 - New AUI (Advanced User Interface) library for docking windows and much more.
1070 - Added wxComboCtrl and wxOwnerDrawnComboBox (Jaakko Salli).
1071 - Added wxTreebook (uses a wxTreeCtrl to control pages).
1072 - Added wxColour/Dir/File/Font/PickerCtrls (Francesco Montorsi).
1073 - Added wxDC::GradientFillLinear/Concentric().
1074 - Added wxHyperlinkCtrl (Francesco Montorsi).
1075 - Added clipboard events (wxEVT_COMMAND_TEXT_COPY/CUT/PASTE).
1076 - Allow to reorder wxGrid columns by drag-and-drop (Santiago Palacios).
1077 - Added wxRadioBox::SetItemToolTip().
1078 - Added support for CMYK JPEG images loading (Robert Wruck).
1079 - Added wxListCtrl::GetSubItemRect() and subitem hit testing (Agron Selimaj).
1080 - Added wxKeyEvent::GetModifiers().
1081 - Added wxDialog::SetEscapeId().
1082 - wxItemContainerImmutable::FindString unified (affects wxRadioBox, wxListBox,
1083 wxComboBox and wxChoice).
1084 - wxWindow::Fit() now works correctly for frames and dialogs too.
1085 - Added access to the border size between pages and controller in book
1086 based controls (wxBookCtrlBase::Get/SetInternalBorder).
1087 - Added initial wxRichTextCtrl implementation.
1088 - All book based controls (notebook, treebook etc.) share now the same
1089 options for orientation (wxBK_TOP, wxBK_DEFAULT, ...) instead of duplicated
1090 wxLB_TOP, wxNB_TOP, wxCHB_TOP, wxTBK_TOP.
1091 - Added parent window parameter to wxHelpController constructor
1092 and added SetParentWindow/GetParentWindow.
1093 - wxMultiChoiceDialog uses now wxCheckListBox if possible, wxListBox if not.
1094 - Added wxBitmapButton::SetHoverBitmap().
1095 - Access to titles through Get/SetTitle is available now only for top level
1096 windows (wxDialog, wxFrame).
1097 - Fixed memory leak of pending events in wxEvtHandler.
1098 - Added wxRadioBox::IsItemEnabled/Shown().
1099 - Added space after list item number in wxHTML.
1100 - Implemented <sub> and <sup> handling in wxHTML (based on patch
1101 by Sandro Sigala).
1102 - Added caption parameter to wxGetFontFromUser and wxGetColourFromUser.
1103 - Added wxGetMouseState function.
1104 - Added wxHtmlHelpWindow, wxHtmlHelpDialog and wxHtmlModalHelp classes,
1105 allowing HTML help to be embedded in an application.
1106 - wxCalendarCtrl positioning and hit-testing fixes for dimensions other than
1107 best size.
1108 - wxCalendarCtrl colour schema changed and adjusted to system settings.
1109 - wxImage::Mirror() and GetSubBitmap() now support alpha (Mickey Rose).
1110 - More checking of image validity before loading into wxImage.
1111 - Added wxImage::ConvertToGreyscale.
1112 - Added ability to use templates with static event tables
1113 with BEGIN_EVENT_TABLE_TEMPLATEn() macros.
1114 - Added play, pause, and state change events to wxMediaCtrl.
1115 - Added double-buffering to wxVListBox and fixed a scrolling issue.
1116 - Added wxToolbook (uses a wxToolBar to control pages).
1117 - Added SetSheetStyle to wxPropertySheetDialog and allowed it to
1118 behave like a Mac OS X settings dialog.
1119 - Added <disabled> XRC tag for wxToolBar elements and <bg> for wxToolBar itself.
1120 - Fixed centering of top level windows on secondary displays.
1121 - Implemented wxDisplay::GetFromWindow() for platforms other than MSW.
1122 - UpdateUI handler can now show/hide the window too (Ronald Weiss).
1123 - More than one filter allowed in in wxDocTemplate filter.
1124 - Added wxListBox::HitTest().
1125 - Added wxDisplay::GetClientArea().
1126 - Indices and counts in wxControlWithItems derived API are unsigned.
1127 - Added support for links to wxHtmlListBox; use code has to override
1128 wxHtmlListBox::OnLinkClicked() to take advantage of it.
1129 - Added an easier to use wxMenu::AppendSubMenu().
1130 - wxString <-> wxColour conversions in wxColour class (Francesco Montorsi).
1131 - Fixed bug with ignoring blank lines in multiline wxGrid cell labels.
1132 - Added wxTextAttr::Merge() (Marcin Simonides).
1133 - Added wxTB_NO_TOOLTIPS style (Igor Korot).
1134 - Added wxGenericDirCtrl::CollapsePath() (Christian Buhtz).
1135 - Added wxTreeCtrl::ExpandAllChildren() (Christian Buhtz)
1136 - Fixed 64-bit issue in wxNotebook causing segfaults on Tru64 Unix.
1137 - Made it possible to associate context help to a region of a window.
1138 - Added support for tabs in wxRichTextCtrl (Ashish More).
1139 - Fixed problem with zoom setting in print preview.
1140 - Moved wxRichTextCtrl from the advanced library to its own.
1141 - wxNB_HITTEST_* flags renamed to wxBK_HITTEST_* to serve all book controls.
1142 - Added wxTopLevelWindow::SetTransparent and CanSetTransparent, with
1143 implementations (so far) for wxMSW and wxMac.
1144 - Allow customizing individual grid lines appearance (Søren Lassen).
1145 - Fixed middle click events generation in generic wxTreeCtrl (Olly Betts).
1146 - Added wxEVT_MOUSE_CAPTURE_LOST event that must be handled by all windows
1147 that CaptureMouse() is called on.
1148
1149 wxMSW:
1150
1151 - Fixed crash with ownerdrawn menu items accelerators (Perry Miller).
1152 - wxFileDialog respects absence of wxCHANGE_DIR flag under NT (Brad Anderson).
1153 - Switching page of a hidden notebook doesn't lose focus (Jamie Gadd).
1154 - Removed wxImageList *GetImageList(int) const.
1155 - Fixed MDI context menu problem.
1156 - Removed __WIN95__ define.
1157 - Create msw/rcdefs.h in setup.h's directory, which can be included by
1158 resource files. It containts platform/compiler specific defines (such as
1159 target cpu) which can be used in #ifs in .rc files.
1160 - Add support for Win64 manifests and VC++ 8 automatic manifests (see the
1161 wxMSW faq for details).
1162 - New TARGET_CPU=amd64 (or 'ia64') option for the makefile.vc files which
1163 puts 64-bit builds in their own directory and adds /machine:amd64 or ia64
1164 to the link command.
1165 - wxStatusBar::GetFieldRect now returns correct values under XP.
1166 - wxStatusBar no longer corrupts surrounding windows on resize.
1167 - Enable wxListCtrl in report mode to be able to use images in other
1168 columns, if ComCtl32 >= 470.
1169 - Fixed problem where using SetValue and wxTE_RICH2 would cause control to
1170 show.
1171 - Numpad special keys are now distinguished from normal keys.
1172 - Fixed GDI leak in wxStaticBitmap when setting images after
1173 initial construction.
1174 - Menu codes now stripped before measuring control labels.
1175 - MFC sample now compiles in Unicode mode.
1176 - Fixed SetScrollbar thumb size setting bug (set orientation before triggering
1177 events).
1178 - Fixed icon to cursor conversion problem for bitmaps with masks.
1179 - Fixed wxToolBar background colour problem for some video cards.
1180 - wxGenericDirCtrl now shows volume name.
1181 - Added XP theme support for DrawHeaderButton, DrawTreeItemButton.
1182 - Made the wxActiveXContainer class public and documentated.
1183 - Added a Windows Media Player 9/10 backend for wxMediaCtrl.
1184 - Multiline notebook tab label change now resizes the control
1185 correctly if an extra row is removed or added.
1186 - Fixed a crash when dismissing wxPrintDialog under VC++ 7.1.
1187 - Fixed out by one error in wxTextCtrl::GetStyle.
1188 - Fixed problem with getting input in universal/unicode build of wxMSW.
1189 - Link oleacc.lib conditionally.
1190 - Drag and drop now works inside static boxes.
1191 - Fall back to unthemed wxNotebook if specified orientation not available.
1192 - wxListCtrl and wxTreeCtrl now resize their standard font if the user
1193 changes the system font.
1194 - wxDisplay doesn't require multimon.h now and is enabled by default (Olly Betts).
1195 - Fixed wxChoice/wxComboBox slow appending and infinite recursion
1196 if its size is set within a paint handler (for example when embedded in a
1197 wxHtmlWindow). [Now reverted due to problems in W2K and below.]
1198 - wxDC::GetTextExtent() width calculation is more precise for italics fonts now.
1199 - Warning fixes for VC++ 5.0 (Igor Korot).
1200
1201 wxGTK:
1202
1203 - Fixed handling of font encoding in non-Unicode build
1204 - wxEVT_MENU_CLOSE and wxEVT_MENU_OPENED for popup menus are now generated.
1205 - Implemented wxCURSOR_BLANK support.
1206 - wxSlider generates all scroll events now and not only wxEVT_SCROLL_THUMBTRACK.
1207 - Fixed a host of bugs in wxMediaCtrl as well as added a GStreamer 0.10
1208 implementation.
1209 - Improved configure checks for GStreamer. You may also now specify
1210 --enable-gstreamer8 to force configure to check for GStreamer 0.8.
1211 - Fixed problem with choice editor in wxGrid whereby the editor
1212 lost focus when the combobox menu was shown.
1213 - Fixed focusing with mnemonic accelerator keys on wxStaticText which
1214 is now able to focus on wxComboBox and possibly other controls
1215 previously unable to be focused before.
1216 - Enabled mnemonics and the corresponding accelerator keys for
1217 wxStaticBox and wxRadioBox.
1218 - Fixed problem trying to print from a preview, whereby wrong printer
1219 class was used.
1220 - Worked around pango crashes in strncmp on Solaris 10.
1221 - Polygon and line drawing speeded up if there is no scaling.
1222 - Fixed problems with CJK input method.
1223 - Implemented ScrollLines/Pages() for all windows (Paul Cornett).
1224 - Support underlined fonts in wxTextCtrl.
1225 - Support all border styles; wxListBox honours the borders now.
1226 - wxWindow and wxScrolledWindow now generate line, page and thumb-release scroll events.
1227 - Added file preview support in file dialogs.
1228 - Implemented SetLineSize and GetLineSize for wxSlider.
1229
1230 wxMac:
1231
1232 - Fixed problem with clipboard support for custom data flavors.
1233 - Fixed focus handling for generic controls in carbon-cfm.
1234 - Fixed a printing crash bug, for example using File->Print and changing
1235 Popup from 'Copies & Pages' to e.g. 'Layout'.
1236 - Improved support for help and application menu items.
1237 - Added default implementations for wxTextCtrl::Replace and wxTextCtrl::Remove.
1238 - Added support for 10.4 context menu.
1239 - Added support for wxFRAME_EX_METAL and wxDIALOG_EX_METAL styles.
1240 - Added wxNotebook::HitTest support.
1241 - Corrected idle wake-up.
1242 - Corrected wxExecute.
1243 - Now makes use of full printer resolution.
1244 - Corrected CGImage handling in wxBitmap.
1245 - Now uses simple hide/show transition for top-level windows.
1246 - Uses reasonable temporary path for wxFileName::CreateTempFileName.
1247 - Added support for default key handling (escape, enter, command-period) even
1248 if there is no control on the frame or dialog that has the focus.
1249 - Fixed joystick bugs including a link error and a crash if no joysticks
1250 were found.
1251 - Removed an errorneous assertion from wxDir.
1252 - Uses CoreFoundation based and thread-safe implementation for message boxes
1253 under Mach-O.
1254 - wxBitmapButton is created as a content icon if wxBORDER_NONE is
1255 specified, otherwise as a bevel button.
1256 - Mouse event ids set correctly (fixing problems with Connect in particular).
1257 - Fixed wxZipInputStream read error on wxSocketInputStream which signals the
1258 end of file with an error.
1259 - Xcode wxWidgets and minimal sample project files updated to create Universal
1260 binaries.
1261 - Fix for setting wxMenuBar more than once.
1262 - wxListBox minimum size bug fixed.
1263 - Fixed wxNotebook off-by-one bug in HitTest.
1264 - Fixed joystick GetXMin/Max bug.
1265 - Fixed Unix domain socket problem in wxIPC.
1266 - Fixed non-detection of process termination on Intel Macs by
1267 polling for process termination in a separate thread.
1268
1269 wxCocoa:
1270
1271 - wxDirDialog is now native (Hiroyuki Nakamura).
1272
1273 wxWinCE:
1274
1275 - Pressing build-in joystick on WinCE phones fires wxEVT_JOY_BUTTON_DOWN event.
1276 - Native wxCheckListBox implementation.
1277 - All wxTopLevelWindows resizes accordingly to SIP visibility.
1278 - ::wxGetUserName() implemented.
1279 - wxDisplay enumeration support.
1280 - Fixed wxFileDialog breakage on WinCE due to incorrect structure size.
1281 - New wxSystemOption "wince.dialog.real-ok-cancel" to switch between WinCE
1282 guidelines with Ok-only dialogs and dialogs using wxButtons.
1283 - Checkable items in wxToolMenuBarTool supported.
1284 - Fixed date formatting and mktime.
1285 - Fixed getting standard folder paths on WinCE.
1286 - Support for backspace key on Smartphone.
1287 - Made both windows wxMediaCtrl Windows backends compilable with wxWinCE - it
1288 is recommended that you use wxMEDIABACKEND_WMP10 on this platform
1289 directly, however.
1290 - Added support for the context menu event (wxContextMenuEvent)
1291 and added platform-specific wxWindow::EnableContextMenu.
1292 - Fixed wxGenericFileDialog to work with WinCE.
1293 - Fixed compilation and menubar disappearance on Windows Mobile 5.
1294 - Fixed wxDatePickerCtrl usage.
1295
1296 wxUniv:
1297
1298 - Send wxEVT_SCROLL_XXX events from wxSlider (Danny Raynor).
1299 - Implemented wxToggleButton (David Bjorkevik).
1300 - Label in Toolbar tools implemented (Danny Raynor).
1301
1302 wxX11:
1303
1304 - Invisible text problem fixed.
1305 - Bitmap clipping with masks and scaling improved.
1306 - Fixed a crash bug in the generic timer.
1307 - Implemented child process termination notifications (David Björkevik)
1308
1309 Unix:
1310
1311 - NO_GCC_PRAGMA is not used any more, remove checks for it if you used it.
1312
1313 wxMGL:
1314
1315 - Fixed NUM_LOCK having no effect.
1316 - Fixed wxFileExists (affecting wxImage::LoadFile).
1317
1318
1319 2.6.2
1320 -----
1321
1322 All:
1323
1324 - Fixed wxScopeGuard to work with VC++, documented it.
1325 - Fixed proxy handling in wxURL.
1326 - Added wxEVT_MEDIA_LOADED event for wxMediaCtrl.
1327 - Added new methods to wxMediaCtrl (wxURI version of Load, ShowPlayerControls).
1328 - Added wxZipFSHandler::Cleanup() (Stas Sergeev).
1329 - Added wxImage::RotateHue() and RGB <-> HSV conversions (John Anderson).
1330 - Fixed compilation with IBM xlC compiler.
1331 - wxABI_VERSION, see 'Backward Compatibility' topic overview in the manual.
1332 - Added wxLongLong::ToDouble().
1333 - Added wxDateTime::[Make]FromTimezone(), fixed several TZ-related bugs.
1334 - Fixed bug in wxStreamBuffer::Read(wxStreamBuffer *) (Paul Cornett).
1335 - Fixed wxListbook and wxChoicebook internal layout.
1336
1337 All (GUI):
1338
1339 - Added wxStaticText::Wrap()
1340 - wxChoice and wxComboBox::GetSelection() now returns completed selection,
1341 added a new GetCurrentSelection() function having the old behaviour.
1342 - Added wxXmlResource::Unload().
1343 - Possibility of modeless wxWizard dialog (with presentation in sample).
1344 - Fixed a rare crash due to malformed HTML in wxHTML (Xavier Nodet).
1345 - Ctrl+mouse wheel changes zoom factor in print preview (Zbigniew Zagórski).
1346 - Cross-compile now supported for wxGTK, wxX11 and wxMotif.
1347 - Cygwin compilation of wxX11, wxGTK and wxMotif now supported.
1348 - Now reads "help" parameter for all windows (context help text).
1349 - wxWizard adapts to PDA-sized screens.
1350 - Unicode fixes for IPC and a new IPC sample (Jurgen Doornik).
1351
1352 wxMSW:
1353
1354 - wxMSW now builds with (beta of) MSVC 8 (a.k.a. 2005).
1355 - Separators are now correctly shown in the toolbars under Windows XP.
1356 - Fixed multiline tooltips handling.
1357 - Fixed wxSlider::GetSelEnd() (Atilim Cetin).
1358 - Fixed accelerators of menu items added to already attached submenus.
1359 - Position of wxEVT_MOUSEWHEEL events is now in client, not screen, coordinates.
1360 - Handle absence of wxListCtrl column image better (Zbigniew Zagórski).
1361 - Fixed asynchronous playback of large sound files in wxSound.
1362 - Added wxDynamicLibrary::GetSymbolAorW().
1363 - Fixed default size of wxStaticText controls with border being too small.
1364 - Fixed bugs with wxStatusBar positioning (with or withour sizers) (Jamie Gadd).
1365 - Mouse move events are now generated for all static controls (Jamie Gadd).
1366 - Fixed nested static box display and splitter sash on some themes (Jamie Gadd).
1367 - Made wxJoystick::GetProductName() more useful (John Ratliff).
1368 - Native spline drawing implementation (Wlodzimierz ABX Skiba).
1369
1370 wxGTK:
1371
1372 - ShowFullScreen() shows the window if it was still hidden (rpedroso).
1373 - Implemented wxTopLevelWindow::RequestUserAttention() (Mart Raudsepp).
1374 - Base library is now binary compatible when built with wxGTK and wxMotif.
1375 - wxTextCtrl::XYToPosition, PositionToXY and GetLineLength calls are now
1376 instantaneous in case of GTK 2.x multi-line controls (Mart Raudsepp).
1377 - Added support for left, centre and right text alignment attributes under
1378 GTK+2 multi-line text controls (Mart Raudsepp).
1379 - Various wxFont improvements for GTK 2.x builds (Mart Raudsepp).
1380 - Changed order of child deletion in window destructor and
1381 removed focus handlers to avoid spurious events (David Surovell).
1382 - Fixed domain socket handling.
1383
1384 wxMac:
1385
1386 - First implementation of native HIToolbar support.
1387 - Added text control context menu (ported from wxMSW).
1388 - More CoreGraphics implementation improvements.
1389 - Various text control bug fixes.
1390 - Automatic menu management improved.
1391 - Fixed crash when wxRadioButton is deleted from a group of radio buttons,
1392 due to dangling cycle pointers.
1393 - Native spline drawing implementation for CoreGraphics (Robert J. Lang).
1394 - Made wxDialog::IsModal meaning the same as other ports (true only when
1395 showing modally).
1396
1397 wxOS2
1398
1399 - Adjustments for building with Open Watcom C++.
1400
1401 wxUniv:
1402
1403 - Window creation now honours wxVSCROLL.
1404 - Standalone scrollbars generate events of correct type (Jochen Roemmler).
1405
1406 wxMotif:
1407
1408 - Base library is now binary compatible when built with wxGTK and wxMotif.
1409 - wxMotif can now display Japanese text under Japanese locale.
1410 - Fixed button size in common dialogs.
1411 - Made wxFileDialog translatable.
1412 - All top level windows should now have a border unless the wxNO_BORDER
1413 flag has been specified.
1414 - Improved wxNotebook support for sizers. It requires the wxNotebook to
1415 be created with a "sensible" initial width.
1416 - Made wxDialog::IsModal meaning the same as other ports (true only when
1417 showing modally).
1418
1419 wxMGL:
1420
1421 - Fixed crash on exit.
1422 - Fixed drawing problems when windows are resized.
1423
1424 wxX11:
1425
1426 - Various wxFont improvements for unicode builds (Mart Raudsepp).
1427
1428
1429 2.6.1
1430 -----
1431
1432 All:
1433
1434 - Added wxLaunchDefaultBrowser.
1435 - Added wxPLURAL() macro in addition to _() (Jonas Rydberg)
1436
1437 All (GUI):
1438
1439 - Fixed potential infinite loop when adjusting wxScrolledWindow scrollbars.
1440 - Radio in menus do not send menu event for selections of already selected item.
1441 - Fixed wrong positioning of marks and enumerations in lists of wxHTML.
1442 - wxImage::Rotate90 respects alpha channel.
1443 - Added wxEVT_SCROLL_CHANGED as synonym for wxEVT_SCROLL_ENDSCROLL.
1444 - Replaced artwork for some cursors, icons and toolbar buttons.
1445 - Fixed sizing problem in generic wxCalendarCtrl for short day abbreviations.
1446 - Fixed wxWindow::DoGetBestSize to keep original best size.
1447 - PNM now supports ASCII and raw grey formats.
1448 - wxGrid focus and edit key improvements.
1449
1450 wxMSW:
1451
1452 - Fixed erroneous selection of content in wxComboBox when within a wxStaticBox
1453 (checking for selection caused by WM_STYLECHANGED).
1454 - Added deferred positioning to wxRadioBox, wxSlider and wxSpinCtrl and thereby
1455 eliminated some refresh glitches when resizing.
1456 - Eliminated further refresh glitches caused by wxRadioBox (to nearby controls)
1457 by refreshing parent when the radio box moves.
1458 - Added ability set the system option "msw.staticbox.optimized-paint" to 0 to
1459 allow a panel to paint graphics around controls within a static box.
1460 - Refresh exposed areas when resizing, using WM_WINDOWPOSCHANGED.
1461 - Worked around an apparent bug in deferred window positioning (moving a
1462 window from (x, y) to (a, b) and back to (x, y) misses the last step) by
1463 checking window positions against corresponding sizer state, if any.
1464 - A control's text colour now reflects the system colour setting.
1465 - Fixed wxFileName::GetLongPath() to behave correctly during the first call too.
1466 - Fixed alpha blitting to take into account source position.
1467 - Setting foreground colour for wxCheckBox now works when using XP themes too.
1468 - wxStaticBox label can use custom foreground colour.
1469 - Now uses newer font MS Shell Dlg 2 if possible.
1470 - Compiles again with WIN64.
1471 - Winelib compilation now works.
1472 - When converting a wxIcon to a bitmap check if the icon has an alpha
1473 channel and set the bitmap to use it.
1474 - wxSlider now also sends wxEVT_SCROLL_CHANGED when using mouse wheel
1475 - Miscellaneous wxMediaCtrl improvements.
1476 - wxTopLevelWindow::ShowFullScreen logic error fixed.
1477 - Fixed wxScrollBar background colour bug.
1478 - Fixed problems with paper sizes being ignored.
1479 - wxNotebook refresh problem fixed.
1480 - DDE fixed for Unicode.
1481 - Fixed ownerdrawn multiline buttons.
1482 - wxCheckListBox item background fixed.
1483 - Fixed error when trying to read a value from key not accessible for writing.
1484 - Fixed keyboard cue visibility issues under Windows 2000/XP
1485
1486 wxWinCE:
1487
1488 - Fixed wxFileName::CreateTempFileName.
1489
1490 wxGTK:
1491
1492 - Added support for wxSTAY_ON_TOP (GTK 2.4+).
1493 - Fixed wxTextCtrl::SetStyle for overlapping calls.
1494 - Fixed scrollbar border colour.
1495 - Added bitmap support in menus.
1496
1497 wxMac:
1498
1499 - Added support for launching 'APPL' bundles with wxExecute (usually they have a
1500 .app extension and are the ones that reside in the Applications folder).
1501 - Fixed a bug in wxGetKeyState where shift and some other keys were returning an
1502 incorrect state.
1503 - Fixed toolbar colour bug on Tiger.
1504 - Fixed visual problems caused by removal of About menu item.
1505 - Window menu now added automatically.
1506 - Configure fixed for wxBase compilation.
1507 - Modified function key support fixed.
1508 - wxTopLevelWindow::Maximize improvements.
1509
1510 wxX11:
1511
1512 - Menu problems fixed.
1513 - wxScrolledWindow scrolls any child windows.
1514 - Fixed a font memory leak.
1515 - Multiple wxTimers now work correctly.
1516
1517
1518 2.6.0
1519 -----
1520
1521 All:
1522
1523 - wxPathExists deprecated, use wxDirExists instead.
1524 - Configure: --enable-std_iostreams, --enable-std_string are now the default.
1525
1526 All (GUI):
1527
1528 - Fixed ~wxStatusBar and ~wxToolBar which tried to check
1529 non-existent wxFrameBase RTTI, causing a crash if not in a frame.
1530
1531 wxMSW:
1532
1533 - Fixed static box border when the label is empty.
1534 - Fixed SetBackgroundColour() to change only label background, not entire box.
1535 - wxHelpController is now aliased to wxCHMHelpController.
1536
1537 wxWinCE:
1538
1539 - Fixed device origin setting and clipping region setting.
1540
1541 wxGTK:
1542 - New configure syntax for specifying the GTK+ version.
1543 --with-gtk Use GTK 2.x, no fallback
1544 --with-gtk=1 Use GTK 1.2, no fallback
1545 --with-gtk=2 Use GTK 2.x, no fallback
1546 --with-gtk=any Use any available GTK
1547 - wxMenuItem::SetText() takes care of hotkeys, too.
1548 - Reworked text wrapping for wxStaticText.
1549
1550 wxMac:
1551 - Implemented most of the wxFileType and wxMimeTypesManager functions
1552
1553 2.5.5
1554 -----
1555
1556 All:
1557
1558 - wxURI::GetUser() only returns the user name now, use GetUserInfo() to get
1559 user and password as in 2.5.4; wxURI::GetPassword() added.
1560 - Added wxDebugReport class.
1561 - Added wxTempFileOutputStream by Stas Sergeev.
1562 - Fixed wxDateTime::SetToWeekDayInSameWeek(Sun, Monday_First).
1563 - Added WXK_SPECIAL keycodes for special hardware buttons.
1564 - Fixed bug with wxFile::Seek(-1, wxFromCurrent).
1565 - Added wxString/C array constructors to wxArrayString.
1566 - Added wxMemoryInputStream(wxMemoryOutputStream&) constructor (Stas Sergeev)
1567
1568 All (GUI):
1569
1570 - Added GetIcon, GetBitmap to wxImageList. wxGenericImageList's original
1571 GetBitmap is renamed GetBitmapPtr.
1572 - Added XPM data constructor to wxImage.
1573 - Added style parameter to wxBufferedDC to allow buffering just the client, or
1574 the whole virtual area.
1575 - Restored ability to set a custom splitter sash size with SetSashSize.
1576 - Fixed wxScrolledWindow sizer behaviour so that the virtual size
1577 isn't used to set the window size.
1578 - Added wxTE_BESTWRAP (based on patch by Mart Raudsepp).
1579 - wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED is now only sent once at the end of
1580 splitter dragging and not after each CHANGING event (Jacobo Vilella Vilahur).
1581 - Added wxImage::IsTransparent().
1582
1583 Unix:
1584
1585 - Fixed build on Linux/AMD64.
1586
1587 wxMSW:
1588
1589 - Added "orient" parameter to wxMDIParentFrame::Tile().
1590 - wxTextCtrl with wxTE_RICH2 style now uses RichEdit 4.1 if available.
1591 - fix handling Alt-key events in wxComboBox (reported by Joakim Roubert).
1592 - wxWindow::Refresh() refreshes the window children as well.
1593 - Improved static box and radio box refresh and background colour
1594 handling (Jamie Gadd).
1595
1596 wxGTK:
1597
1598 - Improved wxSystemSettings::GetMetric() to work better with X11 (Mart Raudsepp).
1599 - Corrected wxListBox selection handling.
1600 - Corrected default button size handling for different themes.
1601 - Corrected splitter sash size and look for different themes.
1602 - Fixed keyboard input for dead-keys.
1603 - Added support for more wrapping styles (Mart Raudsepp).
1604 - GTK2.4+ wxFileDialog reimplemented to support non-modal usage better,
1605 and fix all known bugs (Mart Raudsepp).
1606
1607 wxMac:
1608
1609 - Added wxFRAME_EX_METAL, wxDIALOG_EX_METAL for metallic-look windows.
1610
1611 wxPalmOS:
1612
1613 - Native wxRadioBox implementation.
1614
1615 wxWinCE:
1616
1617 - Added wxNB_FLAT for flat-look notebooks on Windows CE.
1618 - Titlebar OK button on PocketPC now sends command set by SetAffirmativeId.
1619 You can also override wxDialog::DoOK if you need more flexibility.
1620 - Dialog size now takes into account SIP or menubar.
1621 - Panels more naturally white on PocketPC.
1622 - wxDIALOG_EX_CONTEXTHELP ignored on WinCE since it interferes
1623 with correct titlebar style.
1624 - Frames have Ctrl+Q accelerator set automatically, as per the
1625 PocketPC guidelines
1626 - Documented issues in manual under wxWinCE topic.
1627 - Made (Un)RegisterHotKey WinCE-aware.
1628 - Sends wxEVT_HIBERNATE event.
1629 - Now fakes wxEVT_ACTIVATE_APP to be symmetrical with wxEVT_HIBERNATE.
1630 - Added wxTE_CAPITALIZE for CAPEDIT controls.
1631 - wxDialog::GetToolBar can be used if you need to add buttons
1632 to the dialog's toolbar.
1633
1634 2.5.4
1635 -----
1636
1637 All:
1638
1639 - wxEvent and derived classes don't have public members any more, you must
1640 use accessors methods now (Mart Raudsepp)
1641 - new classes for reading and writing ZIP files (M.J.Wetherell)
1642 - large files support for wxFFile (M.J.Wetherell)
1643 - classes in the manual are now cross-referenced (Zbigniew Zagórski)
1644 - Norwegian (Bokmål) translation added (Hans F. Nordhaug)
1645 - wxDynamicLibrary::HasSymbol() added
1646 - added wxEXEC_NODISABLE flag to be used with wxExecute(wxEXEC_SYNC)
1647 - added wxTextInputStream::operator>>(wchar_t) for compilers which support this
1648 - added wxURI, a class for dealing with Uniform Resource Identifiers
1649 - changed wxURL to inherit from wxURI and provide assignment and comparison
1650 - implemented wxConvUTF7 (modified patch from Fredrik Roubert)
1651 - added versions of MB2WC and WC2MB for wxMBConv that works for embedded null chars
1652 - Unicode support in wxODBC is now fully implemented
1653 - A new data type specific to wxWidgets called SQL_C_WXCHAR has been introduced.
1654 SQL_C_WXCHAR should be used rather than SQL_C_CHAR to ensure transparent
1655 behavior between Unicode and non-unicode builds
1656 - BLOB example added to samples/db (thanks to Casey O'Donnell)
1657 - use wxStream::GetLength() instead of deprecated GetSize()
1658 - wxGetOsDescription() is now more precise (Olly Betts)
1659 - XRC supports system fonts and colours (Ray Gilbert)
1660 - Added flags argument to wxKill/wxProcess::Kill to kill child processes.
1661 - Added wxPrintFactory classes so that it is possible to add a new
1662 print system backend at run-time. This was required by the new GNOME
1663 printing stuff in the GTK port.
1664 - Deprecated print setup dialog.
1665 - Added support to the wxODBC classes for Firebird 1.5 database
1666 - The samples/db sample program now includes an optional example of using a BLOB
1667 datatype (if BLOB support is enabled and supported by the database)
1668 - added wxDynamicLibrary::ListLoaded()
1669 - wxGetPowerType() and wxGetBatteryState() addition
1670 - wxSystemSettings::GetSystem*() members deprecated and replaced with
1671 wxSystemSettings::Get*()
1672 - wxWindowBase::DoGetBestSize now includes the difference (if any) between
1673 the client size and total size of the window. Code that sets the
1674 client size using the best size, or that added extra space to sizers
1675 to compensate for this bug may need to be changed.
1676 - Changed calculation of scrolling area to not clip away some bits
1677 due to a rounding error.
1678 - Changed GetVirtualSize() to return client size by default until
1679 SetVirtualSize() gets called. From then on it will only return that.
1680 - Various changes to how wxListCtrl and wxTreeCtrl react to right
1681 mouse clicks and left mouse click for starting a drag operation.
1682 - "Alt" key (VK_MENU) now results in WXK_ALT keyboard event, not WXK_MENU
1683 - wxFFile::ReadAll() now takes an optional wxMBConv parameter
1684 - wxCommandProcessor::MarkAsSaved() and IsDirty() added (Angela Wrobel)
1685 - added wxStackWalker and related classes (Win32 and some Unix versions only)
1686
1687
1688 All (GUI):
1689
1690 - added wxMediaCtrl
1691 - added wxDatePickerCtrl
1692 - wxHtmlWindow now supports background images given in <body> tag
1693 - wxSplitterWindow now supports gravity parameter (Zbigniew Zagórski)
1694 - recursive wxSizer::GetItem returns item of given window, sizer or nth index
1695 - wxLayoutConstraints now use best size, not current size, for AsIs() condition
1696 - wxSizer::Add/Insert etc. now returns pointer to wxSizerItem just added and this
1697 item remembers its wxRect area (Brian A. Vanderburg II)
1698 - wxBookCtrl renamed to wxBookCtrlBase, wxBookCtrl is reserved for most native
1699 book control (for now wxChoicebook for MSSmartphone, wxNotebook for others).
1700 Necessary event macros, types and styles mapped accordingly.
1701 - new wxBrush::IsHatch() checking for brush type replaces IS_HATCH macro
1702 - wxProgressDialog accepts smooth gauge again (wxPD_SMOOTH style)
1703 - wxProgressDialog new style: wxPD_CAN_SKIP which provides skipping some parts
1704 of the progress (with new "Skip" button in dialog)
1705 - wxGenericListCtrl::SetItemState(-1) now changes the state of all items as
1706 in wxMSW version (Gunnar Roth)
1707 - added wxImage::InitAlpha()
1708
1709 Unix:
1710
1711 - wxPuts() now correctly outputs trailing new line in Unicode build
1712
1713 wxGTK:
1714
1715 - Added printing support by way of using libgnomeprint. The library
1716 now checks at runtime, if the library is installed and will use it
1717 if it is. Otherwise, it will fall back to the old PostScript printing
1718 code, from which the Pango drawing code was removed.
1719 - Implemented/improved wxDC::DrawRotatedText()
1720 - fixed wxFileDialog::SetWildcard()
1721 - native file dialog is now used if available (Zbigniew Zagorski)
1722 - implemented wxTextCtrl::Freeze() and Thaw(). The GtkTextBuffer
1723 is not a valid one during frozen state. Get a pointer to it right
1724 after wxTextCtrl creation if you really need to. (Mart Raudsepp)
1725 - Changed calls to GTK+ 2.4.x functions so that the code checks at
1726 runtime, which library version is installed so that these functions
1727 are only called with GTK+ 2.4.x installed and should yield linker
1728 errors otherwise.
1729 - wxTextCtrl text insertion efficiency fixed. (Mart Raudsepp)
1730 - Added wxRawBitmap support
1731 - Corrected Input method handler code (for Chinese etc.) and its
1732 interaction with wxWidgets' events.
1733 - wxTE_AUTO_URL implemention for wxGTK2 multiline wxTextCtrls (Mart Raudsepp)
1734
1735 wxMac:
1736
1737 - Vertical sliders oriented consistent with MSW/GTK (0 at top) (Kevin Hock)
1738 - wxDynamicLibrary::GetDllExt() now returns ".bundle", not ".dylib"
1739 - wxDynamicLibrary::GetSymbol() now prepends underscore to the symbol name
1740 - wxJoystick now works on OSX
1741
1742 wxMSW:
1743
1744 - fixed enhanced metafiles loading from files (Andreas Goebel)
1745 - wxRadioButtons no longer have to be consecutive in a group
1746 - fixed spurious selection of combobox text during resize
1747 - pass correct tool id (and not always -1) to EVT_TOOL_RCLICKED() handler
1748 - added wxRegKey::Export(file)
1749
1750 wxWinCE:
1751 - Added support for MS Handheld PC 2000. This was done before 2.5.4,
1752 but not mentioned anywhere.
1753 - Added (preliminary) support for sockets
1754
1755 wxUniv:
1756
1757 - wxBU_... button align flags support
1758 - vertical notebook orientation support
1759 - 3rd state support for checkboxes
1760 - wxLB_SORT and wxCB_SORT now cause case-insensitive sorting
1761
1762 wxPalmOS:
1763
1764 - William Osborne has won and new port was born
1765 (see: "wxPalmOS porting challenge")
1766 - polishing of the port (unnecessary 2.4 API compatibility, removed
1767 all wxMSW specific code which was base for the new port)
1768 - enumeration of available volumes
1769 - native wxPrefConfig around Preferences database
1770 - native wxProgressDialog implementation
1771 - native wxColourDialog implementation
1772 - native wxSystemSettings colours
1773 - native wxButton implementation
1774 - native wxCheckBox implementation
1775 - native wxSlider implementation
1776 - native wxToggleButton implementation
1777 - native wxRadioButton implementation
1778 - native wxStaticText implementation
1779 - native wxDatePickerCtrl implementation
1780
1781
1782 2.5.3
1783 -----
1784
1785 All:
1786
1787 - support for large (>2 Gb) files in wxFile (Tim Kosse)
1788 - number of fixes to wxPluginManager (Rick Brice, Hans Van Leemputten)
1789 - fixed memory leak in wxURL when using a proxy (Steven Van Ingelgem)
1790 - fixed bug in wxDateTime::Set(jdn) when DST was in effect
1791 - fixed fatal bug in wxString when wxUSE_STL==1 (Kurt Granroth)
1792 - support msgids in charsets other than C and languages other than English
1793 (based on patch by Stefan Kowski)
1794 - added wxMicroSleep() and wxMilliSleep() replacing deprecated wxUsleep()
1795 - basic UDP sockets support (Lenny Maiorani)
1796 - fixed wxDateTime::GetWeekDayName() for some dates (Daniel Kaps)
1797 - deprecated wxDateTime::SetToTheWeek() in favour of SetToWeekOfYear()
1798 - active mode support in wxFTP (Randall Fox)
1799 - sped up wxHTTP and wxFTP
1800 - added wxStringInput/OutputStreams
1801 - added wxFileConfig::Save(wxOutputStream)
1802 - fixed wxString's behavior with inserted null characters
1803
1804 All (GUI):
1805
1806 - added wxWindow::MoveBefore/AfterInTabOrder() to change tab navigation order
1807 - added wxTaskBarIcon::CreatePopupMenu which is now the recommended way
1808 of showing a popup menu; calling wxTaskBarIcon::PopupMenu directly
1809 is discouraged
1810 - added ..._CMD_...(id) variants for wxGrid event table entry macros
1811 - added wxWindow::Navigate for programmatic navigation to the next control
1812 - wxTextCtrl::OnChar now inserts a tab character if wxTE_PROCESS_TAB is set
1813 - added wxKeyEvent::GetUnicodeKey()
1814 - added wxKeyEvent::CmdDown() and wxMouseEvent::CmdDown()
1815 - implemented wxListCtrl::FindItem() for non-MSW (Robin Stoll)
1816 - added status bar fields styles support (Tim Kosse)
1817 - added convenience functions wxSizer::AddSpacer() and
1818 wxSizer::AddStretchSpacer() (as well as Prepend and Insert variants)
1819 - added samples/splash
1820 - added support for stock buttons
1821 - added wxTopLevelWindow::RequestUserAttention()
1822 - support for comma in contrib gizmo wxLEDNumberCtrl (Grant Likely)
1823 - recursive wxSizer::Show for subsizer and return value if element was found
1824 - added wxChoicebook control
1825 - smoother time estimation updates in wxProgressDialog (Christian Sturmlechner)
1826 - the XRC contrib library was moved to the core
1827 - wx(Choice/List/Note)book controls send CHANG(ED/ING) events in SetSelection
1828 - it is now possible to create a wxFont with given size in pixels (d2walter)
1829 - added wxTopLevelWindow::IsActive()
1830 - wxSystemSettings::GetMetric now returns -1 for metrics that are not
1831 supported, instead of zero.
1832 - IMPLEMENT_DYNAMIC_CLASS2 macro compilation fixed (Serge Bakkal)
1833
1834 Unix:
1835
1836 - wxTaskBarIcon now supports freedesktop.org System Tray protocol
1837 - security fixes to wxSingleInstanceChecker
1838 - wx-config script was modified to allow choosing from multiple installed
1839 builds of wxWidgets and to return flags/libs for selected libraries only
1840 - wx-config has new --version-full option
1841
1842 wxCocoa:
1843
1844 - added Unicode compatibility layer for OSX 10.2
1845 - fixed so that wxCocoa runs in OSX 10.2
1846 - Tooltips now supported
1847 - wxSound now supported
1848 - wxDisplay now supported
1849 - Some stock cursors now supported
1850
1851 wxMac:
1852
1853 - fixed MLTE text control GetLineText and GetLineLength on OSX
1854 - added OSX wxTaskBarIcon implementation for the OSX Dock
1855 - added Unicode compatibility layer for OSX 10.2
1856 - wxGetKeyState now works with nearly all wx key codes
1857
1858 wxGTK:
1859
1860 - wxGTK uses GTK+ 2.x by default now, you have to pass --disable-gtk2 to
1861 configure if you want to use GTK+ 1.2
1862 - fixed many rendering artifacts and wrong colours with lots of GTK+ themes
1863 - implemented wxColourDialog as native dialog
1864 - implemented wxTextCtrl::HitTest() (GTK+ >= 2)
1865 - implemented wxTextCtrl::ScrollLines() and ScrollPages for GTK+ 2.x
1866 - wxTreeCtrl::GetCount() counts root as well now (compatible with MSW)
1867 - added support for wxCHK_3STATE style (GTK2 only)
1868 - implemented text underlining under GTK2
1869 - implemented wxFRAME_NO_TASKBAR style (GTK >= 2.2)
1870 - implemented support for wxSYS_DCLICK_?, wxSYS_DRAG_? and wxSYS_CURSOR_?
1871 in wxSystemSettings::GetMetric (Mart Raudsepp)
1872 - implemented wxTopLevel::IsMaximized() for GTK+2 and WMs that implement
1873 freedesktop.org's wm-spec (Mart Raudsepp)
1874 - wxEVT_CONTEXT_MENU is now generated for right mouse press, not release
1875 - implemented alpha channel support in wxBitmap
1876 - added native GTK+2 wxArtProvider implementation with ability to load
1877 icons from icon theme in addition to recognized stock art
1878 - fixed crash on 64 bit platforms (Paul Cornett)
1879
1880 wxMotif:
1881
1882 - added support for wxCHK_3STATE style (3 state checkbox)
1883
1884 wxMSW:
1885
1886 - fixed UNC paths handling in wxFileSystem (Daniel Nash)
1887 - set wxKeyEvent::m_uniChar in Unicode build
1888 - support for alpha channel in toolbar bitmaps (Jurgen Doornik)
1889 - wxFileDialog can now be moved and centered (Randall Fox)
1890 - restored (and improved) possibility to use wx with MFC broken in 2.5.2
1891 - fixed wxTextCtrl::SetMaxLength for rich edit controls
1892 - fixed flat style for toolbars under XP, Windows Classic style
1893 - fixed truncation of transferred data in wxConnection under unicode build
1894 - wxChoice and wxComboBox dropdown background can be set now too (Adrian Lupei)
1895 - fixed wxMaximizeEvent generation in wxFrame
1896 - don't send duplicate EVT_COMBOBOX events whenever selection changes any more
1897 - implemented support for selecting printer bin (Steven Van Ingelgem)
1898 - fixed wxListCtrl::SetSingleStyle() which was broken since a few releases
1899 - fixed print setup problem (always uses default printer) in Unicode build
1900
1901 wxUniv/X11:
1902
1903 - fixed fatal crash when opening a menu
1904
1905 wxWinCE:
1906
1907 - added native WinCE driven smartphone wxTextCtrl implementation using spinners
1908 - added native WinCE driven smartphone wxChoice implementation using spinners
1909 - added automated but customizable handling of native WinCE driven smartphone menus
1910 - fixed wxRadioBox and wxStaticBox
1911
1912 wxHTML:
1913
1914 - added support for nested index entries and index entries pointing to more
1915 than one page to wxHtmlHelpController
1916
1917
1918 2.5.2
1919 -----
1920
1921 All:
1922
1923 - Hindi translation added (Dhananjaya Sharma)
1924 - Brazilian Portuguese translation added (E. A. Tacao)
1925 - wxDynamicCast() now uses static_cast<wxObject *> internally and so using it
1926 with anything not deriving from wxObject will fail at compile time (instead
1927 of run-time) now
1928 - when wxUSE_STL == 1 and STL provides quasi-standard hash_map/hash_set,
1929 wxHashMap/wxHashSet are just typedefs for them. This makes impossible
1930 to forward declare these classes.
1931
1932 All (GUI):
1933
1934 - wxHtmlWindow now delays image scaling until rendering,
1935 resulting in much better display of scaled images
1936 - Added UpdateSize to wxSplitterWindow to allow layout while hidden
1937 - implemented Freeze/Thaw() for wxGenericTreeCtrl (Kevin Hock)
1938 - support for KOI8-U encoding added (Yuriy Tkachenko)
1939 - The old wxADJUST_MINSIZE behaviour is now the default behaviour for
1940 sizer items that are windows. This means that GetAdjustedBestSize
1941 will now be called by default to determine the minimum size that a
1942 window in a sizer should have. If you want to still use the initial
1943 size (and not the BestSize) then use the wxFIXED_MINSIZE flag. When
1944 windows are added to a sizer their initial size is made the window's
1945 min size using SetSizeHints, and calls to wxSizer::SetItemMinSize
1946 are also forwarded to SetSizeHints for window items.
1947 - added wxRegEx::GetMatchCount()
1948 - it is now possible to display images in wxHtmlListBox
1949
1950 wxMSW:
1951
1952 - wxWindow::Freeze()/Thaw() can now be nested
1953 - Added wxSP_NO_XP_THEME style to wxSplitterWindow to switch off
1954 XP theming (some applications look bad without 3D borders)
1955 - wxMenuBar::GetLabelTop() doesn't include '&'s in the label any more
1956 - wxRegConf couldn't read global settings without admin privileges and didn't
1957 even try to do it by default -- now it does
1958 - wxTaskBarIcon must be explicitly destroyed now, otherwise the application
1959 won't exit even though there are no top level windows
1960 - wxFileName::GetModificationTime() works with opened files too now
1961 - wxDC::GetClippingBox() now works even for clipping regions created by Windows
1962 - fixed wxFileDataObject in Unicode build (Alex D)
1963 - subindented paragraphs support (Tim Kosse)
1964
1965 wxGTK:
1966
1967 - added support for wxTE_RIGHT and wxTE_CENTRE styles under GTK2 (Mart Raudsepp)
1968
1969 wxMotif:
1970
1971 - removed wxMenuItem::DeleteSubMenu()
1972 - wxButtons use Motif default size, which is smaller than it used to be
1973 and closer to wxMSW/wxGTK look. This can be disabled by setting
1974 motif.largebuttons system option to 1 (see wxSystemOptions).
1975
1976 wxUniv/X11:
1977
1978 - implemented DrawRoundedRectangle() (clawghoul)
1979
1980 wxHTML:
1981
1982 - improved tables and lists layout algorithms (Tim Kosse)
1983 - <div> handling fix (Xavier Nodet)
1984
1985 Unix:
1986
1987 - fixed priorities of mailcap entries (David Hart)
1988 - added "wx-config --libs=std,<extra>" syntax (i.e. support for "std")
1989
1990 wxODBC:
1991
1992 - Full Unicode support is now available
1993 - BLOB support is working
1994
1995
1996 2.5.1
1997 -----
1998
1999 All:
2000
2001 - event table macros now do some minimal type safety checks (Michael Sögtrop)
2002 - added wxGzipInput/OutputStream, bug fixes in wxZlibStreams (M.J.Wetherell)
2003 - wxDateTime::ParseDateTime() implemented (Linus McCabe)
2004 - wxHTTP::GetResponse() added (David Nock)
2005 - added conversions to/from UTF 16/32 LE/BE (Andreas Pflug)
2006 - added wxTextInputStream::ReadChar() (M.J.Wetherell)
2007 - added translation to Afrikaans (Petri Jooste)
2008 - Spanish translations updated (Javier San Jose)
2009 - added gettext plural forms support to wxLocale (Michael N. Filippov)
2010 - wxFileName::Normalize(wxPATH_NORM_ALL) doesn't lower filename case any more
2011 - wxFileName::Normalize(wxPATH_NORM_ENV_VARS) now works
2012 - check if file exists in wxFileConfig::DeleteFile() (Christian Sturmlechner)
2013 - when wxUSE_STL == 1 wxHashTable will not be implemented using wxHashMap
2014 (as in 2.5.0).
2015 - added some extra convenience functions to wxRect such as
2016 GetBottomRight (Hajo Kirchhoff)
2017 - changed built-in regex library to a Unicode-compatible version based
2018 on TCL sources (Ryan Norton, M. J. Wetherell)
2019 - added extra convenience functions to wxPoint for adding a
2020 wxSize (Wlodzimierz Skiba)
2021 - intermediate wxIPaddress class added to prepare for
2022 wxIPV6address (Ray Gilbert)
2023 - added overloaded constructors and Create() methods taking wxArrayString
2024 for wxChoice, wxComboBox, wxListBox, wxRadioBox, wxCheckListBox,
2025 wxSingleChoiceDialog, wxMultipleChoiceDialog
2026 - renamed wxWave class to wxSound
2027
2028 All (GUI):
2029
2030 - added 3-state checkboxes for MSW/Mac (Dimitri Schoolwerth)
2031 - added some support for C++ exceptions in the library (do read the manual!)
2032 - added wxListCtrl::GetViewRect()
2033 - added wxTextCtrl::MarkDirty()
2034 - wxToolBar::ToggleTool() now works for radio buttons (Dag Ã…gren)
2035 - wxListCtrl now sends an END_LABEL event if editing was cancelled, too
2036 - bug in wxRect ctor from two [out of order] wxPoints fixed (Steve Cornett)
2037 - status text is now restored after wxMenu help is shown in it
2038 - bug in wxWindow::RemoveEventHandler() fixed (Yingjun Zhang)
2039 - make it possible to use wxRTTI macros with namespaces (Benjamin I. Williams)
2040 - wxColourDatabase API now uses objects instead of pointers
2041 - added resolution option to JPEG image handler (Jeff Burton)
2042 - added wxCalendarEvent::SetDate, wxCalendarEvent::SetWeekDay
2043 - wxGenericDirCtrl now accepts multiple wildcards
2044 - added focus event forwarding to wxGrid (Peter Laufenberg)
2045 - fixed scrollbar problem in wxGrid (not showing scrollbars
2046 when sizing smaller) (Shane Harper)
2047 - dbbrowse demo fixed for Unicode (Wlodzimierz Skiba)
2048 - added wxStatusBar support to XRC (Brian Ravnsgaard Riis)
2049 - wxMenu::Append and etc. return a pointer to the wxMenuItem that was
2050 added or inserted, or NULL on failure.
2051 - using a -1 (wxID_ANY) for menu or toolbar item IDs will now generate new id
2052 - added option to generate C++ headers to wxrc utility (Eduardo Marques)
2053 - added wxDC::DrawPolyPolygon() for MSW/PS (Carl-Friedrich Braun)
2054 - wxBufferedDC now allows to preserve the background and is documented
2055 - added wxDC::GetPartialTextExtents
2056
2057 wxMSW:
2058
2059 - wxWidgets now builds under Win64
2060 - fixed DDE memory leaks
2061 - fixed wxTE_*WRAP styles handling
2062 - wxTextCtrl::GetValue() works with text in non default encoding
2063 - changed wxCrashReport to generate minidumps instead of text files
2064 - wxRadioButtons are now checked when they get focus (standard behaviour)
2065 - several fixes to owner drawn menu items (Christian Sturmlechner)
2066 - wxGauge now supports full 32 bit range (Miroslav Rajcic)
2067 - make it possible to give focus to the notebook tabs (Hajo Kirchhoff)
2068 - MDI child frames are not always resizeable any more (Andrei Fortuna)
2069 - fixed enumerating of entries/groups under '/' in wxRegConfig
2070 - added wxSYS_ICONTITLE_FONT (Andreas Pflug)
2071 - added wxPATH_NORM_SHORTCUT to wxFileName
2072 - wxComboBox::GetValue within a wxEVT_COMMAND_TEXT_UPDATED event
2073 should now pass the correct value even if the handler for
2074 wxEVT_COMMAND_COMBOBOX_SELECTED changed the selection
2075 - wxFileDialog now returns correct filter index for multiple-file dialogs
2076 - added wxTextCtrl::HitTest()
2077 - experimental wxURL implementation using WinInet functions (Hajo Kirchhoff)
2078 - fixed several bugs in wxNotebook with wxNB_MULTILINE style
2079 - accelerators are now initially hidden if appropriate (Peter Nielsen)
2080 - background colour of a wxComboBox may now be set
2081 - fixed wxListCtrl::GetItemText/BackgroundColour()
2082 - Esc can now be used to close menus in the dialogs (Hartmut Honisch)
2083 - Added msw.remap system option so colourful toolbar buttons
2084 aren't mangled if you set it to 0. The default is 1
2085 - Toolbar buttons are now centred if the bitmap size is smaller
2086 than the specified default size
2087 - Fixed a bug in wxSpinCtrl::DoGetBestSize that would make wxSpinCtrl too tall
2088
2089 wxGTK:
2090
2091 - fixes to wxTextCtrl scrolling under GTK2 (Nerijus Baliunas)
2092 - fix for crash when using user-dashed lines (Chris Borgolte)
2093 - fixed wxChoice::Delete() in presence of client data
2094 - allow calling wxWindow::SetFont if window not yet created
2095 - use same average character width as other ports when calculating dialog units
2096 - fixed mouse wheel handling under GTK2 (Hugh Fisher)
2097 - wxNotebook::HitTest() implemented (Daniel Lundqvist)
2098 - memory leaks fixes in wxFileDialog (John Labenski)
2099 - don't drop click events from triple clicks (Frode Solheim)
2100
2101 wxMac:
2102
2103 - use same average character width as other ports when calculating dialog units
2104 - implemented handling of mouse wheel
2105 - fix for long file names (longer than 32 characters) in file dialogs
2106 - use Unix sockets for Mach-o builds
2107
2108 wxMotif:
2109
2110 - look for Motif 2.1 headers before Motif 1.2 ones in configure
2111
2112 wxHTML:
2113
2114 - wxHtmlHelpController now supports compressed MS HTML Help files (*.chm)
2115 on Unix (Markus Sinner)
2116
2117 Unix:
2118
2119 - added XFree86 resolution changing using xf86vidmode extensions (Ryan Norton)
2120 - implemented asynchronous playback in wxSound and added SDL backend in
2121 addition to existing OSS one
2122 - it is now possible to send PostScript to any output stream (Zoltan Kovacs)
2123
2124
2125 2.5.0
2126 -----
2127
2128 All:
2129
2130 - It is now possible to build several smaller libraries instead of single
2131 huge wxWidgets library; wxBase is now dependency of GUI ports rather then
2132 separately compiled library
2133 - added wxDateSpan::operator==() and !=() (Lukasz Michalski)
2134 - added wxFileName::GetForbiddenChars() (Dimitri Schoolwerth)
2135 - use true/false throughout the library instead of TRUE/FALSE
2136 - wxStopWatch::Start() resumes the stop watch if paused, as per the docs
2137 - added wxDirTraverser::OnOpenError() to customize the error handling
2138 - added wxArray::SetCount()
2139 - wxFile, wxFFile, wxTextFile and wxTempFile now all use UTF-8 encoding
2140 by default in Unicode mode
2141 - bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed
2142 - added wx/math.h (John Labenski)
2143 - added Catalan translations (Pau Bosch i Crespo)
2144 - added Ukrainian translations (Eugene Manko)
2145 - fixed bug with deleting entries at root level in wxFileConfig
2146 - chkconf.h now includes platform-specific versions (for MSW
2147 and Mac) which contain some tests that were in setup.h
2148 - added event sink argument to wxEvtHandler::Connect()
2149 - added support for POST method and alt ports to wxHTTP (Roger Chickering)
2150 - added wxSocket::IPAddress() (Chris Mellon)
2151 - wxDataStreams can read/write many elements at once (Mickael Gilabert)
2152 - added wxRecursionGuard class
2153 - added wxThreadHelper class (Daniel Howard)
2154 - Added STL support (--enable-stl for configure, wxUSE_STL in setup.h).
2155 When enabled, wxString will derive from std::string, wxArray from,
2156 std::vector, wxList from std::list. In addition wxHashTable will be
2157 implemented in terms of wxHashMap.
2158 - Added wxList::compatibility_iterator. Can be used like wxNode* (except
2159 it can't be delete()d). It permits writing code which will work
2160 both with wxUSE_STL==1 and wxUSE_STL==0.
2161
2162 wxBase:
2163
2164 - added Watcom makefiles
2165 - fixed bug with searching in sorted arrays (Jürgen Palm)
2166
2167 All GUI ports:
2168
2169 - added wxVScrolledWindow, wxVListBox and wxHtmlLbox classes
2170 - added wxListbook control
2171 - added alpha channel support to wxImage
2172 - added wxRenderer class allowing to customize the drawing of generic controls
2173 - added wxCLOSE_BOX style for dialogs and frames
2174 - added wxSplitterWindow and wxWizard handlers to XRC
2175 - wxWizard is now sizer-friendly and may be made resizeable (Robert Vazan)
2176 - added proportion to wxFlexGridSizer::AddGrowableRow/Col (Maxim Babitski)
2177 - added wxFlexGridSizer::SetFlexibleDirection() (Szczepan Holyszewski)
2178 - implemented GetEditControl for wxGenericTreeCtrl (Peter Stieber)
2179 - improved contrib/utils/convertrc parsing (David J. Cooke)
2180 - fixed handling of URLs and filenames in wxFileSystem
2181 - implemented alignment for wxGrid bool editor and renderer
2182 - support wxListCtrl columns alignment for all platforms and not just MSW
2183 - added wxToolBar Add/InsertTool(tool) (Janusz Piwowarski)
2184 - added wxTB_HORZ_TEXT style for MSW and GTK (Axel Schlueter)
2185 - fixed user dash handling for MSW and GTK (Ken Edwards)
2186 - WXR resources can now be used in Unicode builds
2187 - it is now possible to use several wxFileHistory objects in the same menu
2188 by giving them different base IDs (Dimitri Schoolwerth)
2189 - Added wxTLW::SetShape with implementations for wxMSW and wxGTK (so far)
2190 - FL: removed const from EnableTool parameters
2191 - FL: signal child window when toolbar is closed
2192 - In various places, changed tests for pathsep on last char of string to call
2193 wxEndsWithPathSeparator(s)
2194 - Added to defs.h a couple of macros (wxPtrToULong & wxULongToPtr)
2195 - Minor improvements to document/view framework, including
2196 delayed deletion of a document (until after the user has chosen
2197 a new document), and more intelligent addition of filenames to
2198 the file history, including not adding filenames if not using the
2199 default extension for the template
2200 - sped up wxImage::Scale using fixed point arithmetic (Wade Brainerd)
2201 - Added BLOB support to wxDB (John Skiff)
2202 - wxWizard now validates when pressing Back or Next
2203 - Implemented wxNotebook::DoGetBestSize so Fit now works
2204 - Added FindItemByPosition to wxMenu
2205 - wxTimer now derives from wxEvtHandler and is its own owner object by default
2206 - Extended wxTextAttr and added wxTextCtrl::GetStyle stub
2207 to allow better rich text support.
2208 - implemented wxFlexGridSizer::Show() (Wade Brainerd)
2209 - Added m_ prefix to wxColourData and wxFontData members
2210 - Added wxHtmlPrintout::AddFilter so HTML printing can be subject to
2211 custom filters as well as HTML viewing.
2212 - Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
2213 - wxWindow::OnInternalIdle is now used in all ports, and ensures that
2214 user OnIdle events do not interfere with crucial internal processing.
2215 - wxWindow::UpdateWindowUI is now a documented function that
2216 sends wxUpdateUIEvents, and can be overridden. It has a helper function
2217 DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
2218 - Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
2219 CanUpdate, to assist with optimising update event frequency.
2220 - Added functions to wxIdleEvent: Set/GetMode, CanSend, to
2221 determine whether a window should receive idle events.
2222 - Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
2223 styles for use with conservative idle and update event modes.
2224 - send menu update events only when a menu is about to be used (MSW/GTK)
2225 - improved event processing performance (Hans Van Leemputten)
2226 - added wxMirrorDC class
2227 - printing improvements: GetPageInfo() gets called after the DC has
2228 been set and after OnPreparePrinting() has been called so it can
2229 report the number of pages accurately; doesn't try to set
2230 number of pages in print dialog, in common with other Windows apps;
2231 wxHTML easy printing's preview shows number of pages
2232 correctly; preview scrollbars are set correctly; keyboard navigation
2233 improved
2234
2235 Unix:
2236
2237 - fixed compilation on systems with zlib installed but < 1.1.3 version
2238 - fixed compilation on Solaris 7 with large files support enabled
2239 - added wxTaskBarIcon implementation for X11
2240 - added support for GNU/Hurd in configure
2241 - wxLocale::Init now tries to set .utf8 locale in Unicode mode (Andreas Pflug)
2242
2243 Generic controls:
2244
2245 - implemented wxListCtrl::Refresh() (Norbert Berzen)
2246 - support adding/removing columns dynamically (Donald C. Taylor)
2247 - wxToolBarSimple, property list classes, wxTreeLayout moved
2248 to contrib/src/deprecated
2249
2250 wxGTK:
2251
2252 - added support for label mnemonics to GTK+2 build (Michael Moss)
2253 - added native wxMessageDialog implementation for GTK+2 build
2254 - fixed wxMenu::Remove (John Skiff and Benjamin Williams)
2255 - made wxTextCtrl::EmulateKeyPress() work for Delete and Backspace
2256 - fixed wxTopLevelWindow::ShowFullScreen to work with kwin, IceWM and
2257 window managers that support _NET_WM_STATE_FULLSCREEN
2258 - added wxEVT_MENU_OPEN event generation
2259 - fixed bug in generic file selector causing incomplete file extensions to
2260 be appended to filenames with no extension
2261 - added wxTextCtrl::SetSelection implementation for GTK+ 2
2262 - fixed wxTextCtrl::IsEditable() for GTK+ 2
2263 - fixed wxStaticText alignment for GTK+ 2 (Kevin Hock)
2264 - don't consume 100% CPU when showing a popup menu
2265
2266 wxMac:
2267
2268 - generate wxEVT_SCROLL_THUMBRELEASE and wxEVT_SCROLLWIN_THUMBRELEASE events
2269 - generate wxEVT_MENU_OPEN and wxEVT_MENU_CLOSE events
2270
2271 wxMSW:
2272
2273 - possibility to use DIBs for wxBitmap implementation (Derry Bryson)
2274 - added wxCrashReport
2275 - wxStaticBitmap doesn't stretch its bitmap any longer (like other ports)
2276 - support for accelerator keys in the owner drawn menus (Derry Bryson)
2277 - wxCaret::SetSize() doesn't hide the caret any longer as it used to
2278 - wxCheckListBox::Check() doesn't send CHECKLISTBOX_TOGGLE event any more
2279 - fixed bugs in wxThread::Wait() and IsAlive()
2280 - fixed bug with wxTR_EDIT_LABELS not working with wxTR_MULTIPLE
2281 - fixes for compilation with OpenWatcom and DigitalMars compilers
2282 - fixed wxStaticText best size calculation (was wrong by '&' width)
2283 - fixed calling wxFrame::Maximize(FALSE) before the window is shown
2284 - added wxNotebook::HitTest() (Otto Wyss)
2285 - libraries built with makefile.g95 have a _min or _cyg suffix (MinGW/Cygwin)
2286 - when using DLL, wxLocalFSHandler was not being exported
2287 - fixed problem with wxEvtHandler object not removed from wxPendingEvents
2288 - Windows XP manifest is now included in wx.rc; it is no longer necessary
2289 to ship .exe.manifest file with applications to support XP themes
2290 - wxLocale::Init no longer reports error if trying to set Unicode-only locale
2291 or if user's default locale is Unicode-only
2292 - improved border handling under Windows XP
2293 - partial fix for wxNotebook pages looking bad under XP: wxUSE_UXTHEME
2294 enables XP theme engine code, and wxUSE_UXTHEME_AUTO tells
2295 wxWidgets to use the theme tab colour for control backgrounds.
2296 - disable wxNB_RIGHT, wxNB_LEFT, wxNB_BOTTOM notebook styles under Windows XP
2297 - fixed release mode build with VC 7.x (Martin Ecker)
2298 - added support for wxALWAYS_SHOW_SB style
2299 - you don't need to add opengl32.lib when using VC++ now (David Falkinder)
2300
2301 wxMotif:
2302
2303 - made wxFileDialog behaviour with complex wildcards more sensible (it still
2304 does not support all the features other ports do); refer to wxFileDialog
2305 documentation for a detailed explanation
2306 - implemented wxWakeUpIdle
2307 - for Motif 2.0, used the native combobox widget instead of the GPL'd
2308 xmcombo; xmcombo is still used for Motif 1.x and Lesstif when compiled
2309 with Motif 1.x compatibility
2310 - implemented wxToggleButton
2311 - wxRadioBox and wxStaticBox now use the default shadow (border) style
2312 instead of a sunken border
2313 - implemented wxBitmapDataObject
2314 - finished wxClipboard implementation
2315
2316 wxUniv:
2317
2318 - controls in toolbars now supported
2319
2320 wxHTML:
2321
2322 - added text selection to wxHtmlWindow
2323 - added SetFonts to HTML printing classes (Adrian Philip Look)
2324 - it is now possible to force page break when printing by inserting
2325 <div style="page-break-before:always"> into the markup (Greg Chicares)
2326 - wxHtmlWindow now uses double buffering to prevent flicker
2327
2328
2329 OLD CHANGES
2330 ===========
2331
2332 INCOMPATIBLE CHANGES SINCE 2.2.x
2333 ================================
2334
2335 Please take a few minutes to read the following list, especially
2336 paying attention to the most important changes which are marked
2337 with '!' in the first column.
2338
2339 Also please note that you should ensure that WXWIN_COMPATIBILITY_2_2
2340 is defined to 1 if you wish to retain maximal compatibility with 2.2
2341 series -- however you are also strongly encouraged to try to compile
2342 your code without this define as it won't be default any longer in
2343 2.6 release.
2344
2345 NB: if you want to build your program with different major versions
2346 of wxWidgets you will probably find the wxCHECK_VERSION() macro
2347 (see the documentation) useful.
2348
2349
2350 wxBase:
2351
2352 ! wxArray<T>::Remove(size_t) has been removed to fix compilation problems
2353 under 64 bit architectures, please replace it with RemoveAt() in your
2354 code.
2355
2356 ! wxArray<T> macros have been changed to fix runtime problems under 64 bit
2357 architectures and as a side effect of this WX_DEFINE_ARRAY() can only be
2358 used now for the pointer types, WX_DEFINE_ARRAY_INT should be used for the
2359 arrays containing non-pointers.
2360
2361 - wxObject::CopyObject() and Clone() methods were removed because they
2362 simply don't make sense for all objects
2363
2364 - wxEvent now has a pure virtual Clone() method which must be implemented
2365 by all derived classes, if you have user-defined event classes please
2366 add "wxEvent *Clone() const { return new MyEvent(*this); }" line to them
2367
2368 - small change to wxStopWatch::Pause() semantics, please see the documentation
2369
2370 - unlikely but possible incompatibility: the definition of TRUE has changed
2371 from "1" to "(bool)1" (and the same thing for FALSE), so the code which
2372 could be erroneously compiled previously such as doing "return FALSE" from
2373 a function returning a pointer would stop compiling now (but this change
2374 is not supposed to have any effects on valid code)
2375
2376 - another minor change: wxApp::OnAssert() has a new "cond" argument, you
2377 must modify YourApp::OnAssert() signature if you were using it to override
2378 the default assert handling.
2379
2380 All (GUI):
2381
2382 ! the event type constants are not constants any more but are dynamically
2383 allocated during run-time which means that they can't be used as case labels
2384 in the switch()es, you must rewrite them to use if()s instead
2385
2386 You may also define WXWIN_COMPATIBILITY_EVENT_TYPES to get the old behaviour
2387 but this is strongly discouraged, please consider changing your code
2388 instead!
2389
2390 ! wxDialog does not derive from wxPanel any longer - if you were using it in
2391 your code, please update it. The quick fix for the most cases is to replace
2392 the occurrences of wxPanel with wxWindow.
2393
2394 ! if you handle (and don't skip) EVT_KEY_DOWN, the EVT_CHAR event is not
2395 generated at all, so you must call event.Skip() in your OnKeyDown() if
2396 you want to get OnChar() as well
2397
2398 - in general, the key events sent for the various non ASCII key combinations
2399 have been changed to make them consistent over all supported platforms,
2400 please see the wxKeyEvent documentation for details
2401
2402 - wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO
2403 have changed (to fix some unfortunate clashes), please check your code to
2404 ensure that no tests for wxYES or wxNO are broken: for example, the following
2405 will *NOT* work any longer:
2406
2407 if ( flags & wxYES_NO )
2408 ... do something ...
2409 if ( flags & wxYES )
2410 ... do something else ...
2411
2412 - static wxWizard::Create() doesn't exist any more, the wizards are created
2413 in the same way as all the other wxWindow objects, i.e. by directly using
2414 the ctor
2415
2416 - wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
2417
2418 - wxGridCellAttrProvider class API changed, you will need to update your code
2419 if you derived any classes from it
2420
2421 - wxImage::ComputeHistogram()'s signature changed to
2422 unsigned long ComputeHistogram(wxImageHistogram&) const
2423
2424 - wxEvtHandler cannot be copied/assigned any longer - this never worked but
2425 now it results in compile-time error instead of run-time crashes
2426
2427 - WXK_NUMLOCK and WXK_SCROLL keys no longer result in EVT_CHAR() events,
2428 they only generate EVT_KEY_DOWN/UP() ones
2429
2430 - the dialogs use wxApp::GetTopWindow() as the parent implicitly if the
2431 parent specified is NULL, use wxDIALOG_NO_PARENT style to prevent this
2432 from happening
2433
2434 - several obsolete synonyms are only retained in WXWIN_COMPATIBILITY_2_2 mode:
2435 for example, use wxScrolledWindow::GetViewStart() now instead of ViewStart()
2436 and GetCount() instead of Number() in many classes
2437
2438 - wxCmdLineParser does not use wxLog to output messages anymore.
2439 to obtain the previous behaviour, add
2440 wxMessageOutput::Set(new wxMessageOutputLog); to your program
2441 (you will need to #include <wx/msgout.h>)
2442
2443 wxMSW:
2444
2445 ! build system changed: setup.h is not a static file in include/wx any more
2446 but is created as part of the build process under lib/<toolkit>/wx
2447 where <toolkit> is of the form (msw|univ)[dll][u][d]. You'll need to update
2448 the include path in your make/project files appropriately. Furthermore,
2449 xpm.lib is no longer used by wxMSW, it was superseded by the wxXPMDecoder
2450 class. You'll need to remove all references to xpm.lib from your
2451 make/project files. Finally, the library names have changed as well and now
2452 use the following consistent naming convention: wxmsw[ver][u][d].(lib|dll)
2453 where 'u' appears for Unicode version, 'd' -- for the debug one and version
2454 is only present for the DLLs builds.
2455
2456 - child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR
2457 style to avoid it
2458
2459 - all overloads of wxDC::SetClippingRegion() combine the given region with the
2460 previously selected one instead of replacing it
2461
2462 - wxGetHomeDir() uses HOME environment variable and if it is set will not
2463 return the programs directory any longer but its value (this function has
2464 never been meant to return the programs directory anyhow)
2465
2466 - wxHTML apps don't need to include wx/html/msw/wxhtml.rc in resources file
2467 anymore. The file was removed from wxMSW
2468
2469
2470 Unix ports:
2471
2472 ! You should use `wx-config --cxxflags` in your makefiles instead of
2473 `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS
2474 and the compiler flags for C++ files only, CFLAGS should still be used
2475 to compile pure C files.
2476
2477
2478 wxThread and related classes:
2479
2480 - The thread-related classes have been heavily changed since 2.2.x versions
2481 as the old code had many serious problems. This could have resulted in
2482 semantical changes other than those mentioned here, please review use of
2483 wxThread, wxMutex and wxCondition classes in your code.
2484
2485 ! wxCondition now *must* be used with a mutex, please read the (updated) class
2486 documentation for details and revise your code accordingly: this change was
2487 unfortunately needed as it was impossible to ensure the correct behaviour
2488 (i.e. absence of race conditions) using the old API.
2489
2490 - wxMutex is not recursive any more in POSIX implementation (it hasn't been
2491 recursive in 2.2.x but was in 2.3.1 and 2.3.2), please refer to the class
2492 documentation for the discussion of the recursive mutexes.
2493
2494 - wxMutex::IsLocked() doesn't exist any more and should have never existed:
2495 this is was unique example of a thread-unsafe-by-design method.
2496
2497
2498 OTHER CHANGES
2499 =============
2500
2501 2.4.0
2502 -----
2503
2504 wxMSW:
2505
2506 - fixed loss of client data in wxChoice::SetString()
2507
2508 2.3.4
2509 -----
2510
2511 All:
2512
2513 - added (partial) Indonesian translations (Bambang Purnomosidi D. P.)
2514 - added wxSizer::Show()/Hide() (Carl Godkin)
2515 - fixed bugs in wxDateTime::SetToWeekDay()/GetWeek()
2516
2517 Unix (Base/GUI):
2518
2519 - minor OpenBSD compilation/linking fixes, now builds OOB under OpenBSD 3.1
2520 - don't include -I/usr/include nor -I/usr/local/include in wx-config output
2521 - shared library symbols are now versioned on platforms that support it (Linux)
2522
2523 wxGTK:
2524 - Further work for GTK 2.0 and Unicode support.
2525 - Addition of native frame site grip.
2526
2527 wxX11:
2528 - Unicode support through Pango library.
2529
2530 wxMSW:
2531
2532 - fixed crashes in wxListCtrl under XP
2533 - added context menu for rich edit wxTextCtrl
2534
2535 wxHTML:
2536
2537 - fixed wxHTML to work in Unicode build
2538
2539 2.3.3
2540 -----
2541
2542 wxBase:
2543
2544 - building wxBase with Borland C++ is now supported (Michael Fieldings)
2545 - wxSemaphore class added, many fixed to wxCondition and wxThread (K.S. Sreeram)
2546 - fixes to the command line parsing error and usage messages
2547 - modified wxFileName::CreateTempFileName() to open the file atomically
2548 (if possible) and, especially, not to leak the file descriptors under Unix
2549 - memory leak in wxHTTP fixed (Dimitri Schoolwerth)
2550 - fixes to AM_PATH_WXCONFIG autoconf macro
2551 - added wxHashMap class that replaces type-unsafe wxHashTable and is modelled
2552 after (non standard) STL hash_map
2553 - wxLocale now works in Unicode mode
2554 - wxLocale can now load message catalogs in arbitrary encoding
2555 - added wxShutdown() function (Marco Cavallini)
2556 - added wxEXPLICIT macro
2557 - IPC classes improved and memory leaks fixed (Michael Fielding).
2558 Global buffer removed, duplication in docs removed
2559 - debug new/free implementations made thread-safe
2560
2561 Unix (Base/GUI):
2562
2563 - wxWidgets may be built using BSD and Solaris (and possibly other) make
2564 programs and not only GNU make
2565 - wxTCP-based IPC classes now support communicating over Unix domain sockets
2566 - wxWidgets may be built as a dynamic shared library under Darwin / Mac OS X
2567 lazy linking issues have been solved by linking a single module (.o) into
2568 the shared library (two step link using distrib/mac/shared-ld-sh)
2569 - fixed thread priority setting under Linux
2570
2571 All (GUI):
2572
2573 - it is now possible to set the icons of different sizes for frames (e.g. a
2574 small and big ones) using the new wxIconBundle class
2575 - implemented radio menu items and radio toolbar buttons
2576 - added possibility to show text in the toolbar buttons
2577 - added wxArtProvider class that can be used to customize the look of standard
2578 wxWidgets dialogs
2579 - significantly improved native font support
2580 - wxImage::ComputeHistogram() now uses wxImageHistogram instead of type-unsafe
2581 wxHashTable
2582 - added IFF image handler
2583 - fixed using custom renderers in wxGrid which was broken in 2.3.2
2584 - support for multiple images in one file added to wxImage
2585 (TIFF, GIF and ICO formats)
2586 - support for CUR and ANI files in wxImage added (Chris Elliott)
2587 - wxTextCtrl::GetRange() added
2588 - added wxGetFontFromUser() convenience function
2589 - added EVT_MENU_OPEN and EVT_MENU_CLOSE events
2590 - added Hungarian translations (Janos Vegh)
2591 - added wxImage::SaveFile(filename) method (Chris Elliott)
2592 - added wxImage::FloodFill and implemented wxWindowDC::DoFloodFill method
2593 for GTK+, Mac, MGL, X11, Motif ports (Chris Elliott)
2594 - added (platform-dependent) scan code to wxKeyEvent (Bryce Denney)
2595 - added wxTextCtrl::EmulateKeyPress()
2596 - Added wxMouseCaptureChangedEvent
2597 - Added custom character filtering to wxTextValidator
2598 - wxTreeCtrl now supports incremental keyboard search
2599 - wxMessageOutput class added
2600 - wxHelpProvider::RemoveHelp added and called from ~wxWindowBase
2601 so that erroneous help strings are no longer found as the hash
2602 table fills up
2603 - updated libpng from 1.0.3 to 1.2.4
2604 - Added wxView::OnClosingDocument so the application can do cleanup.
2605 - generic wxListCtrl renamed to wxGenericListCtrl, wxImageList
2606 renamed to wxGenericImageList, so they can be used on wxMSW
2607 (Rene Rivera).
2608 - Added wxTreeEvent::IsEditCancelled so the application can tell
2609 whether a label edit was cancelled.
2610 - added static wxFontMapper::Get() accessor
2611
2612 wxMSW:
2613
2614 - small appearance fixes for native look under Windows XP
2615 - fixed the bug related to the redrawing on resize introduced in 2.3.2
2616 - fixed multiple bugs in wxExecute() with IO redirection
2617 - refresh the buttons properly when the window is resized (Hans Van Leemputten)
2618 - huge (40*) speed up in wxMask::Create()
2619 - changing wxWidgets styles also changes the underlying Windows window style
2620 - wxTreeCtrl supports wxTR_HIDE_ROOT style (George Policello)
2621 - fixed flicker in wxTreeCtrl::SetItemXXX()
2622 - fixed redraw problems in dynamically resized wxStaticText
2623 - improvements to wxWidgets applications behaviour when the system colours
2624 are changed
2625 - choose implicit parent for the dialog boxes better
2626 - fixed wxProgressDialog for ranges > 65535
2627 - wxSpinButton and wxSpinCtrl now support full 32 bit range (if the version
2628 of comctl32.dll installed on the system supports it)
2629 - wxFontEnumerator now returns all fonts, not only TrueType ones
2630 - bugs in handling wxFrame styles (border/caption related) fixed
2631 - showing a dialog from EVT_RADIOBUTTON handler doesn't lead to an infinite
2632 recursion any more
2633 - wxTextCtrl with wxTE_RICH flag scrolls to the end when text is appended to it
2634 - the separators are not seen behind the controls added to the toolbar any more
2635 - wxLB_SORT style can be used with wxCheckListBox
2636 - wxWindowDC and wxClientDC::GetSize() works correctly now
2637 - Added wxTB_NODIVIDER and wxTB_NOALIGN so native toolbar can be used in FL
2638 - Multiline labels in buttons are now supported (simply use "\n" in the label)
2639 - Implemented wxMouseCaptureChangedEvent and made wxGenericDragImage check it
2640 has the capture before release it.
2641 - fixed bugs in multiple selection wxCheckListBox
2642 - default button handling is now closer to expected
2643 - setting tooltips for wxSlider now works
2644 - disabling a parent window also disables all of its children (as in wxGTK)
2645 - multiple events avoided in wxComboBox
2646 - tooltip asserts avoided for read-only wxComboBox
2647 - fixed a race condition during a thread exit and a join
2648 - fixed a condition where a thread can hang during message/event processing
2649 - increased space between wxRadioBox label and first radio button
2650 - don't fail to register remaining window classes if one fails to register
2651 - wxFontDialog effects only turned on if a valid colour was
2652 provided in wxFontData
2653 - Added wxTE_LEFT, wxTE_CENTRE and wxTE_RIGHT flags for text control alignment.
2654 - Bitmap printing uses 24 bits now, not 8.
2655
2656 wxGTK:
2657
2658 - wxDirDialog now presents the file system in standard Unix way
2659 - wxButton now honours wxBU_EXACTFIT
2660 - wxStaticBox now honours wxALIGN_XXX styles
2661 - added support for non alphanumeric simple character accelerators ('-', '=')
2662 - new behaviour for wxWindow::Refresh() as it now produces a delayed refresh.
2663 Call the new wxWindow::Update() to force an immediate update
2664 - support for more SGI hardware (12-bit mode among others)
2665 - fixed wxDC::Blit() to honour source DC's logical coordinates
2666 - implemented wxIdleEvent::RequestMore() for simple background tasks
2667 - implemented wxChoice::Delete()
2668 - fixed bad memory leak in wxFileDialog (Chris Elliott)
2669 - made internal GC pool dynamically growable
2670 - added GTK+ 2 and Unicode support
2671
2672 wxMotif:
2673
2674 - improved colour settings return values (Ian Brown)
2675 - improved border style handling for wxStaticText (Ian Brown)
2676 - improved toolbar control alignment
2677 - implemented wxSpinButton
2678 - implemented wxCheckListBox
2679 - fixed wxSpinCtrl and wxStaticLine when used with sizers
2680 - wxStaticBitmap now shows transparent icons correctly
2681
2682 wxX11:
2683
2684 - added generic MDI implementation (Hans Van Leemputten)
2685 - first cut at wxSocket support (not yet working)
2686
2687 wxMac:
2688
2689 - Many improvements
2690
2691 wxOS2:
2692
2693 - First alpha-quality release
2694
2695 wxHTML:
2696
2697 - fixed wxHtmlHelpController's cache files handling on big endian machines
2698 - added blocking and redirecting capabilities to wxHtmlWindow via
2699 wxHtmlWindow::OnOpeningURL()
2700 - fixed alignment handling in tables
2701 - fixed <font face="..."> handling to be case insensitive
2702
2703 2.3.2
2704 -----
2705
2706 New port: wxUniv for Win32/GTK+ is now included in the distribution.
2707
2708 wxBase:
2709
2710 - wxRegEx class added
2711 - wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber)
2712 - wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen)
2713 - more fixes to wxMBConv classes. Conversion to and from wchar_t now works with
2714 glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s
2715 capabilities at runtime instead of in the configure script.
2716
2717 All (GUI):
2718
2719 - support for virtual list control added
2720 - column images in report mode of the list control
2721 - wxFindReplaceDialog added (based on work of Markus Greither)
2722 - wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK)
2723 - polygon support in wxRegion (Klaas Holwerda)
2724 - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added
2725 - fixed bug with using wxExecute() to capture huge amounts of output
2726 - new wxCalendarCtrl styles added (Søren Erland Vestø)
2727 - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh)
2728 - wxDirSelector() added (Paul A. Thiessen)
2729 - wxGrid cell editing veto support (Roger Gammans)
2730 - wxListCtrl ITEM_FOCUSED event added
2731 - support for ICO files in wxImage added (Chris Elliott)
2732 - improvements to wxDragImage (Chuck Messenger)
2733
2734 wxMSW:
2735
2736 - support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook)
2737 - new library naming convention under VC++ -- please change your application
2738 project files
2739
2740 wxGTK:
2741
2742 - fixed popup menu positioning bug
2743 - fixed the edit function for wxListCtrl (Chuck Messenger)
2744 - fixed the key-hitting events for wxListCtrl and wxTreeCtrl, so they
2745 correctly return the key which was pressed (Chuck Messenger)
2746
2747 wxMac:
2748
2749 - support for configuration and build under Mac OS X using the Apple Developer
2750 Tools
2751
2752 wxHTML:
2753
2754 - new HTML parser with correct parsing of character entities and fixes
2755 to tags parsing
2756 - added support for animated GIFs
2757
2758 2.3.1
2759 -----
2760
2761 wxBase:
2762
2763 - Fixes for gcc 3.0
2764 - Fixed new charset detection code
2765 - ODBC Informix fixes (submitted by Roger Gammans)
2766 - Added ODBC date support to wxVariant
2767 - Added wxDir::Traverse
2768 - Added wxSingleInstanceChecker class
2769 - Removed redundant wxDebugContext functions using C++ streams,
2770 so now standard stream usage should be unnecessary
2771
2772 All (GUI):
2773
2774 - Added wxDbGrid class for displaying ODBC tables
2775 - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the
2776 user code can get access to the edit control when it is created, (to
2777 push on a custom event handler for example)
2778 - Added wxTextAttr class and SetStyle, SetDefaultStyle and
2779 GetDefaultStyle methods to wxTextCtrl
2780 - Added wxSingleInstanceChecker
2781 - Improvements to Tex2RTF
2782 - Added Paul and Roger Gammans' grid controls
2783 - Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
2784 first-time saved
2785 - Fixed memory leak in textcmn.cpp
2786 - Various wxXML enhancements
2787 - Removed wxCLIP_CHILDREN style from wxSplitterWindow
2788 - Fixed memory leak in DoPrint, htmprint.cpp
2789 - Fixed calendar sample bug with using wxCommandEvent::GetInt()
2790 instead of GetId()
2791 - Added wxDbGrid combining wxODBC classes with wxGrid
2792 - Added more makefiles and project files for contrib hierarchy
2793
2794 wxMSW:
2795
2796 - Fixed wxApp::ProcessMessage so controls don't lose their
2797 accelerators when the accelerators are redefined elsewhere
2798 - Accelerators consisting of simple keystrokes (without control,
2799 alt or shift) now work
2800 - Compile fixes for Watcom C++ added
2801 - Compile fixes for Cygwin 1.0 added
2802 - Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop()
2803 - Replaced wxYield() call in PopupMenu() by a much safer
2804 wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones
2805 - Enter processing in wxSpinCtrl fixed
2806 - Fixed bug in determining the best listbox size
2807 - Fix for wxFrame's last focus bug
2808 - We now send iconize events
2809 - Fixed wxFrame::SetClientSize() with toolbar bug
2810 - Added mousewheel processing
2811 - Added wxSystemSettings::Get/SetOption so we can configure
2812 wxWidgets at run time; used this to implement no-maskblt option
2813 in wxDC
2814 - Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
2815 child frame styles are honoured
2816
2817 wxGTK:
2818
2819 - Fixed slider rounding bug
2820 - Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
2821 - We now send iconize events
2822 - Fix for discrepancies between wxNotebookEvent and wxNotebook
2823 GetSelection() results
2824
2825 2.3.0
2826 -----
2827
2828 wxBase:
2829
2830 - fixed problem with wxURL when using static version of the library
2831 - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories
2832 - wxMimeTypesManager now can create file associations too (Chris Elliott)
2833 - wxCopyFile() respects the file permissions (Roland Scholz)
2834 - wxFTP::GetFileSize() added (Søren Erland Vestø)
2835 - wxDateTime::IsSameDate() bug fixed
2836 - wxTimeSpan::Format() now behaves more as expected, see docs
2837 - wxLocale now provides much more convenient API for setting language and
2838 detecting current system language. New API is more abstracted and truly
2839 cross-platform, independent of underlying C runtime library.
2840
2841 All (GUI):
2842
2843 - new wxToggleButton class (John Norris, Axel Schlueter)
2844 - wxCalendarCtrl not highlighting the date with time part bug fixed
2845 - wxADJUST_MINSIZE sizer flag added
2846 - FindOrCreateBrush/Pen() bug fix for invalid colour values
2847 - new wxXPMHandler for reading and writing XPM images
2848 - added new (now recommended) API for conversion between wxImage and wxBitmap
2849 (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of
2850 wxImage methods and ctor)
2851 - ODBC classes now support DB2, Interbase, and Pervasive SQL
2852 - ODBC documentation complete!!
2853 - ODBC classes have much Unicode support added, but not complete
2854 - ODBC experimental BLOB support added, but not completely tested
2855 - ODBC NULL column support completed (Roger/Paul Gammans)
2856 - ODBC All "char *" and char arrays removed and replaced with wxString use
2857
2858 wxMSW:
2859
2860 - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen)
2861 - fixed bug in MDI children flags (mis)handling
2862 - it is possible to compile wxCHMHelpController with compilers
2863 other than Visual C++ now and hhctrl.ocx is loaded at runtime
2864
2865 wxGTK:
2866
2867 - added support for wchar_t (wxUSE_WCHAR_T) under Unix
2868
2869 wxHTML:
2870
2871 - mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup
2872 - visual enhancements to contents panel of wxHtmlHelpController
2873
2874 2.2.0
2875 -----
2876
2877 wxBase:
2878
2879 - Fixed bug with directories with trailing (back)slashes in wxPathExists
2880 - wxString: added wxArrayString::operator==() and !=()
2881 - Fixes for wxCmdLineParser
2882 - Added wxGetLocalTimeMillis
2883 - Completed Czech translations
2884 - Some stream corrections
2885 - added missing consts to wxPoint operators
2886 - wxDateTime ParseFormat fixes
2887 - wxFile::Open(write_append) will create file if it doesn't exist
2888 - small fixes to MIME mailcap test command handling, more MIME tests in the sample
2889
2890 All (GUI):
2891
2892 - wxGenericDragImage now allows virtual image drawing, and
2893 flicker-free dragging is now possible
2894 - Added wxPrinter::GetLastError
2895 - Fixed wxLogGui reentrancy problem
2896 - Paper names now translated
2897 - wxGrid fixes
2898 - Generic validator now caters for more cases (integers in
2899 wxTextCtrl, strings in wxChoice, wxComboBox)
2900 - Fixed crash when docview On... functions return FALSE. Show
2901 error message when an non-existent filename is typed into the Open
2902 File dialog.
2903 - Corrected Baltic font encoding handling
2904 - wxImage: enhanced TIFF code, added new platform-independent BMP
2905 writing code
2906 - wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
2907 - Fixed wxPropertyForm crashes in sample
2908 - wxWizard now calls TransferDataFromWindow() before calling
2909 wxWizardPage::GetNext() fixing an obvious bug
2910
2911 wxMSW:
2912
2913 - wxWindow::GetCharWidth/Height now calculated accurately.
2914 This will affect all .wxr dialog resources, so for
2915 backward compatibility, please set
2916 wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h
2917 - wxListCtrl: set item text in LIST_ITEM_ACTIVATED events
2918 - wxTextCtrl: implemented setting colours for rich edit controls
2919 - wxColour now accepts both grey and gray
2920 - BC++ DLL compilation fixed
2921 - Watcom C++ makefiles improved for JPEG and TIFF compilation
2922 - Fixed submenu accelerator bug
2923 - Fixed dialog focus bug (crash if the previous window to have
2924 the focus was destroyed before the dialog closed)
2925 - Too-small default wxTextCtrl height fixed
2926 - fixed "missing" initial resize of wxMDIChildFrame
2927 - wxFrame restores focus better
2928 - Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to
2929 frames and dialogs, interferes with other window styles otherwise
2930 (sometimes you'd get a thick frame in a subwindow)
2931 - wxTextCtrl insertion point set to the beginning of the control by SetValue
2932 - Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
2933 - wxFileDialog: adjusts struct size if there's an error (struct
2934 sizes can be different on different versions of Windows)
2935 - wxImageList::GetSize() documented and added to wxMSW
2936 - fixed default dialog style to make them non resizeable again
2937 - fixed wxFrame::IsShown() which always returned TRUE before
2938
2939 wxGTK:
2940
2941 - Please see docs/gtk/changes.txt.
2942
2943 wxMotif:
2944
2945 - Small compilation fixes
2946
2947 Documentation:
2948
2949 - wxCaret documented
2950
2951 2.1.16
2952 ------
2953
2954 wxBase:
2955
2956 All (GUI):
2957
2958 wxMSW:
2959
2960 - Various bug fixes
2961 - Added wxCHMHelpController, for invoking MS HTML Help
2962 files. This works under VC++ only
2963 - Modal dialog handling improved
2964 - Printer dialog now modal
2965
2966 wxGTK:
2967
2968 - Various bug fixes
2969
2970 wxMotif:
2971
2972 - Various bug fixes
2973
2974 2.1.15
2975 ------
2976
2977 Documentation:
2978
2979 - Added docs/tech for technical notes
2980
2981 File hierarchy:
2982
2983 - Started new contrib hierarchy that mirrors
2984 the main lib structure; moved OGL and MMedia into it
2985
2986 wxBase:
2987
2988 - wxSocket support
2989 - wxDateTime replaces and extends old wxDate and wxTime classes (still
2990 available but strongly deprecated) with many new features
2991 - wxLongLong class provides support for (signed) 64 bit integers
2992 - wxCmdLineParser class for parsing the command line (supporting short and
2993 long options, switches and parameters of different types)
2994 - it is now possible to build wxBase under Win32 (using VC++ only so far)
2995 and BeOS (without thread support yet)
2996 - wxThread class modified to support both detached and joinable threads, also
2997 added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
2998 only so far)
2999 - wxDir class for enumerating files in a directory
3000 - wxLog functions are now (more) MT-safe
3001 - wxStopWatch class, timer functions have more chances to return correct
3002 results for your platform (use ANSI functions where available)
3003 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
3004 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
3005 is available)
3006 - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
3007
3008 all (GUI):
3009
3010 - Added wxImage::Rotate.
3011 - new wxCalendarCtrl class for picking a date interactively
3012 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu management
3013 - wxToolBar supports arbitrary controls (not only buttons) and can be
3014 dynamically changed (Delete/Insert functions)
3015 - vertical toolbars supported by MSW and GTK native wxToolBar classes
3016 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
3017 - "file open" dialog allows selecting multiple files at once (contributed by
3018 John Norris)
3019 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
3020 MIME types if available (Unix only)
3021 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
3022 - TIFF support added (libtiff required and included in the distribution)
3023 - PCX files can now be written (256 and 24 bits)
3024 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
3025 - wxScrolledWindow now has keyboard interface
3026 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
3027 - added wxEncodingConverter and improved wxFontMapper
3028 for dealing with conversions between different encodings,
3029 charsets support in wxLocale and wxHTML
3030 - wxDragImage class added
3031 - samples/help improved to show standard and advanced HTML help
3032 controllers, as well as native help
3033 - moved wxTreeLayout class to main lib
3034
3035 wxMSW:
3036
3037 - wxFrame::MakeFullScreen added.
3038 - support for enhanced metafiles added, support for copying/pasting metafiles
3039 (WMF and enhanced ones) fixed/added.
3040 - implemented setting colours for push buttons
3041 - wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be
3042 positioned along the top of the screen and not only at the bottom
3043 - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun)
3044 - loading/saving big (> 32K) files in wxTextCtrl works
3045 - tooltips work with wxRadioBox
3046 - wxBitmap/wxIcon may be constructed from XPM included into a program, as in
3047 Unix ports
3048 - returning FALSE from OnPrintPage() aborts printing
3049 - VC++ makefiles and project files made (mostly) consistent
3050 - wxSetCursorEvent added
3051
3052 wxGTK:
3053
3054 - wxFontMapper endless recursion bug (on some systems) fixed
3055 - wxGTK synthesizes wxActivateEvents
3056 - UpdateUI handlers may be used with wxTextCtrl
3057
3058 wxMotif:
3059
3060 - wxMenu::Enable works
3061 - wxToolBar bugs fixed
3062 - OGL samples made to work again
3063
3064 wxHTML:
3065
3066 - almost complete rewrite of wxHtmlHelpController,
3067 including faster search, bookmarks, printing, setup dialog
3068 and cross-platform binary compatible .cached files for faster
3069 loading of large helpbooks, case insensitive search
3070 split into 3 parts: wxHtmlHelpData, Frame and Controller
3071 - added support for charsets and <meta> tag
3072 - added support for font faces and justified paragraphs,
3073 taken some steps to prepare wxHTML for frames
3074 - added dynamic pushing/popping of wxHtmlParser tag handlers
3075 - improved HTML printing
3076 - added extensive table of HTML characters substitutions (&nbsp; etc.)
3077 - fixed wxHtmlWindow flickering, several minor bugfixes
3078 - added some tags: <address>, <code>, <kbd>, <samp>, <small>, <big>,
3079 fixed handling of relative and absolute font sizes in <font size>
3080
3081
3082 NOTE: for changes after wxWidgets 2.1.0 b4, please see the CVS
3083 change log.
3084
3085 2.1.0, b4, May 9th 1999
3086 -----------------------
3087
3088 wxGTK:
3089
3090 - JPEG support added.
3091 - Many fixes and changes not thought worth mentioning in this file :-)
3092
3093 wxMSW:
3094
3095 - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
3096 SetTabSize added.
3097 - JPEG support added.
3098 - Fixes for Cygwin compilation.
3099 - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
3100 - Many fixes people didn't tell this file about.
3101
3102 wxMotif:
3103
3104
3105 General:
3106
3107 - Some changes for Unicode support, including wxchar.h/cpp.
3108
3109
3110 2.0.1 (release), March 1st 1999
3111 -------------------------------
3112
3113 wxGTK:
3114
3115 - wxGLCanvas fixes.
3116 - Slider/spinbutton fixes.
3117
3118 wxMSW:
3119
3120 - Fixed problems with <return> in dialogs/panels.
3121 - Fixed window cursor setting.
3122 - Fixed toolbar sizing and edge-clipping problems.
3123 - Some makefile fixes.
3124
3125 wxMotif:
3126
3127 - None.
3128
3129 General:
3130
3131 - Added wxUSE_SOCKETS.
3132 - More topic overviews.
3133 - Put wxPrintPaperType, wxPrintPaperDatabase into
3134 prntbase.h/cpp for use in non-PostScript situations
3135 (e.g. Win16 wxPageSetupDialog).
3136
3137
3138 Beta 5, February 18th 1999
3139 --------------------------
3140
3141 wxGTK:
3142
3143 - wxExecute improved.
3144
3145 wxMSW:
3146
3147 - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
3148 expected).
3149 - Changed VC++ makefiles (.vc) so that it's possible to have
3150 debug/release/DLL versions of the library available simultaneously,
3151 with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
3152 - Added BC++ 5 IDE files and instructions.
3153 - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
3154 - Fixed focus-related crash.
3155
3156 wxMotif:
3157
3158 - Cured asynchronous wxExecute crash.
3159 - Added repaint event handlers to wxFrame, wxMDIChildFrame.
3160
3161 General:
3162
3163 - wxLocale documented.
3164 - Added include filenames to class reference.
3165 - wxHelpController API changed: SetBrowser becomes SetViewer,
3166 DisplaySection works for WinHelp, help sample compiles under Windows
3167 (though doesn't display help yet).
3168
3169 Beta 4, February 12th 1999
3170 --------------------------
3171
3172 wxGTK:
3173
3174 - Miscellaneous fixes.
3175
3176 wxMSW:
3177
3178 - Makefiles for more compilers and samples; Cygwin makefiles
3179 rationalised.
3180 - Added VC++ project file for compiling wxWidgets as DLL.
3181
3182 wxMotif:
3183
3184 - Added OnEraseBackground invocation.
3185 - Added wxRETAINED implementation for wxScrolledWindow.
3186 - Cured scrolling display problem by adding XmUpdateDisplay.
3187 - Tried to make lex-ing in the makefile more generic (command line
3188 syntax should apply to both lex and flex).
3189 - Changed file selector colours for consistency (except for buttons:
3190 crashes for some reason).
3191 - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
3192 of malloc, which causes memory problems).
3193
3194 General:
3195
3196 - Further doc improvements.
3197 - wxGenericValidator added.
3198 - Added wxImageModule to image.cpp, so adds/cleans up standard handlers
3199 automatically.
3200
3201 Beta 3, January 31st 1999
3202 -------------------------
3203
3204 wxGTK:
3205
3206 - wxClipboard/DnD API changes (still in progress).
3207 - wxToolTip class added.
3208 - Miscellaneous fixes.
3209
3210 wxMSW:
3211
3212 - wxRegConfig DeleteAll bug fixed.
3213 - Makefiles for more compilers.
3214 - TWIN32 support added.
3215 - Renamed VC++ makefiles from .nt to .vc, and
3216 factored out program/library settings.
3217 - Fixed wxIniConfig bug.
3218
3219 wxMotif:
3220
3221 - A few more colour fixes.
3222 - wxGLCanvas and OpenGL samples working.
3223 - Some compiler warnings fixed.
3224 - wxChoice crash fix.
3225 - Dialog Editor starting to work on Motif.
3226
3227 General:
3228
3229 - wxBusyCursor class added.
3230 - Added samples/dde.
3231 - More doc improvements, incl. expanding docs/html/index.htm.
3232
3233 Beta 2, January 1999
3234 --------------------
3235
3236 wxGTK:
3237
3238 wxMSW:
3239
3240 - 16-bit BC++ compilation/linking works albeit without the resource system.
3241
3242 wxMotif:
3243
3244 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
3245 the right place.
3246 - Cured some widget table clashes.
3247 - Added thread support (Robert).
3248 - wxPoem sample now works.
3249
3250 General:
3251
3252 - Rearranged documentation a bit.
3253 - Sash window uses area of first frame/dialog to paint over when drawing
3254 the dragged sash, not just the sash window itself (it clipped to the right
3255 or below).
3256 - Made resource sample use the correct Cancel button id.
3257 - Moved wxProp to main library (generic directory), created proplist
3258 sample.
3259 - Added bombs and fractal samples.
3260
3261 Beta 1, December 24th 1998
3262 --------------------------
3263
3264 wxGTK:
3265
3266 - Various
3267
3268 wxMSW, wxMotif: not in sync with this release.
3269
3270
3271 Alpha 18, December 29th 1998
3272 ----------------------------
3273
3274 wxMSW:
3275
3276 - Win16 support working again (VC++ 1.5)
3277 - Win16 now uses generic wxNotebook, wxListCtrl,
3278 wxTreeCtrl -- more or less working now, although
3279 a little work on wxNotebook is still needed.
3280 Under 16-bit Windows, get assertion when you click
3281 on a tab.
3282 - Wrote 16-bit BC++ makefiles: samples don't yet link.
3283 - Added CodeWarrior support to distribution courtesy
3284 of Stefan Csomor.
3285
3286 wxMotif:
3287
3288 - Cured scrolling problem: scrollbars now show/hide themselves
3289 without (permanently) resizing the window.
3290 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
3291 that disabled scrollbar paging.
3292 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
3293 colours correctly.
3294 - Removed major bug whereby dialogs were unmanaged automatically
3295 when any button was pressed.
3296 - Fixed colours of wxWindow scrollbars, made list and text controls
3297 have a white background.
3298 - Fixed dialog colour setting.
3299 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
3300 they have sensible colours by default.
3301 - Fixed a bug in wxStaticBox.
3302 - Cured wxTreeCtrl bug: now works pretty well!
3303 - Debugged DrawEllipticArc (a ! in the wrong place).
3304 - Added SetClippingRegion( const wxRegion& region ).
3305 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
3306
3307 Alpha 17, November 22nd 1998
3308 ----------------------------
3309
3310 wxMSW:
3311
3312 - More documentation updates, especially for
3313 wxLayoutWindow classes and debugging facilities.
3314 - Changed wxDebugContext to use wxDebugLog instead
3315 of wxTrace.
3316 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
3317 However, DLL support may be broken for BC++ since
3318 VC++ 6 required changing of WXDLLEXPORT keyword
3319 position.
3320 - Numerous miscellaneous changes.
3321
3322 wxMotif:
3323
3324 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
3325 were too buggy (probably not design for dynamic addition/removal of
3326 child frames).
3327 - Some improvements to the wxNotebook implementation.
3328 - wxToolBar now uses a bulletin board instead of a form, in an attempt
3329 to make it possible to add ordinary wxControls to a toolbar.
3330 - Cured problem with not being able to use global memory operators,
3331 by defining two more global operators, so that the delete will match
3332 the debugging implementation.
3333 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
3334 global memory operators (usually OK) and #defining new to be
3335 WXDEBUG_NEW (sometimes it might not be OK).
3336 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
3337 - Added a parent-existence check to popup menu code to make it not crash.
3338 - Added some optimization in wxWindow::SetSize to produce less flicker.
3339 It remains to be seen whether this produces any resize bugs.
3340
3341 It's a long time since I updated this file. Previously done:
3342
3343 - wxFrame, wxDialog done.
3344 - wxScrolledWindow done (but backing pixmap not used at present).
3345 - wxBitmap done though could be tidied it up at some point.
3346 - Most basic controls are there, if not rigorously tested.
3347 - Some MDI support (menus appear on child frames at present).
3348 - wxNotebook almost done.
3349 - wxToolBar done (horizontal only, which would be easy to extend
3350 to vertical toolbars).
3351
3352 More recently:
3353
3354 - Colour and font changing done (question mark over what happens
3355 to scrollbars).
3356 - Accelerators done (for menu items and buttons). Also event loop
3357 tidied up in wxApp so that events are filtered through ProcessXEvent.
3358 - wxWindow::GetUpdateRegion should now work.
3359
3360 Alpha 16, September 8th 1998
3361 ----------------------------
3362
3363 wxMSW:
3364
3365 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
3366 sample.
3367 - Guilhem's socket classes added, plus wxsocket sample.
3368 - A few more makefiles added.
3369 - GnuWin32/BC++ compatibility mods.
3370 - Further doc updates.
3371 - wxProp updates for correct working with wxGTK.
3372
3373 wxMotif:
3374
3375 - First start at Motif port.
3376 - Made makefiles for wxMotif source directory and minimal sample.
3377 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
3378 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
3379 wxMenu, wxMenuItem, wxMenuBar
3380
3381 Alpha 15, August 31st 1998
3382 --------------------------
3383
3384 wxMSW:
3385
3386 - wxBitmap debugged.
3387 - wxDC::GetDepth added.
3388 - Contribution added whereby wxBitmap will be
3389 converted to DC depth if they don't match.
3390 - wxConfig API improved, documentation updated.
3391 - Printing classes name conventions cleaned up.
3392 - wxUpdateUIEvent now derives from wxCommandEvent
3393 so event can travel up the window hierarchy.
3394
3395 Alpha 14, July 31st 1998
3396 ------------------------
3397
3398 wxMSW:
3399
3400 - Toolbar API has been simplified, and now
3401 wxFrame::GetClientArea returns the available client
3402 area when toolbar, status bar etc. have been accounted for.
3403 wxFrame::CreateToolBar added in line with CreateStatusBar.
3404 - Documentation updates, incl. for wxToolBar.
3405 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
3406 - Various additions from other folk, e.g. streams, wxConfig
3407 changes, wxNotebook.
3408 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
3409
3410 Alpha 13, July 8th 1998
3411 -----------------------
3412
3413 wxMSW:
3414
3415 - Implemented wxPoint as identical to POINT on Windows, and
3416 altered wxDC wxPoint functions to use wxPoint directly in
3417 Windows functions, for efficiency.
3418 - Cured wxASSERT bug in wxStatusBar95.
3419 - #ifdefed out some bits in oleutils.cpp for compilers that
3420 don't support it.
3421 - Added some operators to wxPoint, wxSize.
3422 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
3423
3424 Alpha 12, July 7th 1998
3425 -----------------------
3426
3427 wxMSW:
3428
3429 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
3430 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
3431
3432 Alpha 11, July 3rd 1998
3433 -----------------------
3434
3435 wxMSW:
3436
3437 - Added thread.h, thread.cpp.
3438 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
3439 wxMenuBar.
3440 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
3441 SetTextColor to SetTextColour, and added or made public several
3442 wxMenuItem accessors.
3443 - Added two overloads to wxRegion::Contains. Added
3444 wxRegion::IsEmpty for a more consistent naming convention.
3445 - Added Vadim's wxDataObject and wxDropSource.
3446 - ENTER/LEAVE events now work.
3447 - Cured wxMemoryDC bug where the DC wasn't being deleted.
3448 - Cured wxGauge SetSize major bugginess.
3449 - Cured problem where if a GDI object was created on the stack,
3450 then went out of scope, then another object was selected into
3451 the DC, GDI objects would leak. This is because the assignment
3452 to e.g. wxDC::m_pen would delete the GDI object without it first
3453 being selected out of the DC. Cured by selecting the old DC object
3454 first, then doing the assignment.
3455 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
3456 - Various other bug fixes and additions.
3457
3458 Generic:
3459
3460 - Major work on Dialog Editor (still plenty to go).
3461 - Expanded documentation a bit more.
3462
3463 Alpha 10, May 7th 1998
3464 ----------------------
3465
3466 wxMSW:
3467
3468 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
3469 and wxIcon functions so that you can specify what size of
3470 icon should be loaded. Probably will remain a Windows-specific thing.
3471 - wxStatusBar95 now works for MDI frames.
3472 - Toolbars in MDI frames now behave normally. They still
3473 require application-supplied positioning code though.
3474 - Changed installation instructions, makefiles and batch files
3475 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
3476 change to support Mingw32/EGCS. Bison now used by default.
3477
3478 Alpha 9, April 27th 1998
3479 ------------------------
3480
3481 wxMSW:
3482
3483 - Cured bug in wxStatusBar95 that caused a crash if multiple
3484 fields were used.
3485 - Added Gnu-Win32 b19/Mingw32 support by changing resource
3486 compilation and pragmas.
3487 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
3488 commands because VZ changed the id setting in wxMenu::MSWCommand.
3489
3490 Generic:
3491
3492 - Corrected some bugs, such as the wxModule compilation problem.
3493 - Added Gnu-Win32 b19/Mingw32 support by changing resource
3494 compilation and pragmas.
3495 - Changed SIZEOF to WXSIZEOF.
3496
3497 Alpha 8, April 17th 1998
3498 ------------------------
3499
3500 wxMSW:
3501
3502 - Added IsNull to wxGDIObject to check if the ref data is present or not.
3503 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
3504 some reason :-(
3505 - Added wxJoystick class and event handling, and simple demo.
3506 - Added simple wxWave class. Needs Stop() function.
3507 - Added wxModule (module.h/module.cpp) to allow definition
3508 of modules to be initialized and cleaned up on wxWidgets
3509 startup/exit.
3510 - Start of Mingw32 compatibility (see minimal and dialogs samples
3511 makefile.m95 files, and install.txt).
3512 - Note: Windows printing has stopped working... will investigate.
3513 VADIM'S CHANGES:
3514 - Updated wxString: bug fixes, added wxArrayString, some
3515 compatibility functions.
3516 - Updated log.h/cpp, added wxApp::CreateLogTarget.
3517 - file.h: new wxTempFile class.
3518 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
3519 - statbr95: wxStatusBar95 control.
3520 - registry.h/cpp: wxRegKey class for Win95 registry.
3521 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
3522 - wxConfig and wxFileConfig classes.
3523
3524 Generic:
3525
3526 - Added src/other/png, src/other/zlib directories.
3527 - Added samples/png.
3528 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
3529 Porters, please check particularly your wxTreeCtrl and wxListCtrl
3530 header files.
3531 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
3532
3533 Alpha 7, March 30th 1998
3534 ------------------------
3535
3536 wxMSW:
3537
3538 - Added tab classes, tab sample.
3539 - Now can return FALSE from OnInit and windows will be
3540 cleaned up properly before exit.
3541 - Improved border handling so panels don't get borders
3542 automatically.
3543 - Debugged MDI activation from Window menu.
3544 - Changes to memory debug handling, including checking for
3545 memory leaks on application exit - but see issues.txt for
3546 unresolved issues.
3547 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
3548 to allow maintenance of an icon in the Windows 95 taskbar
3549 tray area.
3550 - Got MFC sample working (MFC and wxWidgets in the same
3551 application), partly by tweaking ntwxwin.mak settings.
3552 - Got DLL compilation working again (VC++).
3553 - Changed wxProp/Dialog Editor filenames.
3554
3555 Generic:
3556
3557 - Added tab classes, tab sample.
3558 - Revised memory.cpp, memory.h slightly; memory.h now #defines
3559 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
3560 now checks for leaks on exit. Added memcheck sample.
3561 See src/msw/issues.txt for more details.
3562 - resource.h, resource.cpp changed to make wxDefaultResourceTable
3563 a pointer. Now initialize resource system with
3564 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
3565 allow better control of memory.
3566 - wxString now derives from wxObject, to enable memory leak
3567 checking.
3568 - Added some #include fixes in various files, plus changed
3569 float to long in wxToolBar files.
3570
3571 Alpha 6, March 10th 1998
3572 ------------------------
3573
3574 wxMSW:
3575
3576 - Found stack error bug - stopped unwanted OnIdle recursion.
3577 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
3578 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
3579 check if the number of top-level windows is zero before
3580 exiting. Also, wxApp::GetTopWindow will return either
3581 m_topWindow or the first member of wxTopLevelWindows, so you
3582 don't have to call wxApp::SetTopWindow.
3583 - Added dynarray.h/dynarray.cpp (from Vadim).
3584 - Added first cut at OLE drag and drop (from Vadim). dnd sample
3585 added. Drop target only at this stage. See src/msw/ole/*.cpp,
3586 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
3587 Doesn't work with GnuWin32 - no appropriate headers e.g. for
3588 IUnknown.
3589 Doesn't work with BC++ either - crashes on program startup.
3590 - Added Vadim's owner-draw modifications - will probably remain
3591 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
3592 - Added wxLB_OWNERDRAW for owner-draw listboxes.
3593 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
3594 Doesn't entirely work for WIN16.
3595 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
3596 can also be used as an argument to wxMenu::Append, not just for
3597 internal implementation.
3598 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
3599 in makeg95.env, together with mingw32.bat). However, resource
3600 binding is not working yet so most apps with dialogs crash.
3601
3602 Generic:
3603
3604 - Added Vadim's dynarray.h, dynarray.cpp.
3605 - Added Vadim's menuitem.cpp.
3606 - Added Windows-specific wxCheckListBox,
3607 owner-draw wxListBox, and drag-and-drop
3608 (see docs/msw/changes.txt).
3609
3610 Alpha 5, 14th February 1998
3611 --------------------------
3612
3613 wxMSW:
3614
3615 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
3616 DISTRIBUTIONS. This change log will therefore now refer to
3617 the Windows-specific code only. See docs/changes.txt for generic
3618 changes.
3619 - Removed Windows-specific reference counting system (GDI
3620 resources were cleaned up in idle time) - minimal
3621 advantages now we have a wxWin reference counting system.
3622 - Added missing WXDLLEXPORT keywords so DLL compilation works
3623 again.
3624 - Removed most warnings for GnuWin32 compilation.
3625 - Added wxRegion/wxRegionIterator, but haven't yet used it in
3626 e.g. wxDC.
3627
3628 Generic:
3629
3630 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
3631 DISTRIBUTIONS. This change log will therefore now refer to
3632 the generic code only. See docs/msw/changes.txt for Windows-specific
3633 changes.
3634 - Readmes, change logs and installation files now go in
3635 platform-specific directories under docs, e.g. docs/msw,
3636 docs/gtk.
3637 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
3638 created dynamically, not as a global object.
3639 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
3640 - Changed names of some include/wx/generic headers to be
3641 consistent and to conform to gcc pragma conventions. Also
3642 changed choicesg.cpp to choicdgg.cpp.
3643 - Added gcc pragmas.
3644 - Added gtk inclusion in include/wx headers.
3645 - Added consistent file headings to source and headers.
3646 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
3647 added a few references to wxTransString.
3648 - Added operator to wxTransString that converts automatically
3649 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
3650 - samples/internat now works (minimally).
3651 - Added wxMouseEvent::GetPosition and
3652 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
3653 - Made wxSize and wxRect contain longs not ints.
3654 - Cured some memory leaks (thanks Vadim).
3655 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
3656 will only keep processing OnIdle if it returns TRUE from
3657 MoreRequested.
3658
3659 Alpha 4, 31st January 1998
3660 --------------------------
3661
3662 All:
3663
3664 - Changed wxDC functions to take longs instead of floats. GetSize now takes
3665 integer pointers, plus a version that returns a wxSize.
3666 - const keyword added to various wxDC functions.
3667 - Under Windows, wxDC no longer has any knowledge of whether
3668 an associated window is scrolled or not. Instead, the device
3669 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
3670 - wxScrolledWindow applications can optionally override the virtual OnDraw
3671 function instead of using the OnPaint event handler. The wxDC passed to
3672 OnDraw will be translated by PrepareDC to reflect scrolling.
3673 When drawing outside of OnDraw, must call PrepareDC explicitly.
3674 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
3675 scrolling toolbars.
3676 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
3677 to help printing with multiple pages.
3678 - IPC classes given base classes (wxConnectionBase etc.) which
3679 define the API used by different implementations. DDE
3680 implementation updated to use these base classes.
3681 - wxHelpInstance now separated into wxHelpControllerBase (base
3682 for all implementations), wxWinHelpController (uses standard
3683 WinHelp), wxXLPHelpController (talks to wxHelp by DDE or
3684 TCP/IP). There will be others eventually, such as
3685 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
3686 - Added Vadim Zeitlin's wxString class plus
3687 internationalization code (gettext simulation, wxLocale, etc.).
3688 New files from Vadim:
3689 include\wx\string.h
3690 include\wx\debug.h
3691 include\wx\file.h
3692 include\wx\log.h
3693 include\wx\intl.h
3694 src\common\string.cpp
3695 src\common\log.cpp
3696 src\common\intl.cpp
3697 src\common\file.cpp
3698 No longer use GNU wxString files.
3699 - Split off file-related functions into include\wx\filefn.h and
3700 src\common\filefn.cpp.
3701 - Borland C++ support (WIN32) for main library and
3702 samples, using makefile.b32 files.
3703 - Preparation done for allowing BC++ to compile wxWin as a DLL,
3704 including changes to defs.h.
3705 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
3706 introduced.
3707 - Added wxShowEvent (generated when window is being shown or
3708 hidden).
3709 - Got minimal, docview, mdi samples working for 16-bit VC++ and
3710 cured 16-bit problem with wxTextCtrl (removed global memory
3711 trick).
3712 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
3713
3714 Alpha 3, September 1997
3715 -----------------------
3716
3717 All:
3718
3719 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
3720 - Instigated new file hierarchy, split files and classes up more logically.
3721 - PrologIO and some other utils now put into core library.
3722 - Revamped print/preview classes, added wxPageSetupDialog.
3723 - Started documentation.
3724
3725 Alpha 2, 30th April 1997
3726 ------------------------
3727
3728 All:
3729
3730 - EVT_... macros now have at least one argument, for conformance
3731 with MetroWerks compiler.
3732 - Added ids to .wxr file format.
3733 - Got Dialog Editor compiled and running again but need
3734 to extend functionality to be in line with new controls.
3735 Added dialoged\test app to allow dynamic loading of .wxr files
3736 for testing purposes.
3737 - Rewrote wxBitmap to allow installable file type
3738 handlers.
3739 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
3740 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
3741 fully).
3742 - Added back wxRadioBox.
3743 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
3744 a separate file.
3745
3746 Alpha 1, 5th April 1997
3747 -----------------------
3748
3749 Generic:
3750
3751 At this point, the following has been achieved:
3752
3753 - A lot, but not all, of the code has been revamped for better
3754 naming conventions, protection of data members, and use of
3755 wxString instead of char *.
3756 - Obsolete functionality deleted (e.g. default wxPanel layout,
3757 old system event system) and code size reduced.
3758 - Class hierarchy changed (see design doc) - base classes such
3759 as wxbWindow now removed.
3760 - No longer includes windows.h in wxWin headers, by using stand-in
3761 Windows types where needed e.g. WXHWND.
3762 - PrologIO revised.
3763 - wxScrolledWindow, wxStatusBar and new MDI classes added.
3764 MDI is now achieved using separate classes, not window styles.
3765 - wxSystemSettings added, and made use of to reflect standard
3766 Windows settings.
3767 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
3768 settings mucho rationalised.
3769 - All windows are now subclassed with the same window proc to make
3770 event handling far more consistent. Old internal wxWnd and derived
3771 classes removed.
3772 - API for controls revised, in particular addition of
3773 wxValidator parameters and removal of labels for some controls.
3774 - 1 validator written: see examples/validate.
3775 - Event table system introduced (see most samples and
3776 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
3777 made more flexible, with Push/PopEventHandler allowing a chain
3778 of event handlers.
3779 - wxRadioBox removed - will be added back soon.
3780 - Toolbar class hierarchy revised:
3781 wxToolBarBase
3782 wxToolBarSimple (= old wxToolBar)
3783 wxToolBar95 (= old wxButtonBar under Win95)
3784 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
3785 - Constraint system debugged somewhat (sizers now work properly).
3786 - wxFileDialog, wxDirDialog added; other common dialogs now
3787 have class equivalents. Generic colour and font dialogs
3788 rewritten to not need obsolete panel layout.
3789 - .wxr resource system partially reinstated, though needs
3790 an integer ID for controls. Hopefully the resource system
3791 will be replaced by something better and more efficient
3792 in the future.
3793 - Device contexts no longer stored with window and accessed
3794 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
3795 variables instead.
3796 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
3797 determines whether labels are shown. Other Win95-specific flags
3798 introduced, e.g. for showing ticks.
3799 - Styles introduced for dealing with 3D effects per window, for
3800 any window: all Win95 3D effects supported, plus transparent windows.
3801 - Major change to allow 3D effect support without CTL3D, under
3802 Win95.
3803 - Bitmap versions of button and checkbox separated out into new
3804 classes, but unimplemented as yet because I intend to remove
3805 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
3806 - utils/wxprop classes working (except maybe wxPropertyFormView)
3807 in preparation for use in Dialog Editor.
3808 - GNU-WIN32 compilation verified (a month or so ago).