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