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