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