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