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