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