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