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