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
79 - You should use `wx-config --cxxflags` in your makefiles instead of
80 `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS
81 and the compiler flags for C++ files only, CFLAGS should still be used
82 to compile pure C files.
93 - fixes to the command line parsing error and usage messages
94 - modified wxFileName::CreateTempFileName() to open the file atomically
95 (if possible) and, especially, not to leak the file descriptors under Unix
96 - memory leak in wxHTTP fixed (Dimitri)
97 - fixes to AM_PATH_WXCONFIG autoconf macro
98 - added wxHashMap class that replaces type-unsafe wxHashTable and is modelled
100 - wxLocale now works in Unicode mode
101 - wxLocale can now load message catalogs in arbitrary encoding
105 - wxWindows may be built using BSD and Solaris (and possibly other) make
106 programs and not only GNU make
110 - significantly improved native font support
111 - wxImage::ComputeHistogram() now uses wxImageHistogram instead of type-unsafe
113 - added IFF image handler
114 - fixed using custom renderers in wxGrid which was broken in 2.3.2
115 - support for multiple images in one file added to wxImage (TIFF, GIF and ICO formats)
116 - support for CUR and ANI files in wxImage added (Chris Elliott)
117 - wxTextCtrl::GetRange() added
118 - added wxGetFontFromUser() convenience function
119 - added EVT_MENU_OPEN and EVT_MENU_CLOSE events
120 - added Hungarian translations (Janos Vegh)
124 - small appearance fixes for native look under Windows XP
125 - refresh the buttons properly when the window is resized (Hans Van Leemputten)
126 - huge (40*) speed up in wxMask::Create()
127 - changing wxWindows styles also changes the underlying Windows window style
128 - wxTreeCtrl supports wxTR_HIDE_ROOT stle (George Policello)
129 - fixed flicker in wxTreeCtrl::SetItemXXX()
130 - fixed redraw problems in dynamically resized wxStaticText
131 - improvements to wxWindows applications behaviour when the system colours
133 - fixed wxProgressDialog for ranges > 65535
134 - wxFontEnumerator now returns all fonts, not only TrueType ones
135 - bugs in handling wxFrame styles (border/caption related) fixed
136 - showing a dialog from EVT_RADIOBUTTON handler doesn't lead to an infinite
138 - wxTextCtrl with wxTE_RICH flag scrolls to the end when text is appended to it
139 - the separators are not seen behind the controls added to the toolbar any more
140 - wxWindowDC and wxClientDC::GetSize() works correctly now
144 - wxDirDialog now presents the file system in standard Unix way
145 - wxButton now honours wxBU_EXACTFIT
146 - wxStaticBox now honours wxALIGN_XXX styles
147 - added support for non alphanumeric simple character accelerators ('-', '=')
151 - fixed wxHtmlHelpController's cache files handling on big endian machines
152 - added blocking and redirecting capabilities to wxHtmlWindow via
153 wxHtmlWindow::OnOpeningURL()
154 - fixed alignment handling in tables
155 - fixed <font face="..."> handling to be case insensitive
160 New port: wxUniv for Win32/GTK+ is now included in the distribution.
164 - wxRegEx class added
165 - wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber)
166 - wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen)
167 - more fixes to wxMBConv classes. Conversion to and from wchar_t now works with
168 glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s
169 capabilities at runtime instead of in the configure script.
173 - support for virtual list control added
174 - column images in report mode of the list control
175 - wxFindReplaceDialog added (based on work of Markus Greither)
176 - wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK)
177 - polygon support in wxRegion (Klaas Holwerda)
178 - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added
179 - fixed bug with using wxExecute() to capture huge amounts of output
180 - new wxCalendarCtrl styles added (Søren Erland Vestø)
181 - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh)
182 - wxDirSelector() added (Paul A. Thiessen)
183 - wxGrid cell editing veto support (Roger Gammans)
184 - wxListCtrl ITEM_FOCUSED event added
185 - support for ICO files in wxImage added (Chris Elliott)
189 - support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook)
190 - new library naming convention under VC++ -- please change your application
195 - fixed popup menu positioning bug
199 - new HTML parser with correct parsing of character entities and fixes
201 - added support for animated GIFs
209 - Fixed new charset detection code
210 - ODBC Informix fixes (submitted by Roger Gammans)
211 - Added ODBC date support to wxVariant
212 - Added wxDir::Traverse
213 - Added wxSingleInstanceChecker class
214 - Removed redundant wxDebugContext functions using C++ streams,
215 so now standard stream usage should be unnecessary
219 - Added wxDbGrid class for displaying ODBC tables
220 - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the
221 user code can get access to the edit control when it is created, (to
222 push on a custom event handler for example)
223 - Added wxTextAttr class and SetStyle, SetDefaultStyle and
224 GetDefaultStyle methods to wxTextCtrl
225 - Added wxSingleInstanceChecker
226 - Improvements to Tex2RTF
227 - Added Paul and Roger Gammans' grid controls
228 - Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
230 - Fixed memory leak in textcmn.cpp
231 - Various wxXML enhancements
232 - Removed wxCLIP_CHILDREN style from wxSplitterWindow
233 - Fixed memory leak in DoPrint, htmprint.cpp
234 - Fixed calendar sample bug with using wxCommandEvent::GetInt()
236 - Added wxDbGrid combining wxODBC classes with wxGrid
237 - Added more makefiles and project files for contrib hierarchy
241 - Fixed wxApp::ProcessMessage so controls don't lose their
242 accelerators when the accelerators are redefined elsewhere
243 - Accelerators consisting of simple keystrokes (without control,
244 alt or shift) now work
245 - Compile fixes for Watcom C++ added
246 - Compile fixes for Cygwin 1.0 added
247 - Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop()
248 - Replaced wxYield() call in PopupMenu() by a much safer
249 wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones
250 - Enter processing in wxSpinCtrl fixed
251 - Fixed bug in determining the best listbox size
252 - Fix for wxFrame's last focus bug
253 - We now send iconize events
254 - Fixed wxFrame::SetClientSize() with toolbar bug
255 - Added mousewheel processing
256 - Added wxSystemSettings::Get/SetOption so we can configure
257 wxWindows at run time; used this to implement no-maskblt option
259 - Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
260 child frame styles are honoured
264 - Fixed slider rounding bug
265 - Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
266 - We now send iconize events
267 - Fix for discrepancies between wxNotebookEvent and wxNotebook
268 GetSelection() results
275 - fixed problem with wxURL when using static version of the library
276 - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories
277 - wxMimeTypesManager now can create file associations too (Chris Elliott)
278 - wxCopyFile() respects the file permissions (Roland Scholz)
279 - wxFTP::GetFileSize() added (Søren Erland Vestø)
280 - wxDateTime::IsSameDate() bug fixed
281 - wxTimeSpan::Format() now behaves more as expected, see docs
282 - wxLocale now provides much more convenient API for setting language and
283 detecting current system language. New API is more abstracted and truly
284 cross-platform, independent of underlying C runtime library.
288 - new wxToggleButton class (John Norris, Axel Schlueter)
289 - wxCalendarCtrl not highlighting the date with time part bug fixed
290 - wxADJUST_MINSIZE sizer flag added
291 - FindOrCreateBrush/Pen() bug fix for invalid colour values
292 - new wxXPMHandler for reading and writing XPM images
293 - added new (now recommended) API for conversion between wxImage and wxBitmap
294 (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of
295 wxImage methods and ctor)
296 - ODBC classes now support DB2, Interbase, and Pervasive SQL
297 - ODBC documentation complete!!
298 - ODBC classes have much Unicode support added, but not complete
299 - ODBC experimental BLOB support added, but not completely tested
300 - ODBC NULL column support completed (Roger/Paul Gammans)
301 - ODBC All "char *" and char arrays removed and replaced with wxString use
305 - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen)
306 - fixed bug in MDI children flags (mis)handling
307 - it is possible to compile wxCHMHelpController with compilers
308 other than Visual C++ now and hhctrl.ocx is loaded at runtime
312 - added support for wchar_t (wxUSE_WCHAR_T) under Unix
316 - mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup
317 - visual enhancements to contents panel of wxHtmlHelpController
324 - Fixed bug with directories with trailing (back)slashes in wxPathExists
325 - wxString: added wxArrayString::operator==() and !=()
326 - Fixes for wxCmdLineParser
327 - Added wxGetLocalTimeMillis
328 - Completed Czech translations
329 - Some stream corrections
330 - added missing consts to wxPoint operators
331 - wxDateTime ParseFormat fixes
332 - wxFile::Open(write_append) will create file if it doesn't exist
333 - small fixes to MIME mailcap test command handling, more MIME tests in the sample
337 - wxGenericDragImage now allows virtual image drawing, and
338 flicker-free dragging is now possible
339 - Added wxPrinter::GetLastError
340 - Fixed wxLogGui reentrancy problem
341 - Paper names now translated
343 - Generic validator now caters for more cases (integers in
344 wxTextCtrl, strings in wxChoice, wxComboBox)
345 - Fixed crash when docview On... functions return FALSE. Show
346 error message when an non-existent filename is typed into the Open
348 - Corrected Baltic font encoding handling
349 - wxImage: enhanced TIFF code, added new platform-independent BMP
351 - wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
352 - Fixed wxPropertyForm crashes in sample
353 - wxWizard now calls TransferDataFromWindow() before calling
354 wxWizardPage::GetNext() fixing an obvious bug
358 - wxWindow::GetCharWidth/Height now calculated accurately.
359 This will affect all .wxr dialog resources, so for
360 backward compatibility, please set
361 wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h
362 - wxListCtrl: set item text in LIST_ITEM_ACTIVATED events
363 - wxTextCtrl: implemented setting colours for rich edit controls
364 - wxColour now accepts both grey and gray
365 - BC++ DLL compilation fixed
366 - Watcom C++ makefiles improved for JPEG and TIFF compilation
367 - Fixed submenu accelerator bug
368 - Fixed dialog focus bug (crash if the previous window to have
369 the focus was destroyed before the dialog closed)
370 - Too-small default wxTextCtrl height fixed
371 - fixed "missing" initial resize of wxMDIChildFrame
372 - wxFrame restores focus better
373 - Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to
374 frames anddialogs, interferes with other window styles otherwise
375 (sometimes you'd get a thick frame in a subwindow)
376 - wxTextCtrl insertion point set to the beginning of the control by SetValue
377 - Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
378 - wxFileDialog: adjusts struct size if there's an error (struct
379 sizes can be different on different versions of Windows)
380 - wxImageList::GetSize() documented and added to wxMSW
381 - fixed default dialog style to make them non resizeable again
382 - fixed wxFrame::IsShown() which always returned TRUE before
386 - Please see docs/gtk/changes.txt.
390 - Small compilation fixes
406 - Added wxCHMHelpController, for invoking MS HTML Help
407 files. This works under VC++ only
408 - Modal dialog handling improved
409 - Printer dialog now modal
424 - Added docs/tech for technical notes
428 - Started new contrib hierarchy that mirrors
429 the main lib structure; moved OGL and MMedia into it
434 - wxDateTime replaces and extends old wxDate and wxTime classes (still
435 available but strongly deprecated) with many new features
436 - wxLongLong class provides support for (signed) 64 bit integers
437 - wxCmdLineParser class for parsing the command line (supporting short and
438 long options, switches and parameters of different types)
439 - it is now possible to build wxBase under Win32 (using VC++ only so far)
440 and BeOS (without thread support yet)
441 - wxThread class modified to support both detached and joinable threads, also
442 added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
444 - wxDir class for enumerating files in a directory
445 - wxLog functions are now (more) MT-safe
446 - wxStopWatch class, timer functions have more chances to return correct
447 results for your platform (use ANSI functions where available)
448 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
449 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
451 - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
455 - Added wxImage::Rotate.
456 - new wxCalendarCtrl class for picking a date interactively
457 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu menagament
458 - wxToolBar supports arbitrary controls (not only buttons) and can be
459 dynamically changed (Delete/Insert functions)
460 - vertical toolbars supported by MSW and GTK native wxToolBar classes
461 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
462 - "file open" dialog allows selecting multiple files at once (contributed by
464 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
465 MIME types if available (Unix only)
466 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
467 - TIFF support added (libtiff required and included in the distribution)
468 - PCX files can now be written (256 and 24 bits)
469 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
470 - wxScrolledWindow now has keyboard interface
471 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
472 - added wxEncodingConverter and improved wxFontMapper
473 for dealing with convertions between different encodings,
474 charsets support in wxLocale and wxHTML
475 - wxDragImage class added
476 - samples/help improved to show standard and advanced HTML help
477 controllers, as well as native help
478 - moved wxTreeLayout class to main lib
482 - wxFrame::MakeFullScreen added.
483 - support for enhanced metafiles added, support for copying/pasting metafiles
484 (WMF and enhanced ones) fixed/added.
485 - implemented setting colours for push buttons
486 - wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be
487 positioned along the top of the screen and not only at the bottom
488 - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun)
489 - loading/saving big (> 32K) files in wxTextCtrl works
490 - tooltips work with wxRadioBox
491 - wxBitmap/wxIcon may be constructed from XPM included into a program, as in
493 - returning FALSE from OnPrintPage() aborts printing
494 - VC++ makefiles and project files made (mostly) consistent
495 - wxSetCursorEvent added
499 - wxFontMapper endless recursion bug (on some systems) fixed
500 - wxGTK synthesizes wxActivateEvents
501 - UpdateUI handlers may be used with wxTextCtrl
505 - wxMenu::Enable works
506 - wxToolBar bugs fixed
507 - OGL samples made to work again
511 - almost complete rewrite of wxHtmlHelpController,
512 including faster search, bookmarks, printing, setup dialog
513 and cross-platform binary compatible .cached files for faster
514 loading of large helpbooks, case insensitive search
515 splitted into 3 parts: wxHtmlHelpData, Frame and Controller
516 - added support for charsets and <meta> tag
517 - added support for font faces and justified paragraphs,
518 taken some steps to prepare wxHTML for frames
519 - added dynamic pushing/poping of wxHtmlParser tag handlers
520 - improved HTML printing
521 - added extensive table of HTML characters substitutions ( etc.)
522 - fixed wxHtmlWindow flickering, several minor bugfixes
523 - added some tags: <address>, <code>, <kbd>, <samp>, <small>, <big>,
524 fixed handling of relative and absolute font sizes in <font size>
527 NOTE: for changes after wxWindows 2.1.0 b4, please see the CVS
530 2.1.0, b4, May 9th 1999
531 -----------------------
535 - JPEG support added.
536 - Many fixes and changes not thought worth mentioning in this file :-)
540 - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
542 - JPEG support added.
543 - Fixes for Cygwin compilation.
544 - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
545 - Many fixes people didn't tell this file about.
552 - Some changes for Unicode support, including wxchar.h/cpp.
555 2.0.1 (release), March 1st 1999
556 -------------------------------
561 - Slider/spinbutton fixes.
565 - Fixed problems with <return> in dialogs/panels.
566 - Fixed window cursor setting.
567 - Fixed toolbar sizing and edge-clipping problems.
568 - Some makefile fixes.
576 - Added wxUSE_SOCKETS.
577 - More topic overviews.
578 - Put wxPrintPaperType, wxPrintPaperDatabase into
579 prntbase.h/cpp for use in non-PostScript situations
580 (e.g. Win16 wxPageSetupDialog).
583 Beta 5, February 18th 1999
584 --------------------------
588 - wxExecute improved.
592 - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
594 - Changed VC++ makefiles (.vc) so that it's possible to have
595 debug/release/DLL versions of the library available simultaneously,
596 with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
597 - Added BC++ 5 IDE files and instructions.
598 - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
599 - Fixed focus-related crash.
603 - Cured asynchronous wxExecute crash.
604 - Added repaint event handlers to wxFrame, wxMDIChildFrame.
608 - wxLocale documented.
609 - Added include filenames to class reference.
610 - wxHelpController API changed: SetBrowser becomes SetViewer,
611 DisplaySection works for WinHelp, help sample compiles under Windows
612 (though doesn't display help yet).
614 Beta 4, February 12th 1999
615 --------------------------
619 - Miscellaneous fixes.
623 - Makefiles for more compilers and samples; Cygwin makefiles
625 - Added VC++ project file for compiling wxWindows as DLL.
629 - Added OnEraseBackground invocation.
630 - Added wxRETAINED implementation for wxScrolledWindow.
631 - Cured scrolling display problem by adding XmUpdateDisplay.
632 - Tried to make lex-ing in the makefile more generic (command line
633 syntax should apply to both lex and flex).
634 - Changed file selector colours for consistency (except for buttons:
635 crashes for some reason).
636 - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
637 of malloc, which causes memory problems).
641 - Further doc improvements.
642 - wxGenericValidator added.
643 - Added wxImageModule to image.cpp, so adds/cleans up standard handlers
646 Beta 3, January 31st 1999
647 -------------------------
651 - wxClipboard/DnD API changes (still in progress).
652 - wxToolTip class added.
653 - Miscellaneous fixes.
657 - wxRegConfig DeleteAll bug fixed.
658 - Makefiles for more compilers.
659 - TWIN32 support added.
660 - Renamed VC++ makefiles from .nt to .vc, and
661 factored out program/library settings.
662 - Fixed wxIniConfig bug.
666 - A few more colour fixes.
667 - wxGLCanvas and OpenGL samples working.
668 - Some compiler warnings fixed.
669 - wxChoice crash fix.
670 - Dialog Editor starting to work on Motif.
674 - wxBusyCursor class added.
676 - More doc improvements, incl. expanding docs/html/index.htm.
685 - 16-bit BC++ compilation/linking works albeit without the resource system.
689 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
691 - Cured some widget table clashes.
692 - Added thread support (Robert).
693 - wxPoem sample now works.
697 - Rearranged documentation a bit.
698 - Sash window uses area of first frame/dialog to paint over when drawing
699 the dragged sash, not just the sash window itself (it clipped to the right
701 - Made resource sample use the correct Cancel button id.
702 - Moved wxProp to main library (generic directory), created proplist
704 - Added bombs and fractal samples.
706 Beta 1, December 24th 1998
707 --------------------------
713 wxMSW, wxMotif: not in sync with this release.
716 Alpha 18, December 29th 1998
717 ----------------------------
721 - Win16 support working again (VC++ 1.5)
722 - Win16 now uses generic wxNotebook, wxListCtrl,
723 wxTreeCtrl -- more or less working now, although
724 a little work on wxNotebook is still needed.
725 Under 16-bit Windows, get assertion when you click
727 - Wrote 16-bit BC++ makefiles: samples don't yet link.
728 - Added CodeWarrior support to distribution courtesy
733 - Cured scrolling problem: scrollbars now show/hide themselves
734 without (permanently) resizing the window.
735 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
736 that disabled scrollbar paging.
737 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
739 - Removed major bug whereby dialogs were unmanaged automatically
740 when any button was pressed.
741 - Fixed colours of wxWindow scrollbars, made list and text controls
742 have a white background.
743 - Fixed dialog colour setting.
744 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
745 they have sensible colours by default.
746 - Fixed a bug in wxStaticBox.
747 - Cured wxTreeCtrl bug: now works pretty well!
748 - Debugged DrawEllipticArc (a ! in the wrong place).
749 - Added SetClippingRegion( const wxRegion& region ).
750 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
752 Alpha 17, November 22nd 1998
753 ----------------------------
757 - More documentation updates, especially for
758 wxLayoutWindow classes and debugging facilities.
759 - Changed wxDebugContext to use wxDebugLog instead
761 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
762 However, DLL support may be broken for BC++ since
763 VC++ 6 required changing of WXDLLEXPORT keyword
765 - Numerous miscellaneous changes.
769 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
770 were too buggy (probably not design for dynamic addition/removal of
772 - Some improvements to the wxNotebook implementation.
773 - wxToolBar now uses a bulletin board instead of a form, in an attempt
774 to make it possible to add ordinary wxControls to a toolbar.
775 - Cured problem with not being able to use global memory operators,
776 by defining two more global operators, so that the delete will match
777 the debugging implementation.
778 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
779 global memory operators (usually OK) and #defining new to be
780 WXDEBUG_NEW (sometimes it might not be OK).
781 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
782 - Added a parent-existance check to popup menu code to make it not crash.
783 - Added some optimization in wxWindow::SetSize to produce less flicker.
784 It remains to be seen whether this produces any resize bugs.
786 It's a long time since I updated this file. Previously done:
788 - wxFrame, wxDialog done.
789 - wxScrolledWindow done (but backing pixmap not used at present).
790 - wxBitmap done though could be tidied it up at some point.
791 - Most basic controls are there, if not rigorously tested.
792 - Some MDI support (menus appear on child frames at present).
793 - wxNotebook almost done.
794 - wxToolBar done (horizontal only, which would be easy to extend
795 to vertical toolbars).
799 - Colour and font changing done (question mark over what happens
801 - Accelerators done (for menu items and buttons). Also event loop
802 tidied up in wxApp so that events are filtered through ProcessXEvent.
803 - wxWindow::GetUpdateRegion should now work.
805 Alpha 16, September 8th 1998
806 ----------------------------
810 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
812 - Guilhem's socket classes added, plus wxsocket sample.
813 - A few more makefiles added.
814 - GnuWin32/BC++ compatibility mods.
815 - Further doc updates.
816 - wxProp updates for correct working with wxGTK.
820 - First start at Motif port.
821 - Made makefiles for wxMotif source directory and minimal sample.
822 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
823 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
824 wxMenu, wxMenuItem, wxMenuBar
826 Alpha 15, August 31st 1998
827 --------------------------
832 - wxDC::GetDepth added.
833 - Contribution added whereby wxBitmap will be
834 converted to DC depth if they don't match.
835 - wxConfig API improved, documentation updated.
836 - Printing classes name conventions cleaned up.
837 - wxUpdateUIEvent now derives from wxCommandEvent
838 so event can travel up the window hierachy.
840 Alpha 14, July 31st 1998
841 ------------------------
845 - Toolbar API has been simplified, and now
846 wxFrame::GetClientArea returns the available client
847 area when toolbar, status bar etc. have been accounted for.
848 wxFrame::CreateToolBar added in line with CreateStatusBar.
849 - Documentation updates, incl. for wxToolBar.
850 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
851 - Various additions from other folk, e.g. streams, wxConfig
853 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
855 Alpha 13, July 8th 1998
856 -----------------------
860 - Implemented wxPoint as identical to POINT on Windows, and
861 altered wxDC wxPoint functions to use wxPoint directly in
862 Windows functions, for efficiency.
863 - Cured wxASSERT bug in wxStatusBar95.
864 - #ifdefed out some bits in oleutils.cpp for compilers that
866 - Added some operators to wxPoint, wxSize.
867 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
869 Alpha 12, July 7th 1998
870 -----------------------
874 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
875 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
877 Alpha 11, July 3rd 1998
878 -----------------------
882 - Added thread.h, thread.cpp.
883 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
885 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
886 SetTextColor to SetTextColour, and added or made public several
887 wxMenuItem accessors.
888 - Added two overloads to wxRegion::Contains. Added
889 wxRegion::IsEmpty for a more consistent naming convention.
890 - Added Vadim's wxDataObject and wxDropSource.
891 - ENTER/LEAVE events now work.
892 - Cured wxMemoryDC bug where the DC wasn't being deleted.
893 - Cured wxGauge SetSize major bugginess.
894 - Cured problem where if a GDI object was created on the stack,
895 then went out of scope, then another object was selected into
896 the DC, GDI objects would leak. This is because the assignment
897 to e.g. wxDC::m_pen would delete the GDI object without it first
898 being selected out of the DC. Cured by selecting the old DC object
899 first, then doing the assignment.
900 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
901 - Various other bug fixes and additions.
905 - Major work on Dialog Editor (still plenty to go).
906 - Expanded documentation a bit more.
908 Alpha 10, May 7th 1998
909 ----------------------
913 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
914 and wxIcon functions so that you can specify what size of
915 icon should be loaded. Probably will remain a Windows-specific thing.
916 - wxStatusBar95 now works for MDI frames.
917 - Toolbars in MDI frames now behave normally. They still
918 require application-supplied positioning code though.
919 - Changed installation instructions, makefiles and batch files
920 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
921 change to support Mingw32/EGCS. Bison now used by default.
923 Alpha 9, April 27th 1998
924 ------------------------
928 - Cured bug in wxStatusBar95 that caused a crash if multiple
930 - Added Gnu-Win32 b19/Mingw32 support by changing resource
931 compilation and pragmas.
932 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
933 commands because VZ changed the id setting in wxMenu::MSWCommand.
937 - Corrected some bugs, such as the wxModule compilation problem.
938 - Added Gnu-Win32 b19/Mingw32 support by changing resource
939 compilation and pragmas.
940 - Changed SIZEOF to WXSIZEOF.
942 Alpha 8, April 17th 1998
943 ------------------------
947 - Added IsNull to wxGDIObject to check if the ref data is present or not.
948 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
950 - Added wxJoystick class and event handling, and simple demo.
951 - Added simple wxWave class. Needs Stop() function.
952 - Added wxModule (module.h/module.cpp) to allow definition
953 of modules to be initialized and cleaned up on wxWindows
955 - Start of Mingw32 compatibility (see minimal and dialogs samples
956 makefile.m95 files, and install.txt).
957 - Note: Windows printing has stopped working... will investigate.
959 - Updated wxString: bug fixes, added wxArrayString, some
960 compatibility functions.
961 - Updated log.h/cpp, added wxApp::CreateLogTarget.
962 - file.h: new wxTempFile class.
963 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
964 - statbr95: wxStatusBar95 control.
965 - registry.h/cpp: wxRegKey class for Win95 registry.
966 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
967 - wxConfig and wxFileConfig classes.
971 - Added src/other/png, src/other/zlib directories.
973 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
974 Porters, please check particularly your wxTreeCtrl and wxListCtrl
976 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
978 Alpha 7, March 30th 1998
979 ------------------------
983 - Added tab classes, tab sample.
984 - Now can return FALSE from OnInit and windows will be
985 cleaned up properly before exit.
986 - Improved border handling so panels don't get borders
988 - Debugged MDI activation from Window menu.
989 - Changes to memory debug handling, including checking for
990 memory leaks on application exit - but see issues.txt for
992 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
993 to allow maintenance of an icon in the Windows 95 taskbar
995 - Got MFC sample working (MFC and wxWindows in the same
996 application), partly by tweaking ntwxwin.mak settings.
997 - Got DLL compilation working again (VC++).
998 - Changed wxProp/Dialog Editor filenames.
1002 - Added tab classes, tab sample.
1003 - Revised memory.cpp, memory.h slightly; memory.h now #defines
1004 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
1005 now checks for leaks on exit. Added memcheck sample.
1006 See src/msw/issues.txt for more details.
1007 - resource.h, resource.cpp changed to make wxDefaultResourceTable
1008 a pointer. Now initialize resource system with
1009 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
1010 allow better control of memory.
1011 - wxString now derives from wxObject, to enable memory leak
1013 - Added some #include fixes in various files, plus changed
1014 float to long in wxToolBar files.
1016 Alpha 6, March 10th 1998
1017 ------------------------
1021 - Found stack error bug - stopped unwanted OnIdle recursion.
1022 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
1023 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
1024 check if the number of top-level windows is zero before
1025 exiting. Also, wxApp::GetTopWindow will return either
1026 m_topWindow or the first member of wxTopLevelWindows, so you
1027 don't have to call wxApp::SetTopWindow.
1028 - Added dynarray.h/dynarray.cpp (from Vadim).
1029 - Added first cut at OLE drag and drop (from Vadim). dnd sample
1030 added. Drop target only at this stage. See src/msw/ole/*.cpp,
1031 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
1032 Doesn't work with GnuWin32 - no appropriate headers e.g. for
1034 Doesn't work with BC++ either - crashes on program startup.
1035 - Added Vadim's owner-draw modifications - will probably remain
1036 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
1037 - Added wxLB_OWNERDRAW for owner-draw listboxes.
1038 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
1039 Doesn't entirely work for WIN16.
1040 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
1041 can also be used as an argument to wxMenu::Append, not just for
1042 internal implementation.
1043 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
1044 in makeg95.env, together with mingw32.bat). However, resource
1045 binding is not working yet so most apps with dialogs crash.
1049 - Added Vadim's dynarray.h, dynarray.cpp.
1050 - Added Vadim's menuitem.cpp.
1051 - Added Windows-specific wxCheckListBox,
1052 owner-draw wxListBox, and drag-and-drop
1053 (see docs/msw/changes.txt).
1055 Alpha 5, 14th February 1998
1056 --------------------------
1060 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1061 DISTRIBUTIONS. This change log will therefore now refer to
1062 the Windows-specific code only. See docs/changes.txt for generic
1064 - Removed Windows-specific reference counting system (GDI
1065 resources were cleaned up in idle time) - minimal
1066 advantages now we have a wxWin reference counting system.
1067 - Added missing WXDLLEXPORT keywords so DLL compilation works
1069 - Removed most warnings for GnuWin32 compilation.
1070 - Added wxRegion/wxRegionIterator, but haven't yet used it in
1075 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1076 DISTRIBUTIONS. This change log will therefore now refer to
1077 the generic code only. See docs/msw/changes.txt for Windows-specific
1079 - Readmes, change logs and installation files now go in
1080 platform-specific directories under docs, e.g. docs/msw,
1082 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
1083 created dynamically, not as a global object.
1084 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
1085 - Changed names of some include/wx/generic headers to be
1086 consistent and to conform to gcc pragma conventions. Also
1087 changed choicesg.cpp to choicdgg.cpp.
1088 - Added gcc pragmas.
1089 - Added gtk inclusion in include/wx headers.
1090 - Added consistent file headings to source and headers.
1091 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
1092 added a few references to wxTransString.
1093 - Added operator to wxTransString that converts automatically
1094 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
1095 - samples/internat now works (minimally).
1096 - Added wxMouseEvent::GetPosition and
1097 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
1098 - Made wxSize and wxRect contain longs not ints.
1099 - Cured some lemory leaks (thanks Vadim).
1100 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
1101 will only keep processing OnIdle if it returns TRUE from
1104 Alpha 4, 31st January 1998
1105 --------------------------
1109 - Changed wxDC functions to take longs instead of floats. GetSize now takes
1110 integer pointers, plus a version that returns a wxSize.
1111 - const keyword added to various wxDC functions.
1112 - Under Windows, wxDC no longer has any knowledge of whether
1113 an associated window is scrolled or not. Instead, the device
1114 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
1115 - wxScrolledWindow applications can optionally override the virtual OnDraw
1116 function instead of using the OnPaint event handler. The wxDC passed to
1117 OnDraw will be translated by PrepareDC to reflect scrolling.
1118 When drawing outside of OnDraw, must call PrepareDC explicitly.
1119 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
1121 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
1122 to help printing with multiple pages.
1123 - IPC classes given base classes (wxConnectionBase etc.) which
1124 define the API used by different implementations. DDE
1125 implementation updated to use these base classes.
1126 - wxHelpInstance now separated into wxHelpControllerBase (base
1127 for all implementations), wxWinHelpController (uses standard
1128 WinHelp), wxXLPHelPController (talks to wxHelp by DDE or
1129 TCP/IP). There will be others eventually, such as
1130 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
1131 - Added Vadim Zeitlin's wxString class plus
1132 internationalization code (gettext simulation, wxLocale, etc.).
1133 New files from Vadim:
1139 src\common\string.cpp
1143 No longer use GNU wxString files.
1144 - Split off file-related functions into include\wx\filefn.h and
1145 src\common\filefn.cpp.
1146 - Borland C++ support (WIN32) for main library and
1147 samples, using makefile.b32 files.
1148 - Preparation done for allowing BC++ to compile wxWin as a DLL,
1149 including changes to defs.h.
1150 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
1152 - Added wxShowEvent (generated when window is being shown or
1154 - Got minimal, docview, mdi samples working for 16-bit VC++ and
1155 cured 16-bit problem with wxTextCtrl (removed global memory
1157 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
1159 Alpha 3, September 1997
1160 -----------------------
1164 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
1165 - Instigated new file hierarchy, split files and classes up more logically.
1166 - PrologIO and some other utils now put into core library.
1167 - Revamped print/preview classes, added wxPageSetupDialog.
1168 - Started documentation.
1170 Alpha 2, 30th April 1997
1171 ------------------------
1175 - EVT_... macros now have at least one argument, for conformance
1176 with MetroWerks compiler.
1177 - Added ids to .wxr file format.
1178 - Got Dialog Editor compiled and running again but need
1179 to extend functionality to be in line with new controls.
1180 Added dialoged\test app to allow dynamic loading of .wxr files
1181 for testing purposes.
1182 - Rewrote wxBitmap to allow installable file type
1184 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
1185 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
1187 - Added back wxRadioBox.
1188 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
1191 Alpha 1, 5th April 1997
1192 -----------------------
1196 At this point, the following has been achieved:
1198 - A lot, but not all, of the code has been revamped for better
1199 naming conventions, protection of data members, and use of
1200 wxString instead of char *.
1201 - Obsolete functionality deleted (e.g. default wxPanel layout,
1202 old system event system) and code size reduced.
1203 - Class hierarchy changed (see design doc) - base classes such
1204 as wxbWindow now removed.
1205 - No longer includes windows.h in wxWin headers, by using stand-in
1206 Windows types where needed e.g. WXHWND.
1208 - wxScrolledWindow, wxStatusBar and new MDI classes added.
1209 MDI is now achived using separate classes, not window styles.
1210 - wxSystemSettings added, and made use of to reflect standard
1212 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
1213 settings mucho rationalised.
1214 - All windows are now subclassed with the same window proc to make
1215 event handling far more consistent. Old internal wxWnd and derived
1217 - API for controls revised, in particular addition of
1218 wxValidator parameters and removal of labels for some controls.
1219 - 1 validator written: see examples/validate.
1220 - Event table system introduced (see most samples and
1221 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
1222 made more flexible, with Push/PopEventHandler allowing a chain
1224 - wxRadioBox removed - will be added back soon.
1225 - Toolbar class hierarchy revised:
1227 wxToolBarSimple (= old wxToolBar)
1228 wxToolBar95 (= old wxButtonBar under Win95
1229 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
1230 - Constraint system debugged somewhat (sizers now work properly).
1231 - wxFileDialog, wxDirDialog added; other common dialogs now
1232 have class equivalents. Generic colour and font dialogs
1233 rewritten to not need obsolete panel layout.
1234 - .wxr resource system partially reinstated, though needs
1235 an integer ID for controls. Hopefully the resource system
1236 will be replaced by something better and more efficient
1238 - Device contexts no longer stored with window and accessed
1239 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
1241 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
1242 determines whether labels are shown. Other Win95-specific flags
1243 introduced, e.g. for showing ticks.
1244 - Styles introduced for dealing with 3D effects per window, for
1245 any window: all Win95 3D effects supported, plus transparent windows.
1246 - Major change to allow 3D effect support without CTL3D, under
1248 - Bitmap versions of button and checkbox separated out into new
1249 classes, but unimplemented as yet because I intend to remove
1250 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
1251 - utils/wxprop classes working (except maybe wxPropertyFormView)
1252 in preparation for use in Dialog Editor.
1253 - GNU-WIN32 compilation verified (a month or so ago).