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