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