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