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