1 ------------------------
2 wxWidgets 2.5 Change Log
3 ------------------------
5 INCOMPATIBLE CHANGES SINCE 2.4.x
6 ================================
8 Please take a few minutes to read the following list, especially
9 paying attention to the most important changes which are marked
10 with '!' in the first column.
12 Also please note that you should ensure that WXWIN_COMPATIBILITY_2_4
13 is defined to 1 if you wish to retain maximal compatibility with 2.4
16 ! windows are no longer fully repainted when resized, use new style
17 wxFULL_REPAINT_ON_RESIZE to force this (wxNO_FULL_REPAINT_ON_RESIZE still
18 exists but doesn't do anything any more, this behaviour is default now)
20 ! wxWindow::m_font and m_backgroundColour/m_foregroundColour are no longer
21 always set, use GetFont(), GetBack/ForegroundColour() to access
22 them, and they will be dynamically determined if necessary.
25 ! The Sizers have had some fundamental internal changes in the 2.5.2
26 and 2.5.3 releases intended to make them do more of the "Right
27 Thing" but also be as backwards compatible as possible. First a bit
28 about how things used to work:
30 * The size that a window had when Add()ed to the sizer was assumed
31 to be its minimal size, and that size would always be used by
32 default when calculating layout size and positions, and the
33 sizer itself would keep track of that minimal size.
35 * If the window item was Add()ed with the wxADJUST_MINSIZE flag
36 then when layout was calculated the item's GetBestSize would be
37 used to reset the minimal size that the sizer used.
39 The main thrust of the new Sizer changes was to make behaviour like
40 wxADJUST_MINSIZE be the default, and also to push the tracking of
41 the minimal size to the window itself (since it knows its own needs)
42 instead of having the sizer take care of it. Consequently these
45 * The wxFIXED_MINSIZE flag was added to allow for the old
46 behaviour. When this flag is used the size a window has when
47 Add()ed to the sizer will be treated as its minimal size and it
48 will not be readjusted on each layout.
50 * The min size stored in wxWindow and settable with SetSizeHints or
51 SetMinSize will by default be used by the sizer (if it was set)
52 as the minimal size of the sizer item. If the minsize was not
53 set (or was only partially set) then the window's best size is
54 fetched and it is used instead of (or blended with) the minsize.
55 wxWindow:GetBestFittingSize was added to facilitate getting the
56 size to be used by the sizers.
58 * The best size of a window is cached so it doesn't need to
59 recalculated on every layout. wxWindow::InvalidateBestSize was
60 added and should be called (usually just internally in control
61 methods) whenever something is done that would make the best
64 * All wxControls were changed to set the minsize to what is passed
65 to the constructor or Create method, and also to set the real
66 size of the control to the blending of the minsize and bestsize.
67 wxWindow::SetBestFittingSize was added to help with this,
68 although most controls don't need to call it directly because it
69 is called indirectly via the SetInitialSize called in the base
72 At this time, the only situation known not to work the same as
73 before is the following:
75 win = new SomeWidget(parent);
76 win->SetSize(SomeNonDefaultSize);
79 In this case the old code would have used the new size as the
80 minimum, but now the sizer will use the default size as the minimum
81 rather than the size set later. It is an easy fix though, just move
82 the specification of the size to the constructor (assuming that
83 SomeWidget will set its minsize there like the rest of the controls
84 do) or call SetMinSize instead of SetSize.
86 In order to fit well with this new scheme of things, all wxControls
87 or custom controls should do the following things. (Depending on
88 how they are used you may also want to do the same thing for
89 non-control custom windows.)
91 * Either override or inherit a meaningful DoGetBestSize method
92 that calculates whatever size is "best" for the control. Once
93 that size is calculated then there should normally be a call to
94 CacheBestSize to save it for later use, unless for some reason
95 you want the best size to be recalculated on every layout.
97 * Any method that changes the attributes of the control such that
98 the best size will change should call InvalidateBestSize so it
99 will be recalculated the next time it is needed.
101 * The control's constructor and/or Create method should ensure
102 that the minsize is set to the size passed in, and that the
103 control is sized to a blending of the min size and best size.
104 This can be done by calling SetBestFittingSize.
106 ! wxURL has undergone some radical changes.
108 * Many accessors of wxURL - GetHostName, GetProtocolName, and GetPath,
109 have been replaced by its parent's (wxURI) counterparts.
111 * ConvertToValidURI has been replaced by wxURI, and even applications
112 with 2.4 compatability enabled will have the second parameter, delims,
115 * ConvertFromURI has been replaced by wxURI::Unescape.
117 - no initialization/cleanup can be done in wxApp/~wxApp because they are
118 now called much earlier/later than before; please move any exiting code
119 from there to wxApp::OnInit()/OnExit()
120 - also, OnExit() is not called if OnInit() fails
121 - finally the program exit code is OnRun() return value, not OnExit() one
122 - wxTheApp can't be assigned to any longer, use wxApp::SetInstance() instead
123 - wxFileType::GetIcon() returns wxIconLocation, not wxIcon
124 - wxColourDatabase is not a wxList any more, use AddColour to add new colours
125 - wxWindow::Clear() is now called ClearBackground()
126 - pointer returned by wxFont::GetNativeFontInfo() must not be deleted now
127 - wxMouseEvent::Moving() doesn't return true if mouse is being dragged any more
128 - (most) controls now inherit parents colours by default, override
129 ShouldInheritColours() to return false if you don't want this to happen
130 - wxApp::SendIdleEvent() now takes 2 arguments
131 - wxTabView::GetLayers() changed return type from wxList& to wxTabLayerList&
132 (when WXWIN_COMPATIBILITY_2_4 == 0)
133 - wxID_SEPARATOR (id used for the menu separators) value changed from -1 to -2
134 - wxGetNumberFromUser() is now in separate wx/numdlg.h, not wx/textdlg.h
135 - wxChoice and wxCombobox now handle their size in the same way as in all the
136 other ports under MSW, new code is actually correct but different from weird
137 stuff they were doing before so the behaviour of your programs might change
138 - wxTaskBarIcon objects must now be destroyed before the application can exit.
139 Previously, the application terminated if there were no top level windows;
140 now it terminates if there are no top level windows or taskbar icons left.
141 - wxZlibInputStream is not by default compatible with the output of the
142 2.4.x version of wxZlibOutputStream. However, there is a compatibility mode,
143 switched on by passing wxZLIB_24COMPATIBLE to the constructor.
144 - when WXWIN_COMPATIBILITY_2_4 == 0 wxHashTable uses a new implementation
145 not using wxList keyed interface (the same used when wxUSE_STL == 1),
146 the only incompatibility being that Next() returns a wxHashTable::Node*
147 instead of a wxNode*.
148 - non-const wxDC methods GetBackground(), GetBrush(), GetFont() and GetPen()
149 as well as wxWindow methods GetFont() and GetCursor() don't exist any more,
150 please fix your code -- it never worked correctly anyhow if you modified the
151 objects returned by these methods so you should simply switch to using const
153 - wxWindow::GetFont() now returns wxFont object instead of reference
154 - EVT_XXX macros are now type-safe; code that uses wrong type for event
155 handler's argument will no longer compile.
156 - Identical functionality of wxFileDialog::ParseWildcard,
157 wxGenericDirCtrl::ParseFilter, Motif and MSW parsing native dialogs
158 is now accessible in ::wxParseCommonDialogsFilter
159 - wxNotebookSizer and wxBookCtrlSizer are now deprecated -- they are no longer
160 needed, you can treat wxNotebook as any other control and put it directly
161 into the sizer that was wxNotebookSizer's parent sizer in old code.
162 - wxFile methods now return either wxFileOffset or wxFileSize_t which may be a
163 64 bit integer type, even on 32 bit platforms, instead of off_t and so the
164 return value of wxFile::Length(), for example, shouldn't be assigned to off_t
165 variable any more (the compiler might warn you about this)
166 - wxListItem::m_data is now of type wxUIntPtr, not long, for compatibility
170 DEPRECATED METHODS SINCE 2.4.x
171 ==============================
173 Deprecated methods may still be used but will disappear in future wxWidgets
174 versions, please update your code to not use them.
176 - wxURL::GetInputStream() and similar functionality has been depreciated in
177 favor of other ways of connecting, such as though sockets or wxFileSystem.
178 - wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount()
179 - wxSizer::Remove(wxWindow *), use Detach() instead [it is more clear]
180 - wxSizer::Set/GetOption(): use Set/GetProportion() instead
181 - wxKeyEvent::KeyCode(): use GetKeyCode instead
182 - wxList::Number, First, Last, Nth: use GetCount, GetFirst/Last, Item instead
183 - wxNode::Next, Previous, Data: use GetNext, GetPrevious, GetData instead
184 - wxListBase::operator wxList&(): use typesafe lists instead
185 - wxTheFontMapper: use wxFontMapper::Get() instead
186 - wxStringHashTable: use wxHashMap instead
187 - wxHashTableLong: use wxHashMap instead
188 - wxArrayString::GetStringArray: use wxCArrayString or alternative wxWidgets
189 methods taking wxArrayString
190 - wxArrayString::Remove(index, count): use RemoveAt instead
191 - wxTreeItemId conversion to long is deprecated and shouldn't be used
192 - wxTreeCtrl::GetFirst/NextChild() 2nd argument now has type wxTreeItemIdValue
193 and not long, please change declarations of "cookie"s in your code
194 accordingly -- otherwise your code won't work on 64 bit platforms
195 - [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and
196 SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles
197 - wxList keyed interface: use wxHashMap instead
198 - wxColourDatabase::FindColour(): use Find() instead (NB: different ret type)
199 - wxHashTable::Next: use wxHashTable::Node* or
200 wxHashTable::compatibility_iterator to store the return
202 - wxWave class; use wxSound instead
203 - The wxHIDE_READONLY flag for wxFileDialog was not implemented
204 and has now been removed
205 - wxTaskBarIcon::OnXXX() virtual methods: use events instead
206 - obsolete and not used wxUSE_GENERIC_DIALOGS_IN_MSW has been removed
207 - wxDbTable::wxDbTable with wxChar* deprecated, same with wxString& instead
218 - Norwegian (Bokmål) translation added (Hans F. Nordhaug)
219 - wxDynamicLibrary::HasSymbol() added
220 - added wxTextInputStream::operator>>(wchar_t) for compilers which support this
221 - added wxURI, a class for dealing with Uniform Resource Identifiers
222 - changed wxURL to inherit from wxURI and provide assignment and comparison
223 - Added UTF7 character conversion for platforms that don't support it
227 - recursive wxSizer::GetItem returns item of given window, sizer or nth index
228 - wxLayoutConstraints now use best size, not current size, for AsIs() condition
232 - wxPuts() now correctly outputs trailing new line in Unicode build
236 - fixed wxFileDialog::SetWildcard()
240 - wxDynamicLibrary::GetDllExt() now returns ".bundle", not ".dylib"
241 - wxDynamicLibrary::GetSymbol() now prepends underscore to the symbol name
245 - fixed enhanced metafiles loading from files (Andreas Goebel)
246 - wxRadioButtons no longer have to be consecutive in a group
254 - support for huge (>2 Gb) files (Tim Kosse)
255 - number of fixes to wxPluginManager (Rick Brice, Hans Van Leemputten)
256 - fixed memory leak in wxURL when using a proxy (Steven Van Ingelgem)
257 - fixed bug in wxDateTime::Set(jdn) when DST was in effect
258 - fixed fatal bug in wxString when wxUSE_STL==1 (Kurt Granroth)
259 - support msgids in charsets other than C and languages other than English
260 (based on patch by Stefan Kowski)
261 - added wxMicroSleep() and wxMilliSleep() replacing deprecated wxUsleep()
262 - basic UDP sockets support (Lenny Maiorani)
263 - fixed wxDateTime::GetWeekDayName() for some dates (Daniel Kaps)
264 - deprecated wxDateTime::SetToTheWeek() in favour of SetToWeekOfYear()
265 - active mode support in wxFTP (Randall Fox)
266 - sped up wxHTTP and wxFTP
267 - added wxStringInput/OutputStreams
268 - added wxFileConfig::Save(wxOutputStream)
269 - fixed wxString's behavior with inserted null characters
273 - added wxWindow::MoveBefore/AfterInTabOrder() to change tab navigation order
274 - added wxTaskBarIcon::CreatePopupMenu which is now the recommended way
275 of showing a popup menu; calling wxTaskBarIcon::PopupMenu directly
277 - added ..._CMD_...(id) variants for wxGrid event table entry macros
278 - added wxWindow::Navigate for programmatic navigation to the next control
279 - wxTextCtrl::OnChar now inserts a tab character if wxTE_PROCESS_TAB is set
280 - added wxKeyEvent::GetUnicodeKey()
281 - added wxKeyEvent::CmdDown() and wxMouseEvent::CmdDown()
282 - implemented wxListCtrl::FindItem() for non-MSW (Robin Stoll)
283 - added status bar fields styles support (Tim Kosse)
284 - added convenience functions wxSizer::AddSpacer() and
285 wxSizer::AddStretchSpacer() (as well as Prepend and Insert variants)
286 - added samples/splash
287 - added support for stock buttons
288 - added wxTopLevelWindow::RequestUserAttention()
289 - support for comma in contrib gizmo wxLEDNumberCtrl (Grant Likely)
290 - recursive wxSizer::Show for subsizer and return value if element was found
291 - added wxChoicebook control
292 - smoother time estimation updates in wxProgressDialog (Christian Sturmlechner)
293 - the XRC contrib library was moved to the core
294 - wx(Choice/List/Note)book controls send CHANG(ED/ING) events in SetSelection
295 - it is now possible to create a wxFont with given size in pixels (d2walter)
296 - added wxTopLevelWindow::IsActive()
297 - wxSystemSettings::GetMetric now returns -1 for metrics that are not
298 supported, instead of zero.
302 - wxTaskBarIcon now supports freedesktop.org System Tray protocol
303 - security fixes to wxSingleInstanceChecker
304 - wx-config script was modified to allow choosing from multiple installed
305 builds of wxWidgets and to return flags/libs for selected libraries only
306 - wx-config has new --version-full option
310 - added Unicode compatibility layer for OSX 10.2
311 - fixed so that wxCocoa runs in OSX 10.2
312 - Tooltips now supported
313 - wxSound now supported
314 - wxDisplay now supported
315 - Some stock cursors now supported
319 - fixed MLTE text control GetLineText and GetLineLength on OSX
320 - added OSX wxTaskBarIcon implementation for the OSX Dock
321 - added Unicode compatibility layer for OSX 10.2
322 - wxGetKeyState now works with nearly all wx key codes
326 - wxGTK uses GTK+ 2.x by default now, you have to pass --disable-gtk2 to
327 configure if you want to use GTK+ 1.2
328 - fixed many rendering artifacts and wrong colours with lots of GTK+ themes
329 - implemented wxColourDialog as native dialog
330 - implemented wxTextCtrl::HitTest() (GTK+ >= 2)
331 - implemented wxTextCtrl::ScrollLines() and ScrollPages for GTK+ 2.x
332 - wxTreeCtrl::GetCount() counts root as well now (compatible with MSW)
333 - added support for wxCHK_3STATE style (GTK2 only)
334 - implemented text underlining under GTK2
335 - implemented wxFRAME_NO_TASKBAR style (GTK >= 2.2)
336 - implemented support for wxSYS_DCLICK_?, wxSYS_DRAG_? and wxSYS_CURSOR_?
337 in wxSystemSettings::GetMetric (Mart Raudsepp)
338 - implemented wxTopLevel::IsMaximized() for GTK+2 and WMs that implement
339 freedesktop.org's wm-spec (Mart Raudsepp)
340 - wxEVT_CONTEXT_MENU is now generated for right mouse press, not release
341 - implemented alpha channel support in wxBitmap
342 - added native GTK+2 wxArtProvider implementation with ability to load
343 icons from icon theme in addition to recognized stock art
344 - fixed crash on 64 bit platforms (Paul Cornett)
348 - added support for wxCHK_3STATE style (3 state checkbox)
352 - fixed UNC paths handling in wxFileSystem (Daniel Nash)
353 - set wxKeyEvent::m_uniChar in Unicode build
354 - support for alpha channel in toolbar bitmaps (Jurgen Doornik)
355 - wxFileDialog can now be moved and centered (Randall Fox)
356 - restored (and improved) possibility to use wx with MFC broken in 2.5.2
357 - fixed wxTextCtrl::SetMaxLength for rich edit controls
358 - fixed flat style for toolbars under XP, Windows Classic style
359 - fixed truncation of transferred data in wxConnection under unicode build
360 - wxChoice and wxComboBox dropdown background can be set now too (Adrian Lupei)
361 - fixed wxMaximizeEvent generation in wxFrame
362 - don't send duplicate EVT_COMBOBOX events whenever selection changes any more
363 - implemented support for selecting printer bin (Steven Van Ingelgem)
364 - fixed wxListCtrl::SetSingleStyle() which was broken since a few releases
365 - fixed print setup problem (always uses default printer) in Unicode build
369 - fixed fatal crash when opening a menu
373 - added native WinCE driven smartphone wxTextCtrl implementation using spinners
374 - added native WinCE driven smartphone wxChoice implementation using spinners
375 - added automated but customizable handling of native WinCE driven smartphone menus
376 - fixed wxRadioBox and wxStaticBox
380 - added support for nested index entries and index entries pointing to more
381 than one page to wxHtmlHelpController
389 - Hindi translation added (Dhananjaya Sharma)
390 - Brazilian Portuguese translation added (E. A. Tacao)
391 - wxDynamicCast() now uses static_cast<wxObject *> internally and so using it
392 with anything not deriving from wxObject will fail at compile time (instead
394 - when wxUSE_STL == 1 and STL provides quasi-standard hash_map/hash_set,
395 wxHashMap/wxHashSet are just typedefs for them. This makes impossible
396 to forward declare these classes.
400 - wxHtmlWindow now delays image scaling until rendering,
401 resulting in much better display of scaled images
402 - Added UpdateSize to wxSplitterWindow to allow layout while hidden
403 - implemented Freeze/Thaw() for wxGenericTreeCtrl (Kevin Hock)
404 - support for KOI8-U encoding added (Yuriy Tkachenko)
405 - The old wxADJUST_MINSIZE behaviour is now the default behaviour for
406 sizer items that are windows. This means that GetAdjustedBestSize
407 will now be called by default to determine the minimum size that a
408 window in a sizer should have. If you want to still use the initial
409 size (and not the BestSize) then use the wxFIXED_MINSIZE flag. When
410 windows are added to a sizer their initial size is made the window's
411 min size using SetSizeHints, and calls to wxSizer::SetItemMinSize
412 are also forwarded to SetSizeHints for window items.
413 - added wxRegEx::GetMatchCount()
414 - it is now possible to display images in wxHtmlListBox
418 - wxWindow::Freeze()/Thaw() can now be nested
419 - Added wxSP_NO_XP_THEME style to wxSplitterWindow to switch off
420 XP theming (some applications look bad without 3D borders)
421 - wxMenuBar::GetLabelTop() doesn't include '&'s in the label any more
422 - wxRegConf couldn't read global settings without admin privileges and didn't
423 even try to do it by default -- now it does
424 - wxTaskBarIcon must be explicitly destroyed now, otherwise the application
425 won't exit even though there are no top level windows
426 - wxFileName::GetModificationTime() works with opened files too now
427 - wxDC::GetClippingBox() now works even for clipping regions created by Windows
428 - fixed wxFileDataObject in Unicode build (Alex D)
429 - subindented paragraphs support (Tim Kosse)
433 - added support for wxTE_RIGHT and wxTE_CENTRE styles under GTK2 (Mart Raudsepp)
437 - removed wxMenuItem::DeleteSubMenu()
438 - wxButtons use Motif default size, which is smaller than it used to be
439 and closer to wxMSW/wxGTK look. This can be disabled by setting
440 motif.largebuttons system option to 1 (see wxSystemOptions).
444 - implemented DrawRoundedRectangle() (clawghoul)
448 - improved tables and lists layout algorithms (Tim Kosse)
449 - <div> handling fix (Xavier Nodet)
453 - fixed priorities of mailcap entries (David Hart)
454 - added "wx-config --libs=std,<extra>" syntax (i.e. support for "std")
458 - Full Unicode support is now available
459 - BLOB support is working
467 - event table macros now do some minimal type safety checks (Michael Sögtrop)
468 - added wxGzipInput/OutputStream, bug fixes in wxZlibStreams (M.J.Wetherell)
469 - wxDateTime::ParseDateTime() implemented (Linus McCabe)
470 - wxHTTP::GetResponse() added (David Nock)
471 - added conversions to/from UTF 16/32 LE/BE (Andreas Pflug)
472 - added wxTextInputStream::ReadChar() (M.J.Wetherell)
473 - added translation to Afrikaans (Petri Jooste)
474 - Spanish translations updated (Javier San Jose)
475 - added gettext plural forms support to wxLocale (Michael N. Filippov)
476 - wxFileName::Normalize(wxPATH_NORM_ALL) doesn't lower filename case any more
477 - wxFileName::Normalize(wxPATH_NORM_ENV_VARS) now works
478 - check if file exists in wxFileConfig::DeleteFile() (Christian Sturmlechner)
479 - when wxUSE_STL == 1 wxHashTable will not be implemented using wxHashMap
481 - added some extra convenience functions to wxRect such as
482 GetBottomRight (Hajo Kirchhoff)
483 - changed built-in regex library to a Unicode-compatible version based
484 on TCL sources (Ryan Norton, M. J. Wetherell)
485 - added extra convenience functions to wxPoint for adding a
486 wxSize (Wlodzimierz Skiba)
487 - intermediate wxIPaddress class added to prepare for
488 wxIPV6address (Ray Gilbert)
489 - added overloaded constructors and Create() methods taking wxArrayString
490 for wxChoice, wxComboBox, wxListBox, wxRadioBox, wxCheckListBox,
491 wxSingleChoiceDialog, wxMultipleChoiceDialog
492 - renamed wxWave class to wxSound
496 - added 3-state checkboxes for MSW/Mac (Dimitri Schoolwerth)
497 - added some support for C++ exceptions in the library (do read the manual!)
498 - added wxListCtrl::GetViewRect()
499 - added wxTextCtrl::MarkDirty()
500 - wxToolBar::ToggleTool() now works for radio buttons (Dag Ã…gren)
501 - wxListCtrl now sends an END_LABEL event if editing was cancelled, too
502 - bug in wxRect ctor from two [out of order] wxPoints fixed (Steve Cornett)
503 - status text is now restored after wxMenu help is shown in it
504 - bug in wxWindow::RemoveEventHandler() fixed (Yingjun Zhang)
505 - make it possible to use wxRTTI macros with namespaces (Benjamin I. Williams)
506 - wxColourDatabase API now uses objects instead of pointers
507 - added resolution option to JPEG image handler (Jeff Burton)
508 - added wxCalendarEvent::SetDate, wxCalendarEvent::SetWeekDay
509 - wxGenericDirCtrl now accepts multiple wildcards
510 - added focus event forwarding to wxGrid (Peter Laufenberg)
511 - fixed scrollbar problem in wxGrid (not showing scrollbars
512 when sizing smaller) (Shane Harper)
513 - dbbrowse demo fixed for Unicode (Wlodzimierz Skiba)
514 - added wxStatusBar support to XRC (Brian Ravnsgaard Riis)
515 - wxMenu::Append and etc. return a pointer to the wxMenuItem that was
516 added or inserted, or NULL on failure.
517 - using a -1 (wxID_ANY) for menu or toolbar item IDs will now generate new id
518 - added option to generate C++ headers to wxrc utility (Eduardo Marques)
519 - added wxDC::DrawPolyPolygon() for MSW/PS (Carl-Friedrich Braun)
520 - wxBufferedDC now allows to preserve the background and is documented
521 - added wxDC::GetPartialTextExtents
525 - wxWidgets now builds under Win64
526 - fixed DDE memory leaks
527 - fixed wxTE_*WRAP styles handling
528 - wxTextCtrl::GetValue() works with text in non default encoding
529 - changed wxCrashReport to generate minidumps instead of text files
530 - wxRadioButtons are now checked when they get focus (standard behaviour)
531 - several fixes to owner drawn menu items (Christian Sturmlechner)
532 - wxGauge now supports full 32 bit range (Miroslav Rajcic)
533 - make it possible to give focus to the notebook tabs (Hajo Kirchhoff)
534 - MDI child frames are not always resizeable any more (Andrei Fortuna)
535 - fixed enumerating of entries/groups under '/' in wxRegConfig
536 - added wxSYS_ICONTITLE_FONT (Andreas Pflug)
537 - added wxPATH_NORM_SHORTCUT to wxFileName
538 - wxComboBox::GetValue within a wxEVT_COMMAND_TEXT_UPDATED event
539 should now pass the correct value even if the handler for
540 wxEVT_COMMAND_COMBOBOX_SELECTED changed the selection
541 - wxFileDialog now returns correct filter index for multiple-file dialogs
542 - added wxTextCtrl::HitTest()
543 - experimental wxURL implementation using WinInet functions (Hajo Kirchhoff)
544 - fixed several bugs in wxNotebook with wxNB_MULTILINE style
545 - accelerators are now initially hidden if appropriate (Peter Nielsen)
546 - background colour of a wxComboBox may now be set
547 - fixed wxListCtrl::GetItemText/BackgroundColour()
548 - Esc can now be used to close menus in the dialogs (Hartmut Honisch)
549 - Added msw.remap system option so colourful toolbar buttons
550 aren't mangled if you set it to 0. The default is 1
551 - Toolbar buttons are now centred if the bitmap size is smaller
552 than the specified default size
553 - Fixed a bug in wxSpinCtrl::DoGetBestSize that would make wxSpinCtrl too tall
557 - fixes to wxTextCtrl scrolling under GTK2 (Nerijus Baliunas)
558 - fix for crash when using user-dashed lines (Chris Borgolte)
559 - fixed wxChoice::Delete() in presence of client data
560 - allow calling wxWindow::SetFont if window not yet created
561 - use same average character width as other ports when calculating dialog units
562 - fixed mouse wheel handling under GTK2 (Hugh Fisher)
563 - wxNotebook::HitTest() implemented (Daniel Lundqvist)
564 - memory leaks fixes in wxFileDialog (John Labenski)
565 - don't drop click events from triple clicks (Frode Solheim)
569 - use same average character width as other ports when calculating dialog units
570 - implemented handling of mouse wheel
571 - fix for long file names (longer than 32 characters) in file dialogs
572 - use Unix sockets for Mach-o builds
576 - look for Motif 2.1 headers before Motif 1.2 ones in configure
580 - wxHtmlHelpController now supports compressed MS HTML Help files (*.chm)
581 on Unix (Markus Sinner)
585 - added XFree86 resolution changing using xf86vidmode extensions (Ryan Norton)
586 - implemented asynchronous playback in wxSound and added SDL backend in
587 addition to existing OSS one
588 - it is now possible to send PostScript to any output stream (Zoltan Kovacs)
596 - It is now possible to build several smaller libraries instead of single
597 huge wxWidgets library; wxBase is now dependency of GUI ports rather then
598 separately compiled library
599 - added wxDateSpan::operator==() and !=() (Lukasz Michalski)
600 - added wxFileName::GetForbiddenChars() (Dimitri Schoolwerth)
601 - use true/false throughout the library instead of TRUE/FALSE
602 - wxStopWatch::Start() resumes the stop watch if paused, as per the docs
603 - added wxDirTraverser::OnOpenError() to customize the error handling
604 - added wxArray::SetCount()
605 - wxFile, wxFFile, wxTextFile and wxTempFile now all use UTF-8 encoding
606 by default in Unicode mode
607 - bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed
608 - added wx/math.h (John Labenski)
609 - added Catalan translations (Pau Bosch i Crespo)
610 - added Ukrainian translations (Eugene Manko)
611 - fixed bug with deleting entries at root level in wxFileConfig
612 - chkconf.h now includes platform-specific versions (for MSW
613 and Mac) which contain some tests that were in setup.h
614 - added event sink argument to wxEvtHandler::Connect()
615 - added support for POST method and alt ports to wxHTTP (Roger Chickering)
616 - added wxSocket::IPAddress() (Chris Mellon)
617 - wxDataStreams can read/write many elements at once (Mickael Gilabert)
618 - added wxRecursionGuard class
619 - added wxThreadHelper class (Daniel Howard)
620 - Added STL support (--enable-stl for configure, wxUSE_STL in setup.h).
621 When enabled, wxString will derive from std::string, wxArray from,
622 std::vector, wxList from std::list. In addition wxHashTable will be
623 implemented in terms of wxHashMap.
624 - Added wxList::compatibility_iterator. Can be used like wxNode* (except
625 it can't be delete()d). It permits writing code which will work
626 both with wxUSE_STL==1 and wxUSE_STL==0.
630 - added Watcom makefiles
631 - fixed bug with searching in sorted arrays (Jürgen Palm)
635 - added wxVScrolledWindow, wxVListBox and wxHtmlLbox classes
636 - added wxListbook control
637 - added alpha channel support to wxImage
638 - added wxRenderer class allowing to customize the drawing of generic controls
639 - added wxCLOSE_BOX style for dialogs and frames
640 - added wxSplitterWindow and wxWizard handlers to XRC
641 - wxWizard is now sizer-friendly and may be made resizeable (Robert Vazan)
642 - added proportion to wxFlexGridSizer::AddGrowableRow/Col (Maxim Babitski)
643 - added wxFlexGridSizer::SetFlexibleDirection() (Szczepan Holyszewski)
644 - implemented GetEditControl for wxGenericTreeCtrl (Peter Stieber)
645 - improved contrib/utils/convertrc parsing (David J. Cooke)
646 - fixed handling of URLs and filenames in wxFileSystem
647 - implemented alignment for wxGrid bool editor and renderer
648 - support wxListCtrl columns alignment for all platforms and not just MSW
649 - added wxToolBar Add/InsertTool(tool) (Janusz Piwowarski)
650 - added wxTB_HORZ_TEXT style for MSW and GTK (Axel Schlueter)
651 - fixed user dash handling for MSW and GTK (Ken Edwards)
652 - WXR resources can now be used in Unicode builds
653 - it is now possible to use several wxFileHistory objects in the same menu
654 by giving them different base IDs (Dimitri Schoolwerth)
655 - Added wxTLW::SetShape with implementations for wxMSW and wxGTK (so far)
656 - FL: removed const from EnableTool parameters
657 - FL: signal child window when toolbar is closed
658 - In various places, changed tests for pathsep on last char of string to call
659 wxEndsWithPathSeparator(s)
660 - Added to defs.h a couple of macros (wxPtrToULong & wxULongToPtr)
661 - Minor improvements to document/view framework, including
662 delayed deletion of a document (until after the user has chosen
663 a new document), and more intelligent addition of filenames to
664 the file history, including not adding filenames if not using the
665 default extension for the template
666 - sped up wxImage::Scale using fixed point arithmetic (Wade Brainerd)
667 - Added BLOB support to wxDB (John Skiff)
668 - wxWizard now validates when pressing Back or Next
669 - Implemented wxNotebook::DoGetBestSize so Fit now works
670 - Added FindItemByPosition to wxMenu
671 - wxTimer now derives from wxEvtHandler and is its own owner object by default
672 - Extended wxTextAttr and added wxTextCtrl::GetStyle stub
673 to allow better rich text support.
674 - implemented wxFlexGridSizer::Show() (Wade Brainerd)
675 - Added m_ prefix to wxColourData and wxFontData members
676 - Added wxHtmlPrintout::AddFilter so HTML printing can be subject to
677 custom filters as well as HTML viewing.
678 - Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
679 - wxWindow::OnInternalIdle is now used in all ports, and ensures that
680 user OnIdle events do not interfere with crucial internal processing.
681 - wxWindow::UpdateWindowUI is now a documented function that
682 sends wxUpdateUIEvents, and can be overridden. It has a helper function
683 DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
684 - Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
685 CanUpdate, to assist with optimising update event frequency.
686 - Added functions to wxIdleEvent: Set/GetMode, CanSend, to
687 determine whether a window should receive idle events.
688 - Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
689 styles for use with conservative idle and update event modes.
690 - send menu update events only when a menu is about to be used (MSW/GTK)
691 - improved event processing performance (Hans Van Leemputten)
692 - added wxMirrorDC class
693 - printing improvements: GetPageInfo() gets called after the DC has
694 been set and after OnPreparePrinting() has been called so it can
695 report the number of pages accurately; doesn't try to set
696 number of pages in print dialog, in common with other Windows apps;
697 wxHTML easy printing's preview shows number of pages
698 correctly; preview scrollbars are set correctly; keyboard navigation
703 - fixed compilation on systems with zlib installed but < 1.1.3 version
704 - fixed compilation on Solaris 7 with large files support enabled
705 - added wxTaskBarIcon implementation for X11
706 - added support for GNU/Hurd in configure
707 - wxLocale::Init now tries to set .utf8 locale in Unicode mode (Andreas Pflug)
711 - implemented wxListCtrl::Refresh() (Norbert Berzen)
712 - support adding/removing columns dynamically (Donald C. Taylor)
713 - wxToolBarSimple, property list classes, wxTreeLayout moved
714 to contrib/src/deprecated
718 - added support for label mnemonics to GTK+2 build (Michael Moss)
719 - added native wxMessageDialog implementation for GTK+2 build
720 - fixed wxMenu::Remove (John Skiff and Benjamin Williams)
721 - made wxTextCtrl::EmulateKeyPress() work for Delete and Backspace
722 - fixed wxTopLevelWindow::ShowFullScreen to work with kwin, IceWM and
723 window managers that support _NET_WM_STATE_FULLSCREEN
724 - added wxEVT_MENU_OPEN event generation
725 - fixed bug in generic file selector causing incomplete file extensions to
726 be appended to filenames with no extension
727 - added wxTextCtrl::SetSelection implementation for GTK+ 2
728 - fixed wxTextCtrl::IsEditable() for GTK+ 2
729 - fixed wxStaticText alignment for GTK+ 2 (Kevin Hock)
730 - don't consume 100% CPU when showing a popup menu
734 - generate wxEVT_SCROLL_THUMBRELEASE and wxEVT_SCROLLWIN_THUMBRELEASE events
735 - generate wxEVT_MENU_OPEN and wxEVT_MENU_CLOSE events
739 - possibility to use DIBs for wxBitmap implementation (Derry Bryson)
740 - added wxCrashReport
741 - wxStaticBitmap doesn't stretch its bitmap any longer (like other ports)
742 - support for accelerator keys in the owner drawn menus (Derry Bryson)
743 - wxCaret::SetSize() doesn't hide the caret any longer as it used to
744 - wxCheckListBox::Check() doesn't send CHECKLISTBOX_TOGGLE event any more
745 - fixed bugs in wxThread::Wait() and IsAlive()
746 - fixed bug with wxTR_EDIT_LABELS not working with wxTR_MULTIPLE
747 - fixes for compilation with OpenWatcom and DigitalMars compilers
748 - fixed wxStaticText best size calculation (was wrong by '&' width)
749 - fixed calling wxFrame::Maximize(FALSE) before the window is shown
750 - added wxNotebook::HitTest() (Otto Wyss)
751 - libraries built with makefile.g95 have a _min or _cyg suffix (MinGW/Cygwin)
752 - when using DLL, wxLocalFSHandler was not being exported
753 - fixed problem with wxEvtHandler object not removed from wxPendingEvents
754 - Windows XP manifest is now included in wx.rc; it is no longer necessary
755 to ship .exe.manifest file with applications to support XP themes
756 - wxLocale::Init no longer reports error if trying to set Unicode-only locale
757 or if user's default locale is Unicode-only
758 - improved border handling under Windows XP
759 - partial fix for wxNotebook pages looking bad under XP: wxUSE_UXTHEME
760 enables XP theme engine code, and wxUSE_UXTHEME_AUTO tells
761 wxWidgets to use the theme tab colour for control backgrounds.
762 - disable wxNB_RIGHT, wxNB_LEFT, wxNB_BOTTOM notebook styles under Windows XP
763 - fixed release mode build with VC 7.x (Martin Ecker)
764 - added support for wxALWAYS_SHOW_SB style
765 - you don't need to add opengl32.lib when using VC++ now (David Falkinder)
769 - made wxFileDialog behaviour with complex wildcards more sensible (it still
770 does not support all the features other ports do); refer to wxFileDialog
771 documentation for a detailed explanation
772 - implemented wxWakeUpIdle
773 - for Motif 2.0, used the native combobox widget instead of the GPL'd
774 xmcombo; xmcombo is still used for Motif 1.x and Lesstif when compiled
775 with Motif 1.x compatibility
776 - implemented wxToggleButton
777 - wxRadioBox and wxStaticBox now use the default shadow (border) style
778 instead of a sunken border
779 - implemented wxBitmapDataObject
780 - finished wxClipboard implementation
784 - controls in toolbars now supported
788 - added text selection to wxHtmlWindow
789 - added SetFonts to HTML printing classes (Adrian Philip Look)
790 - it is now possible to force page break when printing by inserting
791 <div style="page-break-before:always"> into the markup (Greg Chicares)
792 - wxHtmlWindow now uses double buffering to prevent flicker
798 INCOMPATIBLE CHANGES SINCE 2.2.x
799 ================================
801 Please take a few minutes to read the following list, especially
802 paying attention to the most important changes which are marked
803 with '!' in the first column.
805 Also please note that you should ensure that WXWIN_COMPATIBILITY_2_2
806 is defined to 1 if you wish to retain maximal compatibility with 2.2
807 series -- however you are also strongly encouraged to try to compile
808 your code without this define as it won't be default any longer in
811 NB: if you want to build your program with different major versions
812 of wxWidgets you will probably find the wxCHECK_VERSION() macro
813 (see the documentation) useful.
818 ! wxArray<T>::Remove(size_t) has been removed to fix compilation problems
819 under 64 bit architectures, please replace it with RemoveAt() in your
822 ! wxArray<T> macros have been changed to fix runtime problems under 64 bit
823 architectures and as a side effect of this WX_DEFINE_ARRAY() can only be
824 used now for the pointer types, WX_DEFINE_ARRAY_INT should be used for the
825 arrays containing non-pointers.
827 - wxObject::CopyObject() and Clone() methods were removed because they
828 simply don't make sense for all objects
830 - wxEvent now has a pure virtual Clone() method which must be implemented
831 by all derived classes, if you have user-defined event classes please
832 add "wxEvent *Clone() const { return new MyEvent(*this); }" line to them
834 - small change to wxStopWatch::Pause() semantics, please see the documentation
836 - unlikely but possible incompatibility: the definition of TRUE has changed
837 from "1" to "(bool)1" (and the same thing for FALSE), so the code which
838 could be erroneously compiled previously such as doing "return FALSE" from
839 a function returning a pointer would stop compiling now (but this change
840 is not supposed to have any effects on valid code)
842 - another minor change: wxApp::OnAssert() has a new "cond" argument, you
843 must modify YourApp::OnAssert() signature if you were using it to override
844 the default assert handling.
848 ! the event type constants are not constants any more but are dynamically
849 allocated during run-time which means that they can't be used as case labels
850 in the switch()es, you must rewrite them to use if()s instead
852 You may also define WXWIN_COMPATIBILITY_EVENT_TYPES to get the old behaviour
853 but this is strongly discouraged, please consider changing your code
856 ! wxDialog does not derive from wxPanel any longer - if you were using it in
857 your code, please update it. The quick fix for the most cases is to replace
858 the occurrences of wxPanel with wxWindow.
860 ! if you handle (and don't skip) EVT_KEY_DOWN, the EVT_CHAR event is not
861 generated at all, so you must call event.Skip() in your OnKeyDown() if
862 you want to get OnChar() as well
864 - in general, the key events sent for the various non ASCII key combinations
865 have been changed to make them consistent over all supported platforms,
866 please see the wxKeyEvent documentation for details
868 - wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO
869 have changed (to fix some unfortunate clashes), please check your code to
870 ensure that no tests for wxYES or wxNO are broken: for example, the following
871 will *NOT* work any longer:
873 if ( flags & wxYES_NO )
876 ... do something else ...
878 - static wxWizard::Create() doesn't exist any more, the wizards are created
879 in the same way as all the other wxWindow objects, i.e. by directly using
882 - wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
884 - wxGridCellAttrProvider class API changed, you will need to update your code
885 if you derived any classes from it
887 - wxImage::ComputeHistogram()'s signature changed to
888 unsigned long ComputeHistogram(wxImageHistogram&) const
890 - wxEvtHandler cannot be copied/assigned any longer - this never worked but
891 now it results in compile-time error instead of run-time crashes
893 - WXK_NUMLOCK and WXK_SCROLL keys no longer result in EVT_CHAR() events,
894 they only generate EVT_KEY_DOWN/UP() ones
896 - the dialogs use wxApp::GetTopWindow() as the parent implicitly if the
897 parent specified is NULL, use wxDIALOG_NO_PARENT style to prevent this
900 - several obsolete synonyms are only retained in WXWIN_COMPATIBILITY_2_2 mode:
901 for example, use wxScrolledWindow::GetViewStart() now instead of ViewStart()
902 and GetCount() instead of Number() in many classes
904 - wxCmdLineParser does not use wxLog to output messages anymore.
905 to obtain the previous behaviour, add
906 wxMessageOutput::Set(new wxMessageOutputLog); to your program
907 (you will need to #include <wx/msgout.h>)
911 ! build system changed: setup.h is not a static file in include/wx any more
912 but is created as part of the build process under lib/<toolkit>/wx
913 where <toolkit> is of the form (msw|univ)[dll][u][d]. You'll need to update
914 the include path in your make/project files appropriately. Furthermore,
915 xpm.lib is no longer used by wxMSW, it was superseded by the wxXPMDecoder
916 class. You'll need to remove all references to xpm.lib from your
917 make/project files. Finally, the library names have changed as well and now
918 use the following consistent naming convention: wxmsw[ver][u][d].(lib|dll)
919 where 'u' appears for Unicode version, 'd' -- for the debug one and version
920 is only present for the DLLs builds.
922 - child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR
925 - all overloads of wxDC::SetClippingRegion() combine the given region with the
926 previously selected one instead of replacing it
928 - wxGetHomeDir() uses HOME environment variable and if it is set will not
929 return the programs directory any longer but its value (this function has
930 never been meant to return the programs directory anyhow)
932 - wxHTML apps don't need to include wx/html/msw/wxhtml.rc in resources file
933 anymore. The file was removed from wxMSW
938 ! You should use `wx-config --cxxflags` in your makefiles instead of
939 `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS
940 and the compiler flags for C++ files only, CFLAGS should still be used
941 to compile pure C files.
944 wxThread and related classes:
946 - The thread-related classes have been heavily changed since 2.2.x versions
947 as the old code had many serious problems. This could have resulted in
948 semantical changes other than those mentioned here, please review use of
949 wxThread, wxMutex and wxCondition classes in your code.
951 ! wxCondition now *must* be used with a mutex, please read the (updated) class
952 documentation for details and revise your code accordingly: this change was
953 unfortunately needed as it was impossible to ensure the correct behaviour
954 (i.e. absence of race conditions) using the old API.
956 - wxMutex is not recursive any more in POSIX implementation (it hasn't been
957 recursive in 2.2.x but was in 2.3.1 and 2.3.2), please refer to the class
958 documentation for the discussion of the recursive mutexes.
960 - wxMutex::IsLocked() doesn't exist any more and should have never existed:
961 this is was unique example of a thread-unsafe-by-design method.
972 - fixed loss of client data in wxChoice::SetString()
979 - added (partial) Indonesian translations (Bambang Purnomosidi D. P.)
980 - added wxSizer::Show()/Hide() (Carl Godkin)
981 - fixed bugs in wxDateTime::SetToWeekDay()/GetWeek()
985 - minor OpenBSD compilation/linking fixes, now builds OOB under OpenBSD 3.1
986 - don't include -I/usr/include nor -I/usr/local/include in wx-config output
987 - shared library symbols are now versioned on platforms that support it (Linux)
990 - Further work for GTK 2.0 and Unicode support.
991 - Addition of native frame site grip.
994 - Unicode support through Pango library.
998 - fixed crashes in wxListCtrl under XP
999 - added context menu for rich edit wxTextCtrl
1003 - fixed wxHTML to work in Unicode build
1010 - building wxBase with Borland C++ is now supported (Michael Fieldings)
1011 - wxSemaphore class added, many fixed to wxCondition and wxThread (K.S. Sreeram)
1012 - fixes to the command line parsing error and usage messages
1013 - modified wxFileName::CreateTempFileName() to open the file atomically
1014 (if possible) and, especially, not to leak the file descriptors under Unix
1015 - memory leak in wxHTTP fixed (Dimitri Schoolwerth)
1016 - fixes to AM_PATH_WXCONFIG autoconf macro
1017 - added wxHashMap class that replaces type-unsafe wxHashTable and is modelled
1018 after (non standard) STL hash_map
1019 - wxLocale now works in Unicode mode
1020 - wxLocale can now load message catalogs in arbitrary encoding
1021 - added wxShutdown() function (Marco Cavallini)
1022 - added wxEXPLICIT macro
1023 - IPC classes improved and memory leaks fixed (Michael Fielding).
1024 Global buffer removed, duplication in docs removed
1025 - debug new/free implementations made thread-safe
1029 - wxWidgets may be built using BSD and Solaris (and possibly other) make
1030 programs and not only GNU make
1031 - wxTCP-based IPC classes now support communicating over Unix domain sockets
1032 - wxWidgets may be built as a dynamic shared library under Darwin / Mac OS X
1033 lazy linking issues have been solved by linking a single module (.o) into
1034 the shared library (two step link using distrib/mac/shared-ld-sh)
1035 - fixed thread priority setting under Linux
1039 - it is now possible to set the icons of different sizes for frames (e.g. a
1040 small and big ones) using the new wxIconBundle class
1041 - implemented radio menu items and radio toolbar buttons
1042 - added possibility to show text in the toolbar buttons
1043 - added wxArtProvider class that can be used to customize the look of standard
1045 - significantly improved native font support
1046 - wxImage::ComputeHistogram() now uses wxImageHistogram instead of type-unsafe
1048 - added IFF image handler
1049 - fixed using custom renderers in wxGrid which was broken in 2.3.2
1050 - support for multiple images in one file added to wxImage
1051 (TIFF, GIF and ICO formats)
1052 - support for CUR and ANI files in wxImage added (Chris Elliott)
1053 - wxTextCtrl::GetRange() added
1054 - added wxGetFontFromUser() convenience function
1055 - added EVT_MENU_OPEN and EVT_MENU_CLOSE events
1056 - added Hungarian translations (Janos Vegh)
1057 - added wxImage::SaveFile(filename) method (Chris Elliott)
1058 - added wxImage::FloodFill and implemented wxWindowDC::DoFloodFill method
1059 for GTK+, Mac, MGL, X11, Motif ports (Chris Elliott)
1060 - added (platform-dependent) scan code to wxKeyEvent (Bryce Denney)
1061 - added wxTextCtrl::EmulateKeyPress()
1062 - Added wxMouseCaptureChangedEvent
1063 - Added custom character filtering to wxTextValidator
1064 - wxTreeCtrl now supports incremental keyboard search
1065 - wxMessageOutput class added
1066 - wxHelpProvider::RemoveHelp added and called from ~wxWindowBase
1067 so that erroneous help strings are no longer found as the hash
1069 - updated libpng from 1.0.3 to 1.2.4
1070 - Added wxView::OnClosingDocument so the application can do cleanup.
1071 - generic wxListCtrl renamed to wxGenericListCtrl, wxImageList
1072 renamed to wxGenericImageList, so they can be used on wxMSW
1074 - Added wxTreeEvent::IsEditCancelled so the application can tell
1075 whether a label edit was cancelled.
1076 - added static wxFontMapper::Get() accessor
1080 - small appearance fixes for native look under Windows XP
1081 - fixed the bug related to the redrawing on resize introduced in 2.3.2
1082 - fixed multiple bugs in wxExecute() with IO redirection
1083 - refresh the buttons properly when the window is resized (Hans Van Leemputten)
1084 - huge (40*) speed up in wxMask::Create()
1085 - changing wxWidgets styles also changes the underlying Windows window style
1086 - wxTreeCtrl supports wxTR_HIDE_ROOT style (George Policello)
1087 - fixed flicker in wxTreeCtrl::SetItemXXX()
1088 - fixed redraw problems in dynamically resized wxStaticText
1089 - improvements to wxWidgets applications behaviour when the system colours
1091 - choose implicit parent for the dialog boxes better
1092 - fixed wxProgressDialog for ranges > 65535
1093 - wxSpinButton and wxSpinCtrl now support full 32 bit range (if the version
1094 of comctl32.dll installed on the system supports it)
1095 - wxFontEnumerator now returns all fonts, not only TrueType ones
1096 - bugs in handling wxFrame styles (border/caption related) fixed
1097 - showing a dialog from EVT_RADIOBUTTON handler doesn't lead to an infinite
1099 - wxTextCtrl with wxTE_RICH flag scrolls to the end when text is appended to it
1100 - the separators are not seen behind the controls added to the toolbar any more
1101 - wxLB_SORT style can be used with wxCheckListBox
1102 - wxWindowDC and wxClientDC::GetSize() works correctly now
1103 - Added wxTB_NODIVIDER and wxTB_NOALIGN so native toolbar can be used in FL
1104 - Multiline labels in buttons are now supported (simply use "\n" in the label)
1105 - Implemented wxMouseCaptureChangedEvent and made wxGenericDragImage check it
1106 has the capture before release it.
1107 - fixed bugs in multiple selection wxCheckListBox
1108 - default button handling is now closer to expected
1109 - setting tooltips for wxSlider now works
1110 - disabling a parent window also disables all of its children (as in wxGTK)
1111 - multiple events avoided in wxComboBox
1112 - tooltip asserts avoided for read-only wxComboBox
1113 - fixed a race condition during a thread exit and a join
1114 - fixed a condition where a thread can hang during message/event processing
1115 - increased space between wxRadioBox label and first radio button
1116 - don't fail to register remaining window classes if one fails to register
1117 - wxFontDialog effects only turned on if a valid colour was
1118 provided in wxFontData
1119 - Added wxTE_LEFT, wxTE_CENTRE and wxTE_RIGHT flags for text control alignment.
1120 - Bitmap printing uses 24 bits now, not 8.
1124 - wxDirDialog now presents the file system in standard Unix way
1125 - wxButton now honours wxBU_EXACTFIT
1126 - wxStaticBox now honours wxALIGN_XXX styles
1127 - added support for non alphanumeric simple character accelerators ('-', '=')
1128 - new behaviour for wxWindow::Refresh() as it now produces a delayed refresh.
1129 Call the new wxWindow::Update() to force an immediate update
1130 - support for more SGI hardware (12-bit mode among others)
1131 - fixed wxDC::Blit() to honour source DC's logical coordinates
1132 - implemented wxIdleEvent::RequestMore() for simple background tasks
1133 - implemented wxChoice::Delete()
1134 - fixed bad memory leak in wxFileDialog (Chris Elliott)
1135 - made internal GC pool dynamically growable
1136 - added GTK+ 2 and Unicode support
1140 - improved colour settings return values (Ian Brown)
1141 - improved border style handling for wxStaticText (Ian Brown)
1142 - improved toolbar control alignment
1143 - implemented wxSpinButton
1144 - implemented wxCheckListBox
1145 - fixed wxSpinCtrl and wxStaticLine when used with sizers
1146 - wxStaticBitmap now shows transparent icons correctly
1150 - added generic MDI implementation (Hans Van Leemputten)
1151 - first cut at wxSocket support (not yet working)
1159 - First alpha-quality release
1163 - fixed wxHtmlHelpController's cache files handling on big endian machines
1164 - added blocking and redirecting capabilities to wxHtmlWindow via
1165 wxHtmlWindow::OnOpeningURL()
1166 - fixed alignment handling in tables
1167 - fixed <font face="..."> handling to be case insensitive
1172 New port: wxUniv for Win32/GTK+ is now included in the distribution.
1176 - wxRegEx class added
1177 - wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber)
1178 - wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen)
1179 - more fixes to wxMBConv classes. Conversion to and from wchar_t now works with
1180 glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s
1181 capabilities at runtime instead of in the configure script.
1185 - support for virtual list control added
1186 - column images in report mode of the list control
1187 - wxFindReplaceDialog added (based on work of Markus Greither)
1188 - wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK)
1189 - polygon support in wxRegion (Klaas Holwerda)
1190 - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added
1191 - fixed bug with using wxExecute() to capture huge amounts of output
1192 - new wxCalendarCtrl styles added (Søren Erland Vestø)
1193 - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh)
1194 - wxDirSelector() added (Paul A. Thiessen)
1195 - wxGrid cell editing veto support (Roger Gammans)
1196 - wxListCtrl ITEM_FOCUSED event added
1197 - support for ICO files in wxImage added (Chris Elliott)
1198 - improvements to wxDragImage (Chuck Messenger)
1202 - support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook)
1203 - new library naming convention under VC++ -- please change your application
1208 - fixed popup menu positioning bug
1209 - fixed the edit function for wxListCtrl (Chuck Messenger)
1210 - fixed the key-hitting events for wxListCtrl and wxTreeCtrl, so they
1211 correctly return the key which was pressed (Chuck Messenger)
1215 - support for configuration and build under Mac OS X using the Apple Developer
1220 - new HTML parser with correct parsing of character entities and fixes
1222 - added support for animated GIFs
1230 - Fixed new charset detection code
1231 - ODBC Informix fixes (submitted by Roger Gammans)
1232 - Added ODBC date support to wxVariant
1233 - Added wxDir::Traverse
1234 - Added wxSingleInstanceChecker class
1235 - Removed redundant wxDebugContext functions using C++ streams,
1236 so now standard stream usage should be unnecessary
1240 - Added wxDbGrid class for displaying ODBC tables
1241 - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the
1242 user code can get access to the edit control when it is created, (to
1243 push on a custom event handler for example)
1244 - Added wxTextAttr class and SetStyle, SetDefaultStyle and
1245 GetDefaultStyle methods to wxTextCtrl
1246 - Added wxSingleInstanceChecker
1247 - Improvements to Tex2RTF
1248 - Added Paul and Roger Gammans' grid controls
1249 - Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
1251 - Fixed memory leak in textcmn.cpp
1252 - Various wxXML enhancements
1253 - Removed wxCLIP_CHILDREN style from wxSplitterWindow
1254 - Fixed memory leak in DoPrint, htmprint.cpp
1255 - Fixed calendar sample bug with using wxCommandEvent::GetInt()
1257 - Added wxDbGrid combining wxODBC classes with wxGrid
1258 - Added more makefiles and project files for contrib hierarchy
1262 - Fixed wxApp::ProcessMessage so controls don't lose their
1263 accelerators when the accelerators are redefined elsewhere
1264 - Accelerators consisting of simple keystrokes (without control,
1265 alt or shift) now work
1266 - Compile fixes for Watcom C++ added
1267 - Compile fixes for Cygwin 1.0 added
1268 - Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop()
1269 - Replaced wxYield() call in PopupMenu() by a much safer
1270 wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones
1271 - Enter processing in wxSpinCtrl fixed
1272 - Fixed bug in determining the best listbox size
1273 - Fix for wxFrame's last focus bug
1274 - We now send iconize events
1275 - Fixed wxFrame::SetClientSize() with toolbar bug
1276 - Added mousewheel processing
1277 - Added wxSystemSettings::Get/SetOption so we can configure
1278 wxWidgets at run time; used this to implement no-maskblt option
1280 - Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
1281 child frame styles are honoured
1285 - Fixed slider rounding bug
1286 - Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
1287 - We now send iconize events
1288 - Fix for discrepancies between wxNotebookEvent and wxNotebook
1289 GetSelection() results
1296 - fixed problem with wxURL when using static version of the library
1297 - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories
1298 - wxMimeTypesManager now can create file associations too (Chris Elliott)
1299 - wxCopyFile() respects the file permissions (Roland Scholz)
1300 - wxFTP::GetFileSize() added (Søren Erland Vestø)
1301 - wxDateTime::IsSameDate() bug fixed
1302 - wxTimeSpan::Format() now behaves more as expected, see docs
1303 - wxLocale now provides much more convenient API for setting language and
1304 detecting current system language. New API is more abstracted and truly
1305 cross-platform, independent of underlying C runtime library.
1309 - new wxToggleButton class (John Norris, Axel Schlueter)
1310 - wxCalendarCtrl not highlighting the date with time part bug fixed
1311 - wxADJUST_MINSIZE sizer flag added
1312 - FindOrCreateBrush/Pen() bug fix for invalid colour values
1313 - new wxXPMHandler for reading and writing XPM images
1314 - added new (now recommended) API for conversion between wxImage and wxBitmap
1315 (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of
1316 wxImage methods and ctor)
1317 - ODBC classes now support DB2, Interbase, and Pervasive SQL
1318 - ODBC documentation complete!!
1319 - ODBC classes have much Unicode support added, but not complete
1320 - ODBC experimental BLOB support added, but not completely tested
1321 - ODBC NULL column support completed (Roger/Paul Gammans)
1322 - ODBC All "char *" and char arrays removed and replaced with wxString use
1326 - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen)
1327 - fixed bug in MDI children flags (mis)handling
1328 - it is possible to compile wxCHMHelpController with compilers
1329 other than Visual C++ now and hhctrl.ocx is loaded at runtime
1333 - added support for wchar_t (wxUSE_WCHAR_T) under Unix
1337 - mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup
1338 - visual enhancements to contents panel of wxHtmlHelpController
1345 - Fixed bug with directories with trailing (back)slashes in wxPathExists
1346 - wxString: added wxArrayString::operator==() and !=()
1347 - Fixes for wxCmdLineParser
1348 - Added wxGetLocalTimeMillis
1349 - Completed Czech translations
1350 - Some stream corrections
1351 - added missing consts to wxPoint operators
1352 - wxDateTime ParseFormat fixes
1353 - wxFile::Open(write_append) will create file if it doesn't exist
1354 - small fixes to MIME mailcap test command handling, more MIME tests in the sample
1358 - wxGenericDragImage now allows virtual image drawing, and
1359 flicker-free dragging is now possible
1360 - Added wxPrinter::GetLastError
1361 - Fixed wxLogGui reentrancy problem
1362 - Paper names now translated
1364 - Generic validator now caters for more cases (integers in
1365 wxTextCtrl, strings in wxChoice, wxComboBox)
1366 - Fixed crash when docview On... functions return FALSE. Show
1367 error message when an non-existent filename is typed into the Open
1369 - Corrected Baltic font encoding handling
1370 - wxImage: enhanced TIFF code, added new platform-independent BMP
1372 - wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
1373 - Fixed wxPropertyForm crashes in sample
1374 - wxWizard now calls TransferDataFromWindow() before calling
1375 wxWizardPage::GetNext() fixing an obvious bug
1379 - wxWindow::GetCharWidth/Height now calculated accurately.
1380 This will affect all .wxr dialog resources, so for
1381 backward compatibility, please set
1382 wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h
1383 - wxListCtrl: set item text in LIST_ITEM_ACTIVATED events
1384 - wxTextCtrl: implemented setting colours for rich edit controls
1385 - wxColour now accepts both grey and gray
1386 - BC++ DLL compilation fixed
1387 - Watcom C++ makefiles improved for JPEG and TIFF compilation
1388 - Fixed submenu accelerator bug
1389 - Fixed dialog focus bug (crash if the previous window to have
1390 the focus was destroyed before the dialog closed)
1391 - Too-small default wxTextCtrl height fixed
1392 - fixed "missing" initial resize of wxMDIChildFrame
1393 - wxFrame restores focus better
1394 - Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to
1395 frames and dialogs, interferes with other window styles otherwise
1396 (sometimes you'd get a thick frame in a subwindow)
1397 - wxTextCtrl insertion point set to the beginning of the control by SetValue
1398 - Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
1399 - wxFileDialog: adjusts struct size if there's an error (struct
1400 sizes can be different on different versions of Windows)
1401 - wxImageList::GetSize() documented and added to wxMSW
1402 - fixed default dialog style to make them non resizeable again
1403 - fixed wxFrame::IsShown() which always returned TRUE before
1407 - Please see docs/gtk/changes.txt.
1411 - Small compilation fixes
1415 - wxCaret documented
1427 - Added wxCHMHelpController, for invoking MS HTML Help
1428 files. This works under VC++ only
1429 - Modal dialog handling improved
1430 - Printer dialog now modal
1445 - Added docs/tech for technical notes
1449 - Started new contrib hierarchy that mirrors
1450 the main lib structure; moved OGL and MMedia into it
1455 - wxDateTime replaces and extends old wxDate and wxTime classes (still
1456 available but strongly deprecated) with many new features
1457 - wxLongLong class provides support for (signed) 64 bit integers
1458 - wxCmdLineParser class for parsing the command line (supporting short and
1459 long options, switches and parameters of different types)
1460 - it is now possible to build wxBase under Win32 (using VC++ only so far)
1461 and BeOS (without thread support yet)
1462 - wxThread class modified to support both detached and joinable threads, also
1463 added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
1465 - wxDir class for enumerating files in a directory
1466 - wxLog functions are now (more) MT-safe
1467 - wxStopWatch class, timer functions have more chances to return correct
1468 results for your platform (use ANSI functions where available)
1469 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
1470 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
1472 - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
1476 - Added wxImage::Rotate.
1477 - new wxCalendarCtrl class for picking a date interactively
1478 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu management
1479 - wxToolBar supports arbitrary controls (not only buttons) and can be
1480 dynamically changed (Delete/Insert functions)
1481 - vertical toolbars supported by MSW and GTK native wxToolBar classes
1482 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
1483 - "file open" dialog allows selecting multiple files at once (contributed by
1485 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
1486 MIME types if available (Unix only)
1487 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
1488 - TIFF support added (libtiff required and included in the distribution)
1489 - PCX files can now be written (256 and 24 bits)
1490 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
1491 - wxScrolledWindow now has keyboard interface
1492 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
1493 - added wxEncodingConverter and improved wxFontMapper
1494 for dealing with conversions between different encodings,
1495 charsets support in wxLocale and wxHTML
1496 - wxDragImage class added
1497 - samples/help improved to show standard and advanced HTML help
1498 controllers, as well as native help
1499 - moved wxTreeLayout class to main lib
1503 - wxFrame::MakeFullScreen added.
1504 - support for enhanced metafiles added, support for copying/pasting metafiles
1505 (WMF and enhanced ones) fixed/added.
1506 - implemented setting colours for push buttons
1507 - wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be
1508 positioned along the top of the screen and not only at the bottom
1509 - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun)
1510 - loading/saving big (> 32K) files in wxTextCtrl works
1511 - tooltips work with wxRadioBox
1512 - wxBitmap/wxIcon may be constructed from XPM included into a program, as in
1514 - returning FALSE from OnPrintPage() aborts printing
1515 - VC++ makefiles and project files made (mostly) consistent
1516 - wxSetCursorEvent added
1520 - wxFontMapper endless recursion bug (on some systems) fixed
1521 - wxGTK synthesizes wxActivateEvents
1522 - UpdateUI handlers may be used with wxTextCtrl
1526 - wxMenu::Enable works
1527 - wxToolBar bugs fixed
1528 - OGL samples made to work again
1532 - almost complete rewrite of wxHtmlHelpController,
1533 including faster search, bookmarks, printing, setup dialog
1534 and cross-platform binary compatible .cached files for faster
1535 loading of large helpbooks, case insensitive search
1536 split into 3 parts: wxHtmlHelpData, Frame and Controller
1537 - added support for charsets and <meta> tag
1538 - added support for font faces and justified paragraphs,
1539 taken some steps to prepare wxHTML for frames
1540 - added dynamic pushing/popping of wxHtmlParser tag handlers
1541 - improved HTML printing
1542 - added extensive table of HTML characters substitutions ( etc.)
1543 - fixed wxHtmlWindow flickering, several minor bugfixes
1544 - added some tags: <address>, <code>, <kbd>, <samp>, <small>, <big>,
1545 fixed handling of relative and absolute font sizes in <font size>
1548 NOTE: for changes after wxWidgets 2.1.0 b4, please see the CVS
1551 2.1.0, b4, May 9th 1999
1552 -----------------------
1556 - JPEG support added.
1557 - Many fixes and changes not thought worth mentioning in this file :-)
1561 - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
1563 - JPEG support added.
1564 - Fixes for Cygwin compilation.
1565 - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
1566 - Many fixes people didn't tell this file about.
1573 - Some changes for Unicode support, including wxchar.h/cpp.
1576 2.0.1 (release), March 1st 1999
1577 -------------------------------
1582 - Slider/spinbutton fixes.
1586 - Fixed problems with <return> in dialogs/panels.
1587 - Fixed window cursor setting.
1588 - Fixed toolbar sizing and edge-clipping problems.
1589 - Some makefile fixes.
1597 - Added wxUSE_SOCKETS.
1598 - More topic overviews.
1599 - Put wxPrintPaperType, wxPrintPaperDatabase into
1600 prntbase.h/cpp for use in non-PostScript situations
1601 (e.g. Win16 wxPageSetupDialog).
1604 Beta 5, February 18th 1999
1605 --------------------------
1609 - wxExecute improved.
1613 - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
1615 - Changed VC++ makefiles (.vc) so that it's possible to have
1616 debug/release/DLL versions of the library available simultaneously,
1617 with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
1618 - Added BC++ 5 IDE files and instructions.
1619 - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
1620 - Fixed focus-related crash.
1624 - Cured asynchronous wxExecute crash.
1625 - Added repaint event handlers to wxFrame, wxMDIChildFrame.
1629 - wxLocale documented.
1630 - Added include filenames to class reference.
1631 - wxHelpController API changed: SetBrowser becomes SetViewer,
1632 DisplaySection works for WinHelp, help sample compiles under Windows
1633 (though doesn't display help yet).
1635 Beta 4, February 12th 1999
1636 --------------------------
1640 - Miscellaneous fixes.
1644 - Makefiles for more compilers and samples; Cygwin makefiles
1646 - Added VC++ project file for compiling wxWidgets as DLL.
1650 - Added OnEraseBackground invocation.
1651 - Added wxRETAINED implementation for wxScrolledWindow.
1652 - Cured scrolling display problem by adding XmUpdateDisplay.
1653 - Tried to make lex-ing in the makefile more generic (command line
1654 syntax should apply to both lex and flex).
1655 - Changed file selector colours for consistency (except for buttons:
1656 crashes for some reason).
1657 - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
1658 of malloc, which causes memory problems).
1662 - Further doc improvements.
1663 - wxGenericValidator added.
1664 - Added wxImageModule to image.cpp, so adds/cleans up standard handlers
1667 Beta 3, January 31st 1999
1668 -------------------------
1672 - wxClipboard/DnD API changes (still in progress).
1673 - wxToolTip class added.
1674 - Miscellaneous fixes.
1678 - wxRegConfig DeleteAll bug fixed.
1679 - Makefiles for more compilers.
1680 - TWIN32 support added.
1681 - Renamed VC++ makefiles from .nt to .vc, and
1682 factored out program/library settings.
1683 - Fixed wxIniConfig bug.
1687 - A few more colour fixes.
1688 - wxGLCanvas and OpenGL samples working.
1689 - Some compiler warnings fixed.
1690 - wxChoice crash fix.
1691 - Dialog Editor starting to work on Motif.
1695 - wxBusyCursor class added.
1696 - Added samples/dde.
1697 - More doc improvements, incl. expanding docs/html/index.htm.
1699 Beta 2, January 1999
1700 --------------------
1706 - 16-bit BC++ compilation/linking works albeit without the resource system.
1710 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
1712 - Cured some widget table clashes.
1713 - Added thread support (Robert).
1714 - wxPoem sample now works.
1718 - Rearranged documentation a bit.
1719 - Sash window uses area of first frame/dialog to paint over when drawing
1720 the dragged sash, not just the sash window itself (it clipped to the right
1722 - Made resource sample use the correct Cancel button id.
1723 - Moved wxProp to main library (generic directory), created proplist
1725 - Added bombs and fractal samples.
1727 Beta 1, December 24th 1998
1728 --------------------------
1734 wxMSW, wxMotif: not in sync with this release.
1737 Alpha 18, December 29th 1998
1738 ----------------------------
1742 - Win16 support working again (VC++ 1.5)
1743 - Win16 now uses generic wxNotebook, wxListCtrl,
1744 wxTreeCtrl -- more or less working now, although
1745 a little work on wxNotebook is still needed.
1746 Under 16-bit Windows, get assertion when you click
1748 - Wrote 16-bit BC++ makefiles: samples don't yet link.
1749 - Added CodeWarrior support to distribution courtesy
1754 - Cured scrolling problem: scrollbars now show/hide themselves
1755 without (permanently) resizing the window.
1756 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
1757 that disabled scrollbar paging.
1758 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
1760 - Removed major bug whereby dialogs were unmanaged automatically
1761 when any button was pressed.
1762 - Fixed colours of wxWindow scrollbars, made list and text controls
1763 have a white background.
1764 - Fixed dialog colour setting.
1765 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
1766 they have sensible colours by default.
1767 - Fixed a bug in wxStaticBox.
1768 - Cured wxTreeCtrl bug: now works pretty well!
1769 - Debugged DrawEllipticArc (a ! in the wrong place).
1770 - Added SetClippingRegion( const wxRegion& region ).
1771 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
1773 Alpha 17, November 22nd 1998
1774 ----------------------------
1778 - More documentation updates, especially for
1779 wxLayoutWindow classes and debugging facilities.
1780 - Changed wxDebugContext to use wxDebugLog instead
1782 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
1783 However, DLL support may be broken for BC++ since
1784 VC++ 6 required changing of WXDLLEXPORT keyword
1786 - Numerous miscellaneous changes.
1790 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
1791 were too buggy (probably not design for dynamic addition/removal of
1793 - Some improvements to the wxNotebook implementation.
1794 - wxToolBar now uses a bulletin board instead of a form, in an attempt
1795 to make it possible to add ordinary wxControls to a toolbar.
1796 - Cured problem with not being able to use global memory operators,
1797 by defining two more global operators, so that the delete will match
1798 the debugging implementation.
1799 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
1800 global memory operators (usually OK) and #defining new to be
1801 WXDEBUG_NEW (sometimes it might not be OK).
1802 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
1803 - Added a parent-existence check to popup menu code to make it not crash.
1804 - Added some optimization in wxWindow::SetSize to produce less flicker.
1805 It remains to be seen whether this produces any resize bugs.
1807 It's a long time since I updated this file. Previously done:
1809 - wxFrame, wxDialog done.
1810 - wxScrolledWindow done (but backing pixmap not used at present).
1811 - wxBitmap done though could be tidied it up at some point.
1812 - Most basic controls are there, if not rigorously tested.
1813 - Some MDI support (menus appear on child frames at present).
1814 - wxNotebook almost done.
1815 - wxToolBar done (horizontal only, which would be easy to extend
1816 to vertical toolbars).
1820 - Colour and font changing done (question mark over what happens
1822 - Accelerators done (for menu items and buttons). Also event loop
1823 tidied up in wxApp so that events are filtered through ProcessXEvent.
1824 - wxWindow::GetUpdateRegion should now work.
1826 Alpha 16, September 8th 1998
1827 ----------------------------
1831 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
1833 - Guilhem's socket classes added, plus wxsocket sample.
1834 - A few more makefiles added.
1835 - GnuWin32/BC++ compatibility mods.
1836 - Further doc updates.
1837 - wxProp updates for correct working with wxGTK.
1841 - First start at Motif port.
1842 - Made makefiles for wxMotif source directory and minimal sample.
1843 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
1844 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
1845 wxMenu, wxMenuItem, wxMenuBar
1847 Alpha 15, August 31st 1998
1848 --------------------------
1852 - wxBitmap debugged.
1853 - wxDC::GetDepth added.
1854 - Contribution added whereby wxBitmap will be
1855 converted to DC depth if they don't match.
1856 - wxConfig API improved, documentation updated.
1857 - Printing classes name conventions cleaned up.
1858 - wxUpdateUIEvent now derives from wxCommandEvent
1859 so event can travel up the window hierarchy.
1861 Alpha 14, July 31st 1998
1862 ------------------------
1866 - Toolbar API has been simplified, and now
1867 wxFrame::GetClientArea returns the available client
1868 area when toolbar, status bar etc. have been accounted for.
1869 wxFrame::CreateToolBar added in line with CreateStatusBar.
1870 - Documentation updates, incl. for wxToolBar.
1871 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
1872 - Various additions from other folk, e.g. streams, wxConfig
1873 changes, wxNotebook.
1874 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
1876 Alpha 13, July 8th 1998
1877 -----------------------
1881 - Implemented wxPoint as identical to POINT on Windows, and
1882 altered wxDC wxPoint functions to use wxPoint directly in
1883 Windows functions, for efficiency.
1884 - Cured wxASSERT bug in wxStatusBar95.
1885 - #ifdefed out some bits in oleutils.cpp for compilers that
1887 - Added some operators to wxPoint, wxSize.
1888 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
1890 Alpha 12, July 7th 1998
1891 -----------------------
1895 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
1896 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
1898 Alpha 11, July 3rd 1998
1899 -----------------------
1903 - Added thread.h, thread.cpp.
1904 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
1906 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
1907 SetTextColor to SetTextColour, and added or made public several
1908 wxMenuItem accessors.
1909 - Added two overloads to wxRegion::Contains. Added
1910 wxRegion::IsEmpty for a more consistent naming convention.
1911 - Added Vadim's wxDataObject and wxDropSource.
1912 - ENTER/LEAVE events now work.
1913 - Cured wxMemoryDC bug where the DC wasn't being deleted.
1914 - Cured wxGauge SetSize major bugginess.
1915 - Cured problem where if a GDI object was created on the stack,
1916 then went out of scope, then another object was selected into
1917 the DC, GDI objects would leak. This is because the assignment
1918 to e.g. wxDC::m_pen would delete the GDI object without it first
1919 being selected out of the DC. Cured by selecting the old DC object
1920 first, then doing the assignment.
1921 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
1922 - Various other bug fixes and additions.
1926 - Major work on Dialog Editor (still plenty to go).
1927 - Expanded documentation a bit more.
1929 Alpha 10, May 7th 1998
1930 ----------------------
1934 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
1935 and wxIcon functions so that you can specify what size of
1936 icon should be loaded. Probably will remain a Windows-specific thing.
1937 - wxStatusBar95 now works for MDI frames.
1938 - Toolbars in MDI frames now behave normally. They still
1939 require application-supplied positioning code though.
1940 - Changed installation instructions, makefiles and batch files
1941 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
1942 change to support Mingw32/EGCS. Bison now used by default.
1944 Alpha 9, April 27th 1998
1945 ------------------------
1949 - Cured bug in wxStatusBar95 that caused a crash if multiple
1951 - Added Gnu-Win32 b19/Mingw32 support by changing resource
1952 compilation and pragmas.
1953 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
1954 commands because VZ changed the id setting in wxMenu::MSWCommand.
1958 - Corrected some bugs, such as the wxModule compilation problem.
1959 - Added Gnu-Win32 b19/Mingw32 support by changing resource
1960 compilation and pragmas.
1961 - Changed SIZEOF to WXSIZEOF.
1963 Alpha 8, April 17th 1998
1964 ------------------------
1968 - Added IsNull to wxGDIObject to check if the ref data is present or not.
1969 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
1971 - Added wxJoystick class and event handling, and simple demo.
1972 - Added simple wxWave class. Needs Stop() function.
1973 - Added wxModule (module.h/module.cpp) to allow definition
1974 of modules to be initialized and cleaned up on wxWidgets
1976 - Start of Mingw32 compatibility (see minimal and dialogs samples
1977 makefile.m95 files, and install.txt).
1978 - Note: Windows printing has stopped working... will investigate.
1980 - Updated wxString: bug fixes, added wxArrayString, some
1981 compatibility functions.
1982 - Updated log.h/cpp, added wxApp::CreateLogTarget.
1983 - file.h: new wxTempFile class.
1984 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
1985 - statbr95: wxStatusBar95 control.
1986 - registry.h/cpp: wxRegKey class for Win95 registry.
1987 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
1988 - wxConfig and wxFileConfig classes.
1992 - Added src/other/png, src/other/zlib directories.
1993 - Added samples/png.
1994 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
1995 Porters, please check particularly your wxTreeCtrl and wxListCtrl
1997 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
1999 Alpha 7, March 30th 1998
2000 ------------------------
2004 - Added tab classes, tab sample.
2005 - Now can return FALSE from OnInit and windows will be
2006 cleaned up properly before exit.
2007 - Improved border handling so panels don't get borders
2009 - Debugged MDI activation from Window menu.
2010 - Changes to memory debug handling, including checking for
2011 memory leaks on application exit - but see issues.txt for
2013 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
2014 to allow maintenance of an icon in the Windows 95 taskbar
2016 - Got MFC sample working (MFC and wxWidgets in the same
2017 application), partly by tweaking ntwxwin.mak settings.
2018 - Got DLL compilation working again (VC++).
2019 - Changed wxProp/Dialog Editor filenames.
2023 - Added tab classes, tab sample.
2024 - Revised memory.cpp, memory.h slightly; memory.h now #defines
2025 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
2026 now checks for leaks on exit. Added memcheck sample.
2027 See src/msw/issues.txt for more details.
2028 - resource.h, resource.cpp changed to make wxDefaultResourceTable
2029 a pointer. Now initialize resource system with
2030 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
2031 allow better control of memory.
2032 - wxString now derives from wxObject, to enable memory leak
2034 - Added some #include fixes in various files, plus changed
2035 float to long in wxToolBar files.
2037 Alpha 6, March 10th 1998
2038 ------------------------
2042 - Found stack error bug - stopped unwanted OnIdle recursion.
2043 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
2044 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
2045 check if the number of top-level windows is zero before
2046 exiting. Also, wxApp::GetTopWindow will return either
2047 m_topWindow or the first member of wxTopLevelWindows, so you
2048 don't have to call wxApp::SetTopWindow.
2049 - Added dynarray.h/dynarray.cpp (from Vadim).
2050 - Added first cut at OLE drag and drop (from Vadim). dnd sample
2051 added. Drop target only at this stage. See src/msw/ole/*.cpp,
2052 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
2053 Doesn't work with GnuWin32 - no appropriate headers e.g. for
2055 Doesn't work with BC++ either - crashes on program startup.
2056 - Added Vadim's owner-draw modifications - will probably remain
2057 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
2058 - Added wxLB_OWNERDRAW for owner-draw listboxes.
2059 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
2060 Doesn't entirely work for WIN16.
2061 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
2062 can also be used as an argument to wxMenu::Append, not just for
2063 internal implementation.
2064 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
2065 in makeg95.env, together with mingw32.bat). However, resource
2066 binding is not working yet so most apps with dialogs crash.
2070 - Added Vadim's dynarray.h, dynarray.cpp.
2071 - Added Vadim's menuitem.cpp.
2072 - Added Windows-specific wxCheckListBox,
2073 owner-draw wxListBox, and drag-and-drop
2074 (see docs/msw/changes.txt).
2076 Alpha 5, 14th February 1998
2077 --------------------------
2081 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
2082 DISTRIBUTIONS. This change log will therefore now refer to
2083 the Windows-specific code only. See docs/changes.txt for generic
2085 - Removed Windows-specific reference counting system (GDI
2086 resources were cleaned up in idle time) - minimal
2087 advantages now we have a wxWin reference counting system.
2088 - Added missing WXDLLEXPORT keywords so DLL compilation works
2090 - Removed most warnings for GnuWin32 compilation.
2091 - Added wxRegion/wxRegionIterator, but haven't yet used it in
2096 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
2097 DISTRIBUTIONS. This change log will therefore now refer to
2098 the generic code only. See docs/msw/changes.txt for Windows-specific
2100 - Readmes, change logs and installation files now go in
2101 platform-specific directories under docs, e.g. docs/msw,
2103 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
2104 created dynamically, not as a global object.
2105 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
2106 - Changed names of some include/wx/generic headers to be
2107 consistent and to conform to gcc pragma conventions. Also
2108 changed choicesg.cpp to choicdgg.cpp.
2109 - Added gcc pragmas.
2110 - Added gtk inclusion in include/wx headers.
2111 - Added consistent file headings to source and headers.
2112 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
2113 added a few references to wxTransString.
2114 - Added operator to wxTransString that converts automatically
2115 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
2116 - samples/internat now works (minimally).
2117 - Added wxMouseEvent::GetPosition and
2118 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
2119 - Made wxSize and wxRect contain longs not ints.
2120 - Cured some memory leaks (thanks Vadim).
2121 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
2122 will only keep processing OnIdle if it returns TRUE from
2125 Alpha 4, 31st January 1998
2126 --------------------------
2130 - Changed wxDC functions to take longs instead of floats. GetSize now takes
2131 integer pointers, plus a version that returns a wxSize.
2132 - const keyword added to various wxDC functions.
2133 - Under Windows, wxDC no longer has any knowledge of whether
2134 an associated window is scrolled or not. Instead, the device
2135 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
2136 - wxScrolledWindow applications can optionally override the virtual OnDraw
2137 function instead of using the OnPaint event handler. The wxDC passed to
2138 OnDraw will be translated by PrepareDC to reflect scrolling.
2139 When drawing outside of OnDraw, must call PrepareDC explicitly.
2140 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
2142 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
2143 to help printing with multiple pages.
2144 - IPC classes given base classes (wxConnectionBase etc.) which
2145 define the API used by different implementations. DDE
2146 implementation updated to use these base classes.
2147 - wxHelpInstance now separated into wxHelpControllerBase (base
2148 for all implementations), wxWinHelpController (uses standard
2149 WinHelp), wxXLPHelpController (talks to wxHelp by DDE or
2150 TCP/IP). There will be others eventually, such as
2151 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
2152 - Added Vadim Zeitlin's wxString class plus
2153 internationalization code (gettext simulation, wxLocale, etc.).
2154 New files from Vadim:
2160 src\common\string.cpp
2164 No longer use GNU wxString files.
2165 - Split off file-related functions into include\wx\filefn.h and
2166 src\common\filefn.cpp.
2167 - Borland C++ support (WIN32) for main library and
2168 samples, using makefile.b32 files.
2169 - Preparation done for allowing BC++ to compile wxWin as a DLL,
2170 including changes to defs.h.
2171 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
2173 - Added wxShowEvent (generated when window is being shown or
2175 - Got minimal, docview, mdi samples working for 16-bit VC++ and
2176 cured 16-bit problem with wxTextCtrl (removed global memory
2178 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
2180 Alpha 3, September 1997
2181 -----------------------
2185 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
2186 - Instigated new file hierarchy, split files and classes up more logically.
2187 - PrologIO and some other utils now put into core library.
2188 - Revamped print/preview classes, added wxPageSetupDialog.
2189 - Started documentation.
2191 Alpha 2, 30th April 1997
2192 ------------------------
2196 - EVT_... macros now have at least one argument, for conformance
2197 with MetroWerks compiler.
2198 - Added ids to .wxr file format.
2199 - Got Dialog Editor compiled and running again but need
2200 to extend functionality to be in line with new controls.
2201 Added dialoged\test app to allow dynamic loading of .wxr files
2202 for testing purposes.
2203 - Rewrote wxBitmap to allow installable file type
2205 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
2206 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
2208 - Added back wxRadioBox.
2209 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
2212 Alpha 1, 5th April 1997
2213 -----------------------
2217 At this point, the following has been achieved:
2219 - A lot, but not all, of the code has been revamped for better
2220 naming conventions, protection of data members, and use of
2221 wxString instead of char *.
2222 - Obsolete functionality deleted (e.g. default wxPanel layout,
2223 old system event system) and code size reduced.
2224 - Class hierarchy changed (see design doc) - base classes such
2225 as wxbWindow now removed.
2226 - No longer includes windows.h in wxWin headers, by using stand-in
2227 Windows types where needed e.g. WXHWND.
2229 - wxScrolledWindow, wxStatusBar and new MDI classes added.
2230 MDI is now achieved using separate classes, not window styles.
2231 - wxSystemSettings added, and made use of to reflect standard
2233 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
2234 settings mucho rationalised.
2235 - All windows are now subclassed with the same window proc to make
2236 event handling far more consistent. Old internal wxWnd and derived
2238 - API for controls revised, in particular addition of
2239 wxValidator parameters and removal of labels for some controls.
2240 - 1 validator written: see examples/validate.
2241 - Event table system introduced (see most samples and
2242 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
2243 made more flexible, with Push/PopEventHandler allowing a chain
2245 - wxRadioBox removed - will be added back soon.
2246 - Toolbar class hierarchy revised:
2248 wxToolBarSimple (= old wxToolBar)
2249 wxToolBar95 (= old wxButtonBar under Win95)
2250 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
2251 - Constraint system debugged somewhat (sizers now work properly).
2252 - wxFileDialog, wxDirDialog added; other common dialogs now
2253 have class equivalents. Generic colour and font dialogs
2254 rewritten to not need obsolete panel layout.
2255 - .wxr resource system partially reinstated, though needs
2256 an integer ID for controls. Hopefully the resource system
2257 will be replaced by something better and more efficient
2259 - Device contexts no longer stored with window and accessed
2260 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
2262 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
2263 determines whether labels are shown. Other Win95-specific flags
2264 introduced, e.g. for showing ticks.
2265 - Styles introduced for dealing with 3D effects per window, for
2266 any window: all Win95 3D effects supported, plus transparent windows.
2267 - Major change to allow 3D effect support without CTL3D, under
2269 - Bitmap versions of button and checkbox separated out into new
2270 classes, but unimplemented as yet because I intend to remove
2271 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
2272 - utils/wxprop classes working (except maybe wxPropertyFormView)
2273 in preparation for use in Dialog Editor.
2274 - GNU-WIN32 compilation verified (a month or so ago).