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