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