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