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