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