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