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