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