4 INCOMPATIBLE CHANGES SINCE 2.2.x
5 ================================
9 - wxArray<T>::Remove(size_t) has been removed to fix compilation problems
10 under 64 bit architectures, please replace it with RemoveAt() in your
13 - wxArray<T> macros have been changed to fix runtime problems under 64 bit
14 architectures and as a side effect of this WX_DEFINE_ARRAY() can only be
15 used now for the pointer types, WX_DEFINE_ARRAY_INT should be used for the
16 arrays containing non-pointers.
18 - wxObject::CopyObject() and Clone() methods were removed because they
19 simply don't make sense for all objects
21 - wxEvent now has a pure virtual Clone() method which must be implemented
22 by all derived classes, if you have user-defined event classes please
23 add "wxEvent *Clone() const { return new MyEvent(*this); }" line to them
27 - the event type constants are not constants any more but are dynamically
28 allocated during run-time which means that they can't be used as case labels
29 in the switch()es, you must rewrite them to use if()s instead
31 You may also define WXWIN_COMPATIBILITY_EVENT_TYPES to get the old behaviour
32 but this is strongly discouraged, please consider changing your codei
35 - wxDialog does not derive from wxPanel any longer - if you were using it in
36 your code, please update it. The quick fix for the most cases is to replace
37 the occurences of wxPanel with wxWindow.
39 - wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO
40 have changed (to fix some unfortunate clashes), please check your code to
41 ensure that no tests for wxYES or wxNO are broken: for example, the following
42 will *NOT* work any longer:
44 if ( flags & wxYES_NO )
47 ... do something else ...
49 - wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
51 - wxGridCellAttrProvider class API changed, you will need to update your code
52 if you derived any classes from it
54 - wxImage::ComputeHistogram()'s signature changed to
55 unsigned long ComputeHistogram(wxImageHistogram&) const
57 - wxEvtHandler cannot be copied/assigned any longer - this never worked but
58 now it results in compile-time error instead of run-time crashes
62 - build system changed: setup.h is not a static file in include/wx any more
63 but is created as part of the build process under lib/<toolkit>/wx/include
64 where <toolkit> is of the form (msw|univ)[dll][u][d]. You'll need to update
65 the include path in your make/project files appropriately. Furthermore,
66 xpm.lib is no longer used by wxMSW, it was superseded by the wxXPMDecoder
67 class. You'll need to remove all references to xpm.lib from your
70 - child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR
71 style to avoid it, wxFRAME_FLOAT_ON_PARENT style is now obsolete and has no
74 - all overloads of wxDC::SetClippingRegion() combine the given region with the
75 previously selected one instead of replacing it
77 - wxGetHomeDir() uses HOME environment variable and if it is set will not
78 return the programs directory any longer but its value (this function has
79 never been meant to return the programs directory anyhow)
83 - You should use `wx-config --cxxflags` in your makefiles instead of
84 `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS
85 and the compiler flags for C++ files only, CFLAGS should still be used
86 to compile pure C files.
97 - fixes to the command line parsing error and usage messages
98 - modified wxFileName::CreateTempFileName() to open the file atomically
99 (if possible) and, especially, not to leak the file descriptors under Unix
100 - memory leak in wxHTTP fixed (Dimitri)
101 - fixes to AM_PATH_WXCONFIG autoconf macro
102 - added wxHashMap class that replaces type-unsafe wxHashTable and is modelled
104 - wxLocale now works in Unicode mode
105 - wxLocale can now load message catalogs in arbitrary encoding
106 - fixed the bug related to the redrawing on resize introduced in 2.3.2
110 - wxWindows may be built using BSD and Solaris (and possibly other) make
111 programs and not only GNU make
115 - implemented radio menu items and radio toolbar buttons
116 - added possibility to show text in the toolbar buttons
117 - added wxArtProvider class that can be used to customize the look of standard
119 - significantly improved native font support
120 - wxImage::ComputeHistogram() now uses wxImageHistogram instead of type-unsafe
122 - added IFF image handler
123 - fixed using custom renderers in wxGrid which was broken in 2.3.2
124 - support for multiple images in one file added to wxImage (TIFF, GIF and ICO formats)
125 - support for CUR and ANI files in wxImage added (Chris Elliott)
126 - wxTextCtrl::GetRange() added
127 - added wxGetFontFromUser() convenience function
128 - added EVT_MENU_OPEN and EVT_MENU_CLOSE events
129 - added Hungarian translations (Janos Vegh)
130 - added wxImage::SaveFile(filename) method (Chris Elliott)
134 - small appearance fixes for native look under Windows XP
135 - refresh the buttons properly when the window is resized (Hans Van Leemputten)
136 - huge (40*) speed up in wxMask::Create()
137 - changing wxWindows styles also changes the underlying Windows window style
138 - wxTreeCtrl supports wxTR_HIDE_ROOT style (George Policello)
139 - fixed flicker in wxTreeCtrl::SetItemXXX()
140 - fixed redraw problems in dynamically resized wxStaticText
141 - improvements to wxWindows applications behaviour when the system colours
143 - fixed wxProgressDialog for ranges > 65535
144 - wxFontEnumerator now returns all fonts, not only TrueType ones
145 - bugs in handling wxFrame styles (border/caption related) fixed
146 - showing a dialog from EVT_RADIOBUTTON handler doesn't lead to an infinite
148 - wxTextCtrl with wxTE_RICH flag scrolls to the end when text is appended to it
149 - the separators are not seen behind the controls added to the toolbar any more
150 - wxLB_SORT style can be used with wxCheckListBox
151 - wxWindowDC and wxClientDC::GetSize() works correctly now
155 - wxDirDialog now presents the file system in standard Unix way
156 - wxButton now honours wxBU_EXACTFIT
157 - wxStaticBox now honours wxALIGN_XXX styles
158 - added support for non alphanumeric simple character accelerators ('-', '=')
162 - fixed wxHtmlHelpController's cache files handling on big endian machines
163 - added blocking and redirecting capabilities to wxHtmlWindow via
164 wxHtmlWindow::OnOpeningURL()
165 - fixed alignment handling in tables
166 - fixed <font face="..."> handling to be case insensitive
171 New port: wxUniv for Win32/GTK+ is now included in the distribution.
175 - wxRegEx class added
176 - wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber)
177 - wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen)
178 - more fixes to wxMBConv classes. Conversion to and from wchar_t now works with
179 glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s
180 capabilities at runtime instead of in the configure script.
184 - support for virtual list control added
185 - column images in report mode of the list control
186 - wxFindReplaceDialog added (based on work of Markus Greither)
187 - wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK)
188 - polygon support in wxRegion (Klaas Holwerda)
189 - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added
190 - fixed bug with using wxExecute() to capture huge amounts of output
191 - new wxCalendarCtrl styles added (Søren Erland Vestø)
192 - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh)
193 - wxDirSelector() added (Paul A. Thiessen)
194 - wxGrid cell editing veto support (Roger Gammans)
195 - wxListCtrl ITEM_FOCUSED event added
196 - support for ICO files in wxImage added (Chris Elliott)
200 - support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook)
201 - new library naming convention under VC++ -- please change your application
206 - fixed popup menu positioning bug
210 - new HTML parser with correct parsing of character entities and fixes
212 - added support for animated GIFs
220 - Fixed new charset detection code
221 - ODBC Informix fixes (submitted by Roger Gammans)
222 - Added ODBC date support to wxVariant
223 - Added wxDir::Traverse
224 - Added wxSingleInstanceChecker class
225 - Removed redundant wxDebugContext functions using C++ streams,
226 so now standard stream usage should be unnecessary
230 - Added wxDbGrid class for displaying ODBC tables
231 - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the
232 user code can get access to the edit control when it is created, (to
233 push on a custom event handler for example)
234 - Added wxTextAttr class and SetStyle, SetDefaultStyle and
235 GetDefaultStyle methods to wxTextCtrl
236 - Added wxSingleInstanceChecker
237 - Improvements to Tex2RTF
238 - Added Paul and Roger Gammans' grid controls
239 - Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
241 - Fixed memory leak in textcmn.cpp
242 - Various wxXML enhancements
243 - Removed wxCLIP_CHILDREN style from wxSplitterWindow
244 - Fixed memory leak in DoPrint, htmprint.cpp
245 - Fixed calendar sample bug with using wxCommandEvent::GetInt()
247 - Added wxDbGrid combining wxODBC classes with wxGrid
248 - Added more makefiles and project files for contrib hierarchy
252 - Fixed wxApp::ProcessMessage so controls don't lose their
253 accelerators when the accelerators are redefined elsewhere
254 - Accelerators consisting of simple keystrokes (without control,
255 alt or shift) now work
256 - Compile fixes for Watcom C++ added
257 - Compile fixes for Cygwin 1.0 added
258 - Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop()
259 - Replaced wxYield() call in PopupMenu() by a much safer
260 wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones
261 - Enter processing in wxSpinCtrl fixed
262 - Fixed bug in determining the best listbox size
263 - Fix for wxFrame's last focus bug
264 - We now send iconize events
265 - Fixed wxFrame::SetClientSize() with toolbar bug
266 - Added mousewheel processing
267 - Added wxSystemSettings::Get/SetOption so we can configure
268 wxWindows at run time; used this to implement no-maskblt option
270 - Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
271 child frame styles are honoured
275 - Fixed slider rounding bug
276 - Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
277 - We now send iconize events
278 - Fix for discrepancies between wxNotebookEvent and wxNotebook
279 GetSelection() results
286 - fixed problem with wxURL when using static version of the library
287 - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories
288 - wxMimeTypesManager now can create file associations too (Chris Elliott)
289 - wxCopyFile() respects the file permissions (Roland Scholz)
290 - wxFTP::GetFileSize() added (Søren Erland Vestø)
291 - wxDateTime::IsSameDate() bug fixed
292 - wxTimeSpan::Format() now behaves more as expected, see docs
293 - wxLocale now provides much more convenient API for setting language and
294 detecting current system language. New API is more abstracted and truly
295 cross-platform, independent of underlying C runtime library.
299 - new wxToggleButton class (John Norris, Axel Schlueter)
300 - wxCalendarCtrl not highlighting the date with time part bug fixed
301 - wxADJUST_MINSIZE sizer flag added
302 - FindOrCreateBrush/Pen() bug fix for invalid colour values
303 - new wxXPMHandler for reading and writing XPM images
304 - added new (now recommended) API for conversion between wxImage and wxBitmap
305 (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of
306 wxImage methods and ctor)
307 - ODBC classes now support DB2, Interbase, and Pervasive SQL
308 - ODBC documentation complete!!
309 - ODBC classes have much Unicode support added, but not complete
310 - ODBC experimental BLOB support added, but not completely tested
311 - ODBC NULL column support completed (Roger/Paul Gammans)
312 - ODBC All "char *" and char arrays removed and replaced with wxString use
316 - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen)
317 - fixed bug in MDI children flags (mis)handling
318 - it is possible to compile wxCHMHelpController with compilers
319 other than Visual C++ now and hhctrl.ocx is loaded at runtime
323 - added support for wchar_t (wxUSE_WCHAR_T) under Unix
327 - mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup
328 - visual enhancements to contents panel of wxHtmlHelpController
335 - Fixed bug with directories with trailing (back)slashes in wxPathExists
336 - wxString: added wxArrayString::operator==() and !=()
337 - Fixes for wxCmdLineParser
338 - Added wxGetLocalTimeMillis
339 - Completed Czech translations
340 - Some stream corrections
341 - added missing consts to wxPoint operators
342 - wxDateTime ParseFormat fixes
343 - wxFile::Open(write_append) will create file if it doesn't exist
344 - small fixes to MIME mailcap test command handling, more MIME tests in the sample
348 - wxGenericDragImage now allows virtual image drawing, and
349 flicker-free dragging is now possible
350 - Added wxPrinter::GetLastError
351 - Fixed wxLogGui reentrancy problem
352 - Paper names now translated
354 - Generic validator now caters for more cases (integers in
355 wxTextCtrl, strings in wxChoice, wxComboBox)
356 - Fixed crash when docview On... functions return FALSE. Show
357 error message when an non-existent filename is typed into the Open
359 - Corrected Baltic font encoding handling
360 - wxImage: enhanced TIFF code, added new platform-independent BMP
362 - wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
363 - Fixed wxPropertyForm crashes in sample
364 - wxWizard now calls TransferDataFromWindow() before calling
365 wxWizardPage::GetNext() fixing an obvious bug
369 - wxWindow::GetCharWidth/Height now calculated accurately.
370 This will affect all .wxr dialog resources, so for
371 backward compatibility, please set
372 wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h
373 - wxListCtrl: set item text in LIST_ITEM_ACTIVATED events
374 - wxTextCtrl: implemented setting colours for rich edit controls
375 - wxColour now accepts both grey and gray
376 - BC++ DLL compilation fixed
377 - Watcom C++ makefiles improved for JPEG and TIFF compilation
378 - Fixed submenu accelerator bug
379 - Fixed dialog focus bug (crash if the previous window to have
380 the focus was destroyed before the dialog closed)
381 - Too-small default wxTextCtrl height fixed
382 - fixed "missing" initial resize of wxMDIChildFrame
383 - wxFrame restores focus better
384 - Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to
385 frames anddialogs, interferes with other window styles otherwise
386 (sometimes you'd get a thick frame in a subwindow)
387 - wxTextCtrl insertion point set to the beginning of the control by SetValue
388 - Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
389 - wxFileDialog: adjusts struct size if there's an error (struct
390 sizes can be different on different versions of Windows)
391 - wxImageList::GetSize() documented and added to wxMSW
392 - fixed default dialog style to make them non resizeable again
393 - fixed wxFrame::IsShown() which always returned TRUE before
397 - Please see docs/gtk/changes.txt.
401 - Small compilation fixes
417 - Added wxCHMHelpController, for invoking MS HTML Help
418 files. This works under VC++ only
419 - Modal dialog handling improved
420 - Printer dialog now modal
435 - Added docs/tech for technical notes
439 - Started new contrib hierarchy that mirrors
440 the main lib structure; moved OGL and MMedia into it
445 - wxDateTime replaces and extends old wxDate and wxTime classes (still
446 available but strongly deprecated) with many new features
447 - wxLongLong class provides support for (signed) 64 bit integers
448 - wxCmdLineParser class for parsing the command line (supporting short and
449 long options, switches and parameters of different types)
450 - it is now possible to build wxBase under Win32 (using VC++ only so far)
451 and BeOS (without thread support yet)
452 - wxThread class modified to support both detached and joinable threads, also
453 added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
455 - wxDir class for enumerating files in a directory
456 - wxLog functions are now (more) MT-safe
457 - wxStopWatch class, timer functions have more chances to return correct
458 results for your platform (use ANSI functions where available)
459 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
460 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
462 - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
466 - Added wxImage::Rotate.
467 - new wxCalendarCtrl class for picking a date interactively
468 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu menagament
469 - wxToolBar supports arbitrary controls (not only buttons) and can be
470 dynamically changed (Delete/Insert functions)
471 - vertical toolbars supported by MSW and GTK native wxToolBar classes
472 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
473 - "file open" dialog allows selecting multiple files at once (contributed by
475 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
476 MIME types if available (Unix only)
477 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
478 - TIFF support added (libtiff required and included in the distribution)
479 - PCX files can now be written (256 and 24 bits)
480 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
481 - wxScrolledWindow now has keyboard interface
482 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
483 - added wxEncodingConverter and improved wxFontMapper
484 for dealing with convertions between different encodings,
485 charsets support in wxLocale and wxHTML
486 - wxDragImage class added
487 - samples/help improved to show standard and advanced HTML help
488 controllers, as well as native help
489 - moved wxTreeLayout class to main lib
493 - wxFrame::MakeFullScreen added.
494 - support for enhanced metafiles added, support for copying/pasting metafiles
495 (WMF and enhanced ones) fixed/added.
496 - implemented setting colours for push buttons
497 - wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be
498 positioned along the top of the screen and not only at the bottom
499 - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun)
500 - loading/saving big (> 32K) files in wxTextCtrl works
501 - tooltips work with wxRadioBox
502 - wxBitmap/wxIcon may be constructed from XPM included into a program, as in
504 - returning FALSE from OnPrintPage() aborts printing
505 - VC++ makefiles and project files made (mostly) consistent
506 - wxSetCursorEvent added
510 - wxFontMapper endless recursion bug (on some systems) fixed
511 - wxGTK synthesizes wxActivateEvents
512 - UpdateUI handlers may be used with wxTextCtrl
516 - wxMenu::Enable works
517 - wxToolBar bugs fixed
518 - OGL samples made to work again
522 - almost complete rewrite of wxHtmlHelpController,
523 including faster search, bookmarks, printing, setup dialog
524 and cross-platform binary compatible .cached files for faster
525 loading of large helpbooks, case insensitive search
526 splitted into 3 parts: wxHtmlHelpData, Frame and Controller
527 - added support for charsets and <meta> tag
528 - added support for font faces and justified paragraphs,
529 taken some steps to prepare wxHTML for frames
530 - added dynamic pushing/poping of wxHtmlParser tag handlers
531 - improved HTML printing
532 - added extensive table of HTML characters substitutions ( etc.)
533 - fixed wxHtmlWindow flickering, several minor bugfixes
534 - added some tags: <address>, <code>, <kbd>, <samp>, <small>, <big>,
535 fixed handling of relative and absolute font sizes in <font size>
538 NOTE: for changes after wxWindows 2.1.0 b4, please see the CVS
541 2.1.0, b4, May 9th 1999
542 -----------------------
546 - JPEG support added.
547 - Many fixes and changes not thought worth mentioning in this file :-)
551 - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
553 - JPEG support added.
554 - Fixes for Cygwin compilation.
555 - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
556 - Many fixes people didn't tell this file about.
563 - Some changes for Unicode support, including wxchar.h/cpp.
566 2.0.1 (release), March 1st 1999
567 -------------------------------
572 - Slider/spinbutton fixes.
576 - Fixed problems with <return> in dialogs/panels.
577 - Fixed window cursor setting.
578 - Fixed toolbar sizing and edge-clipping problems.
579 - Some makefile fixes.
587 - Added wxUSE_SOCKETS.
588 - More topic overviews.
589 - Put wxPrintPaperType, wxPrintPaperDatabase into
590 prntbase.h/cpp for use in non-PostScript situations
591 (e.g. Win16 wxPageSetupDialog).
594 Beta 5, February 18th 1999
595 --------------------------
599 - wxExecute improved.
603 - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
605 - Changed VC++ makefiles (.vc) so that it's possible to have
606 debug/release/DLL versions of the library available simultaneously,
607 with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
608 - Added BC++ 5 IDE files and instructions.
609 - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
610 - Fixed focus-related crash.
614 - Cured asynchronous wxExecute crash.
615 - Added repaint event handlers to wxFrame, wxMDIChildFrame.
619 - wxLocale documented.
620 - Added include filenames to class reference.
621 - wxHelpController API changed: SetBrowser becomes SetViewer,
622 DisplaySection works for WinHelp, help sample compiles under Windows
623 (though doesn't display help yet).
625 Beta 4, February 12th 1999
626 --------------------------
630 - Miscellaneous fixes.
634 - Makefiles for more compilers and samples; Cygwin makefiles
636 - Added VC++ project file for compiling wxWindows as DLL.
640 - Added OnEraseBackground invocation.
641 - Added wxRETAINED implementation for wxScrolledWindow.
642 - Cured scrolling display problem by adding XmUpdateDisplay.
643 - Tried to make lex-ing in the makefile more generic (command line
644 syntax should apply to both lex and flex).
645 - Changed file selector colours for consistency (except for buttons:
646 crashes for some reason).
647 - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
648 of malloc, which causes memory problems).
652 - Further doc improvements.
653 - wxGenericValidator added.
654 - Added wxImageModule to image.cpp, so adds/cleans up standard handlers
657 Beta 3, January 31st 1999
658 -------------------------
662 - wxClipboard/DnD API changes (still in progress).
663 - wxToolTip class added.
664 - Miscellaneous fixes.
668 - wxRegConfig DeleteAll bug fixed.
669 - Makefiles for more compilers.
670 - TWIN32 support added.
671 - Renamed VC++ makefiles from .nt to .vc, and
672 factored out program/library settings.
673 - Fixed wxIniConfig bug.
677 - A few more colour fixes.
678 - wxGLCanvas and OpenGL samples working.
679 - Some compiler warnings fixed.
680 - wxChoice crash fix.
681 - Dialog Editor starting to work on Motif.
685 - wxBusyCursor class added.
687 - More doc improvements, incl. expanding docs/html/index.htm.
696 - 16-bit BC++ compilation/linking works albeit without the resource system.
700 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
702 - Cured some widget table clashes.
703 - Added thread support (Robert).
704 - wxPoem sample now works.
708 - Rearranged documentation a bit.
709 - Sash window uses area of first frame/dialog to paint over when drawing
710 the dragged sash, not just the sash window itself (it clipped to the right
712 - Made resource sample use the correct Cancel button id.
713 - Moved wxProp to main library (generic directory), created proplist
715 - Added bombs and fractal samples.
717 Beta 1, December 24th 1998
718 --------------------------
724 wxMSW, wxMotif: not in sync with this release.
727 Alpha 18, December 29th 1998
728 ----------------------------
732 - Win16 support working again (VC++ 1.5)
733 - Win16 now uses generic wxNotebook, wxListCtrl,
734 wxTreeCtrl -- more or less working now, although
735 a little work on wxNotebook is still needed.
736 Under 16-bit Windows, get assertion when you click
738 - Wrote 16-bit BC++ makefiles: samples don't yet link.
739 - Added CodeWarrior support to distribution courtesy
744 - Cured scrolling problem: scrollbars now show/hide themselves
745 without (permanently) resizing the window.
746 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
747 that disabled scrollbar paging.
748 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
750 - Removed major bug whereby dialogs were unmanaged automatically
751 when any button was pressed.
752 - Fixed colours of wxWindow scrollbars, made list and text controls
753 have a white background.
754 - Fixed dialog colour setting.
755 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
756 they have sensible colours by default.
757 - Fixed a bug in wxStaticBox.
758 - Cured wxTreeCtrl bug: now works pretty well!
759 - Debugged DrawEllipticArc (a ! in the wrong place).
760 - Added SetClippingRegion( const wxRegion& region ).
761 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
763 Alpha 17, November 22nd 1998
764 ----------------------------
768 - More documentation updates, especially for
769 wxLayoutWindow classes and debugging facilities.
770 - Changed wxDebugContext to use wxDebugLog instead
772 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
773 However, DLL support may be broken for BC++ since
774 VC++ 6 required changing of WXDLLEXPORT keyword
776 - Numerous miscellaneous changes.
780 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
781 were too buggy (probably not design for dynamic addition/removal of
783 - Some improvements to the wxNotebook implementation.
784 - wxToolBar now uses a bulletin board instead of a form, in an attempt
785 to make it possible to add ordinary wxControls to a toolbar.
786 - Cured problem with not being able to use global memory operators,
787 by defining two more global operators, so that the delete will match
788 the debugging implementation.
789 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
790 global memory operators (usually OK) and #defining new to be
791 WXDEBUG_NEW (sometimes it might not be OK).
792 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
793 - Added a parent-existance check to popup menu code to make it not crash.
794 - Added some optimization in wxWindow::SetSize to produce less flicker.
795 It remains to be seen whether this produces any resize bugs.
797 It's a long time since I updated this file. Previously done:
799 - wxFrame, wxDialog done.
800 - wxScrolledWindow done (but backing pixmap not used at present).
801 - wxBitmap done though could be tidied it up at some point.
802 - Most basic controls are there, if not rigorously tested.
803 - Some MDI support (menus appear on child frames at present).
804 - wxNotebook almost done.
805 - wxToolBar done (horizontal only, which would be easy to extend
806 to vertical toolbars).
810 - Colour and font changing done (question mark over what happens
812 - Accelerators done (for menu items and buttons). Also event loop
813 tidied up in wxApp so that events are filtered through ProcessXEvent.
814 - wxWindow::GetUpdateRegion should now work.
816 Alpha 16, September 8th 1998
817 ----------------------------
821 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
823 - Guilhem's socket classes added, plus wxsocket sample.
824 - A few more makefiles added.
825 - GnuWin32/BC++ compatibility mods.
826 - Further doc updates.
827 - wxProp updates for correct working with wxGTK.
831 - First start at Motif port.
832 - Made makefiles for wxMotif source directory and minimal sample.
833 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
834 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
835 wxMenu, wxMenuItem, wxMenuBar
837 Alpha 15, August 31st 1998
838 --------------------------
843 - wxDC::GetDepth added.
844 - Contribution added whereby wxBitmap will be
845 converted to DC depth if they don't match.
846 - wxConfig API improved, documentation updated.
847 - Printing classes name conventions cleaned up.
848 - wxUpdateUIEvent now derives from wxCommandEvent
849 so event can travel up the window hierachy.
851 Alpha 14, July 31st 1998
852 ------------------------
856 - Toolbar API has been simplified, and now
857 wxFrame::GetClientArea returns the available client
858 area when toolbar, status bar etc. have been accounted for.
859 wxFrame::CreateToolBar added in line with CreateStatusBar.
860 - Documentation updates, incl. for wxToolBar.
861 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
862 - Various additions from other folk, e.g. streams, wxConfig
864 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
866 Alpha 13, July 8th 1998
867 -----------------------
871 - Implemented wxPoint as identical to POINT on Windows, and
872 altered wxDC wxPoint functions to use wxPoint directly in
873 Windows functions, for efficiency.
874 - Cured wxASSERT bug in wxStatusBar95.
875 - #ifdefed out some bits in oleutils.cpp for compilers that
877 - Added some operators to wxPoint, wxSize.
878 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
880 Alpha 12, July 7th 1998
881 -----------------------
885 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
886 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
888 Alpha 11, July 3rd 1998
889 -----------------------
893 - Added thread.h, thread.cpp.
894 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
896 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
897 SetTextColor to SetTextColour, and added or made public several
898 wxMenuItem accessors.
899 - Added two overloads to wxRegion::Contains. Added
900 wxRegion::IsEmpty for a more consistent naming convention.
901 - Added Vadim's wxDataObject and wxDropSource.
902 - ENTER/LEAVE events now work.
903 - Cured wxMemoryDC bug where the DC wasn't being deleted.
904 - Cured wxGauge SetSize major bugginess.
905 - Cured problem where if a GDI object was created on the stack,
906 then went out of scope, then another object was selected into
907 the DC, GDI objects would leak. This is because the assignment
908 to e.g. wxDC::m_pen would delete the GDI object without it first
909 being selected out of the DC. Cured by selecting the old DC object
910 first, then doing the assignment.
911 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
912 - Various other bug fixes and additions.
916 - Major work on Dialog Editor (still plenty to go).
917 - Expanded documentation a bit more.
919 Alpha 10, May 7th 1998
920 ----------------------
924 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
925 and wxIcon functions so that you can specify what size of
926 icon should be loaded. Probably will remain a Windows-specific thing.
927 - wxStatusBar95 now works for MDI frames.
928 - Toolbars in MDI frames now behave normally. They still
929 require application-supplied positioning code though.
930 - Changed installation instructions, makefiles and batch files
931 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
932 change to support Mingw32/EGCS. Bison now used by default.
934 Alpha 9, April 27th 1998
935 ------------------------
939 - Cured bug in wxStatusBar95 that caused a crash if multiple
941 - Added Gnu-Win32 b19/Mingw32 support by changing resource
942 compilation and pragmas.
943 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
944 commands because VZ changed the id setting in wxMenu::MSWCommand.
948 - Corrected some bugs, such as the wxModule compilation problem.
949 - Added Gnu-Win32 b19/Mingw32 support by changing resource
950 compilation and pragmas.
951 - Changed SIZEOF to WXSIZEOF.
953 Alpha 8, April 17th 1998
954 ------------------------
958 - Added IsNull to wxGDIObject to check if the ref data is present or not.
959 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
961 - Added wxJoystick class and event handling, and simple demo.
962 - Added simple wxWave class. Needs Stop() function.
963 - Added wxModule (module.h/module.cpp) to allow definition
964 of modules to be initialized and cleaned up on wxWindows
966 - Start of Mingw32 compatibility (see minimal and dialogs samples
967 makefile.m95 files, and install.txt).
968 - Note: Windows printing has stopped working... will investigate.
970 - Updated wxString: bug fixes, added wxArrayString, some
971 compatibility functions.
972 - Updated log.h/cpp, added wxApp::CreateLogTarget.
973 - file.h: new wxTempFile class.
974 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
975 - statbr95: wxStatusBar95 control.
976 - registry.h/cpp: wxRegKey class for Win95 registry.
977 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
978 - wxConfig and wxFileConfig classes.
982 - Added src/other/png, src/other/zlib directories.
984 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
985 Porters, please check particularly your wxTreeCtrl and wxListCtrl
987 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
989 Alpha 7, March 30th 1998
990 ------------------------
994 - Added tab classes, tab sample.
995 - Now can return FALSE from OnInit and windows will be
996 cleaned up properly before exit.
997 - Improved border handling so panels don't get borders
999 - Debugged MDI activation from Window menu.
1000 - Changes to memory debug handling, including checking for
1001 memory leaks on application exit - but see issues.txt for
1003 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
1004 to allow maintenance of an icon in the Windows 95 taskbar
1006 - Got MFC sample working (MFC and wxWindows in the same
1007 application), partly by tweaking ntwxwin.mak settings.
1008 - Got DLL compilation working again (VC++).
1009 - Changed wxProp/Dialog Editor filenames.
1013 - Added tab classes, tab sample.
1014 - Revised memory.cpp, memory.h slightly; memory.h now #defines
1015 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
1016 now checks for leaks on exit. Added memcheck sample.
1017 See src/msw/issues.txt for more details.
1018 - resource.h, resource.cpp changed to make wxDefaultResourceTable
1019 a pointer. Now initialize resource system with
1020 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
1021 allow better control of memory.
1022 - wxString now derives from wxObject, to enable memory leak
1024 - Added some #include fixes in various files, plus changed
1025 float to long in wxToolBar files.
1027 Alpha 6, March 10th 1998
1028 ------------------------
1032 - Found stack error bug - stopped unwanted OnIdle recursion.
1033 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
1034 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
1035 check if the number of top-level windows is zero before
1036 exiting. Also, wxApp::GetTopWindow will return either
1037 m_topWindow or the first member of wxTopLevelWindows, so you
1038 don't have to call wxApp::SetTopWindow.
1039 - Added dynarray.h/dynarray.cpp (from Vadim).
1040 - Added first cut at OLE drag and drop (from Vadim). dnd sample
1041 added. Drop target only at this stage. See src/msw/ole/*.cpp,
1042 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
1043 Doesn't work with GnuWin32 - no appropriate headers e.g. for
1045 Doesn't work with BC++ either - crashes on program startup.
1046 - Added Vadim's owner-draw modifications - will probably remain
1047 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
1048 - Added wxLB_OWNERDRAW for owner-draw listboxes.
1049 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
1050 Doesn't entirely work for WIN16.
1051 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
1052 can also be used as an argument to wxMenu::Append, not just for
1053 internal implementation.
1054 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
1055 in makeg95.env, together with mingw32.bat). However, resource
1056 binding is not working yet so most apps with dialogs crash.
1060 - Added Vadim's dynarray.h, dynarray.cpp.
1061 - Added Vadim's menuitem.cpp.
1062 - Added Windows-specific wxCheckListBox,
1063 owner-draw wxListBox, and drag-and-drop
1064 (see docs/msw/changes.txt).
1066 Alpha 5, 14th February 1998
1067 --------------------------
1071 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1072 DISTRIBUTIONS. This change log will therefore now refer to
1073 the Windows-specific code only. See docs/changes.txt for generic
1075 - Removed Windows-specific reference counting system (GDI
1076 resources were cleaned up in idle time) - minimal
1077 advantages now we have a wxWin reference counting system.
1078 - Added missing WXDLLEXPORT keywords so DLL compilation works
1080 - Removed most warnings for GnuWin32 compilation.
1081 - Added wxRegion/wxRegionIterator, but haven't yet used it in
1086 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1087 DISTRIBUTIONS. This change log will therefore now refer to
1088 the generic code only. See docs/msw/changes.txt for Windows-specific
1090 - Readmes, change logs and installation files now go in
1091 platform-specific directories under docs, e.g. docs/msw,
1093 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
1094 created dynamically, not as a global object.
1095 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
1096 - Changed names of some include/wx/generic headers to be
1097 consistent and to conform to gcc pragma conventions. Also
1098 changed choicesg.cpp to choicdgg.cpp.
1099 - Added gcc pragmas.
1100 - Added gtk inclusion in include/wx headers.
1101 - Added consistent file headings to source and headers.
1102 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
1103 added a few references to wxTransString.
1104 - Added operator to wxTransString that converts automatically
1105 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
1106 - samples/internat now works (minimally).
1107 - Added wxMouseEvent::GetPosition and
1108 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
1109 - Made wxSize and wxRect contain longs not ints.
1110 - Cured some lemory leaks (thanks Vadim).
1111 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
1112 will only keep processing OnIdle if it returns TRUE from
1115 Alpha 4, 31st January 1998
1116 --------------------------
1120 - Changed wxDC functions to take longs instead of floats. GetSize now takes
1121 integer pointers, plus a version that returns a wxSize.
1122 - const keyword added to various wxDC functions.
1123 - Under Windows, wxDC no longer has any knowledge of whether
1124 an associated window is scrolled or not. Instead, the device
1125 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
1126 - wxScrolledWindow applications can optionally override the virtual OnDraw
1127 function instead of using the OnPaint event handler. The wxDC passed to
1128 OnDraw will be translated by PrepareDC to reflect scrolling.
1129 When drawing outside of OnDraw, must call PrepareDC explicitly.
1130 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
1132 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
1133 to help printing with multiple pages.
1134 - IPC classes given base classes (wxConnectionBase etc.) which
1135 define the API used by different implementations. DDE
1136 implementation updated to use these base classes.
1137 - wxHelpInstance now separated into wxHelpControllerBase (base
1138 for all implementations), wxWinHelpController (uses standard
1139 WinHelp), wxXLPHelPController (talks to wxHelp by DDE or
1140 TCP/IP). There will be others eventually, such as
1141 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
1142 - Added Vadim Zeitlin's wxString class plus
1143 internationalization code (gettext simulation, wxLocale, etc.).
1144 New files from Vadim:
1150 src\common\string.cpp
1154 No longer use GNU wxString files.
1155 - Split off file-related functions into include\wx\filefn.h and
1156 src\common\filefn.cpp.
1157 - Borland C++ support (WIN32) for main library and
1158 samples, using makefile.b32 files.
1159 - Preparation done for allowing BC++ to compile wxWin as a DLL,
1160 including changes to defs.h.
1161 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
1163 - Added wxShowEvent (generated when window is being shown or
1165 - Got minimal, docview, mdi samples working for 16-bit VC++ and
1166 cured 16-bit problem with wxTextCtrl (removed global memory
1168 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
1170 Alpha 3, September 1997
1171 -----------------------
1175 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
1176 - Instigated new file hierarchy, split files and classes up more logically.
1177 - PrologIO and some other utils now put into core library.
1178 - Revamped print/preview classes, added wxPageSetupDialog.
1179 - Started documentation.
1181 Alpha 2, 30th April 1997
1182 ------------------------
1186 - EVT_... macros now have at least one argument, for conformance
1187 with MetroWerks compiler.
1188 - Added ids to .wxr file format.
1189 - Got Dialog Editor compiled and running again but need
1190 to extend functionality to be in line with new controls.
1191 Added dialoged\test app to allow dynamic loading of .wxr files
1192 for testing purposes.
1193 - Rewrote wxBitmap to allow installable file type
1195 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
1196 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
1198 - Added back wxRadioBox.
1199 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
1202 Alpha 1, 5th April 1997
1203 -----------------------
1207 At this point, the following has been achieved:
1209 - A lot, but not all, of the code has been revamped for better
1210 naming conventions, protection of data members, and use of
1211 wxString instead of char *.
1212 - Obsolete functionality deleted (e.g. default wxPanel layout,
1213 old system event system) and code size reduced.
1214 - Class hierarchy changed (see design doc) - base classes such
1215 as wxbWindow now removed.
1216 - No longer includes windows.h in wxWin headers, by using stand-in
1217 Windows types where needed e.g. WXHWND.
1219 - wxScrolledWindow, wxStatusBar and new MDI classes added.
1220 MDI is now achived using separate classes, not window styles.
1221 - wxSystemSettings added, and made use of to reflect standard
1223 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
1224 settings mucho rationalised.
1225 - All windows are now subclassed with the same window proc to make
1226 event handling far more consistent. Old internal wxWnd and derived
1228 - API for controls revised, in particular addition of
1229 wxValidator parameters and removal of labels for some controls.
1230 - 1 validator written: see examples/validate.
1231 - Event table system introduced (see most samples and
1232 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
1233 made more flexible, with Push/PopEventHandler allowing a chain
1235 - wxRadioBox removed - will be added back soon.
1236 - Toolbar class hierarchy revised:
1238 wxToolBarSimple (= old wxToolBar)
1239 wxToolBar95 (= old wxButtonBar under Win95
1240 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
1241 - Constraint system debugged somewhat (sizers now work properly).
1242 - wxFileDialog, wxDirDialog added; other common dialogs now
1243 have class equivalents. Generic colour and font dialogs
1244 rewritten to not need obsolete panel layout.
1245 - .wxr resource system partially reinstated, though needs
1246 an integer ID for controls. Hopefully the resource system
1247 will be replaced by something better and more efficient
1249 - Device contexts no longer stored with window and accessed
1250 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
1252 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
1253 determines whether labels are shown. Other Win95-specific flags
1254 introduced, e.g. for showing ticks.
1255 - Styles introduced for dealing with 3D effects per window, for
1256 any window: all Win95 3D effects supported, plus transparent windows.
1257 - Major change to allow 3D effect support without CTL3D, under
1259 - Bitmap versions of button and checkbox separated out into new
1260 classes, but unimplemented as yet because I intend to remove
1261 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
1262 - utils/wxprop classes working (except maybe wxPropertyFormView)
1263 in preparation for use in Dialog Editor.
1264 - GNU-WIN32 compilation verified (a month or so ago).