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