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