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 - wxObject::CopyObject() and Clone() methods were removed because they
14 simply don't make sense for all objects
16 - wxEvent now has a pure virtual Clone() method which must be implemented
17 by all derived classes, if you have user-defined event classes please
18 add "wxEvent *Clone() const { return new MyEvent(*this); }" line to them
22 - the event type constants are not constants any more but are dynamically
23 allocated during run-time which means that they can't be used as case labels
24 in the switch()es, you must rewrite them to use if()s instead
26 You may also define WXWIN_COMPATIBILITY_EVENT_TYPES to get the old behaviour
27 but this is strongly discouraged, please consider changing your codei
30 - wxDialog does not derive from wxPanel any longer - if you were using it in
31 your code, please update it. The quick fix for the most cases is to replace
32 the occurences of wxPanel with wxWindow.
34 - wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO
35 have changed (to fix some unfortunate clashes), please check your code to
36 ensure that no tests for wxYES or wxNO are broken: for example, the following
37 will *NOT* work any longer:
39 if ( flags & wxYES_NO )
42 ... do something else ...
44 - wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
46 - wxGridCellAttrProvider class API changed, you will need to update your code
47 if you derived any classes from it
49 - wxImage::ComputeHistogram()'s signature changed to
50 unsigned long ComputeHistogram(wxImageHistogram&) const
54 - build system changed: setup.h is not a static file in include/wx any more
55 but is created as part of the build process under lib/<toolkit>/wx/include
56 where <toolkit> is of the form (msw|univ)[dll][u][d]. You'll need to update
57 the include path in your make/project files appropriately. Furthermore,
58 xpm.lib is no longer used by wxMSW, it was superseded by the wxXPMDecoder
59 class. You'll need to remove all references to xpm.lib from your
62 - child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR
63 style to avoid it, wxFRAME_FLOAT_ON_PARENT style is now obsolete and has no
66 - all overloads of wxDC::SetClippingRegion() combine the given region with the
67 previously selected one instead of replacing it
71 - You should use `wx-config --cxxflags` in your makefiles instead of
72 `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS
73 and the compiler flags for C++ files only, CFLAGS should still be used
74 to compile pure C files.
85 - fixes to the command line parsing error and usage messages
86 - modified wxFileName::CreateTempFileName() to open the file atomically
87 (if possible) and, especially, not to leak the file descriptors under Unix
88 - memory leak in wxHTTP fixed (Dimitri)
89 - fixes to AM_PATH_WXCONFIG autoconf macro
90 - added wxHashMap class that replaces type-unsafe wxHashTable and is modelled
95 - wxWindows may be built using BSD and Solaris (and possibly other) make
96 programs and not only GNU make
100 - wxImage::ComputeHistogram() now uses wxImageHistogram instead of type-unsafe
102 - significantly improved native font support
103 - added IFF image handler
104 - fixed using custom renderers in wxGrid which was broken in 2.3.2
105 - support for multiple images in one file added to wxImage (TIFF and ICO formats)
106 - support for CUR and ANI files in wxImage added (Chris Elliott)
107 - wxTextCtrl::GetRange() added
108 - added wxGetFontFromUser() convenience function
112 - small appearance fixes for native look under Windows XP
113 - refresh the buttons properly when the window is resized (Hans Van Leemputten)
114 - huge (40*) speed up in wxMask::Create()
115 - changing wxWindows styles also changes the underlying Windows window style
116 - fixed flicker in wxTreeCtrl::SetItemXXX()
117 - fixed redraw problems in dynamically resized wxStaticText
118 - improvements to wxWindows applications behaviour when the system colours
120 - fixed wxProgressDialog for ranges > 65535
121 - wxFontEnumerator now returns all fonts, not only TrueType ones
122 - bugs in handling wxFrame styles (border/caption related) fixed
123 - showing a dialog from EVT_RADIOBUTTON handler doesn't lead to an infinite
125 - wxTextCtrl with wxTE_RICH flag scrolls to the end when text is appended to it
126 - wxWindowDC and wxClientDC::GetSize() works correctly now
130 - wxDirDialog now presents the file system in standard Unix way
131 - wxButton now honours wxBU_EXACTFIT
132 - wxStaticBox now honours wxALIGN_XXX styles
136 - fixed wxHtmlHelpController's cache files handling on big endian machines
137 - added blocking and redirecting capabilities to wxHtmlWindow via
138 wxHtmlWindow::OnOpeningURL()
139 - fixed alignment handling in tables
144 New port: wxUniv for Win32/GTK+ is now included in the distribution.
148 - wxRegEx class added
149 - wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber)
150 - wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen)
151 - more fixes to wxMBConv classes. Conversion to and from wchar_t now works with
152 glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s
153 capabilities at runtime instead of in the configure script.
157 - support for virtual list control added
158 - column images in report mode of the list control
159 - wxFindReplaceDialog added (based on work of Markus Greither)
160 - wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK)
161 - polygon support in wxRegion (Klaas Holwerda)
162 - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added
163 - fixed bug with using wxExecute() to capture huge amounts of output
164 - new wxCalendarCtrl styles added (Søren Erland Vestø)
165 - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh)
166 - wxDirSelector() added (Paul A. Thiessen)
167 - wxGrid cell editing veto support (Roger Gammans)
168 - wxListCtrl ITEM_FOCUSED event added
169 - support for ICO files in wxImage added (Chris Elliott)
173 - support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook)
174 - new library naming convention under VC++ -- please change your application
179 - fixed popup menu positioning bug
183 - new HTML parser with correct parsing of character entities and fixes
185 - added support for animated GIFs
193 - Fixed new charset detection code
194 - ODBC Informix fixes (submitted by Roger Gammans)
195 - Added ODBC date support to wxVariant
196 - Added wxDir::Traverse
197 - Added wxSingleInstanceChecker class
198 - Removed redundant wxDebugContext functions using C++ streams,
199 so now standard stream usage should be unnecessary
203 - Added wxDbGrid class for displaying ODBC tables
204 - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the
205 user code can get access to the edit control when it is created, (to
206 push on a custom event handler for example)
207 - Added wxTextAttr class and SetStyle, SetDefaultStyle and
208 GetDefaultStyle methods to wxTextCtrl
209 - Added wxSingleInstanceChecker
210 - Improvements to Tex2RTF
211 - Added Paul and Roger Gammans' grid controls
212 - Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
214 - Fixed memory leak in textcmn.cpp
215 - Various wxXML enhancements
216 - Removed wxCLIP_CHILDREN style from wxSplitterWindow
217 - Fixed memory leak in DoPrint, htmprint.cpp
218 - Fixed calendar sample bug with using wxCommandEvent::GetInt()
220 - Added wxDbGrid combining wxODBC classes with wxGrid
221 - Added more makefiles and project files for contrib hierarchy
225 - Fixed wxApp::ProcessMessage so controls don't lose their
226 accelerators when the accelerators are redefined elsewhere
227 - Accelerators consisting of simple keystrokes (without control,
228 alt or shift) now work
229 - Compile fixes for Watcom C++ added
230 - Compile fixes for Cygwin 1.0 added
231 - Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop()
232 - Replaced wxYield() call in PopupMenu() by a much safer
233 wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones
234 - Enter processing in wxSpinCtrl fixed
235 - Fixed bug in determining the best listbox size
236 - Fix for wxFrame's last focus bug
237 - We now send iconize events
238 - Fixed wxFrame::SetClientSize() with toolbar bug
239 - Added mousewheel processing
240 - Added wxSystemSettings::Get/SetOption so we can configure
241 wxWindows at run time; used this to implement no-maskblt option
243 - Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
244 child frame styles are honoured
248 - Fixed slider rounding bug
249 - Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
250 - We now send iconize events
251 - Fix for discrepancies between wxNotebookEvent and wxNotebook
252 GetSelection() results
259 - fixed problem with wxURL when using static version of the library
260 - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories
261 - wxMimeTypesManager now can create file associations too (Chris Elliott)
262 - wxCopyFile() respects the file permissions (Roland Scholz)
263 - wxFTP::GetFileSize() added (Søren Erland Vestø)
264 - wxDateTime::IsSameDate() bug fixed
265 - wxTimeSpan::Format() now behaves more as expected, see docs
266 - wxLocale now provides much more convenient API for setting language and
267 detecting current system language. New API is more abstracted and truly
268 cross-platform, independent of underlying C runtime library.
272 - new wxToggleButton class (John Norris, Axel Schlueter)
273 - wxCalendarCtrl not highlighting the date with time part bug fixed
274 - wxADJUST_MINSIZE sizer flag added
275 - FindOrCreateBrush/Pen() bug fix for invalid colour values
276 - new wxXPMHandler for reading and writing XPM images
277 - added new (now recommended) API for conversion between wxImage and wxBitmap
278 (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of
279 wxImage methods and ctor)
280 - ODBC classes now support DB2, Interbase, and Pervasive SQL
281 - ODBC documentation complete!!
282 - ODBC classes have much Unicode support added, but not complete
283 - ODBC experimental BLOB support added, but not completely tested
284 - ODBC NULL column support completed (Roger/Paul Gammans)
285 - ODBC All "char *" and char arrays removed and replaced with wxString use
289 - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen)
290 - fixed bug in MDI children flags (mis)handling
291 - it is possible to compile wxCHMHelpController with compilers
292 other than Visual C++ now and hhctrl.ocx is loaded at runtime
296 - added support for wchar_t (wxUSE_WCHAR_T) under Unix
300 - mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup
301 - visual enhancements to contents panel of wxHtmlHelpController
308 - Fixed bug with directories with trailing (back)slashes in wxPathExists
309 - wxString: added wxArrayString::operator==() and !=()
310 - Fixes for wxCmdLineParser
311 - Added wxGetLocalTimeMillis
312 - Completed Czech translations
313 - Some stream corrections
314 - added missing consts to wxPoint operators
315 - wxDateTime ParseFormat fixes
316 - wxFile::Open(write_append) will create file if it doesn't exist
317 - small fixes to MIME mailcap test command handling, more MIME tests in the sample
321 - wxGenericDragImage now allows virtual image drawing, and
322 flicker-free dragging is now possible
323 - Added wxPrinter::GetLastError
324 - Fixed wxLogGui reentrancy problem
325 - Paper names now translated
327 - Generic validator now caters for more cases (integers in
328 wxTextCtrl, strings in wxChoice, wxComboBox)
329 - Fixed crash when docview On... functions return FALSE. Show
330 error message when an non-existent filename is typed into the Open
332 - Corrected Baltic font encoding handling
333 - wxImage: enhanced TIFF code, added new platform-independent BMP
335 - wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
336 - Fixed wxPropertyForm crashes in sample
337 - wxWizard now calls TransferDataFromWindow() before calling
338 wxWizardPage::GetNext() fixing an obvious bug
342 - wxWindow::GetCharWidth/Height now calculated accurately.
343 This will affect all .wxr dialog resources, so for
344 backward compatibility, please set
345 wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h
346 - wxListCtrl: set item text in LIST_ITEM_ACTIVATED events
347 - wxTextCtrl: implemented setting colours for rich edit controls
348 - wxColour now accepts both grey and gray
349 - BC++ DLL compilation fixed
350 - Watcom C++ makefiles improved for JPEG and TIFF compilation
351 - Fixed submenu accelerator bug
352 - Fixed dialog focus bug (crash if the previous window to have
353 the focus was destroyed before the dialog closed)
354 - Too-small default wxTextCtrl height fixed
355 - fixed "missing" initial resize of wxMDIChildFrame
356 - wxFrame restores focus better
357 - Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to
358 frames anddialogs, interferes with other window styles otherwise
359 (sometimes you'd get a thick frame in a subwindow)
360 - wxTextCtrl insertion point set to the beginning of the control by SetValue
361 - Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
362 - wxFileDialog: adjusts struct size if there's an error (struct
363 sizes can be different on different versions of Windows)
364 - wxImageList::GetSize() documented and added to wxMSW
365 - fixed default dialog style to make them non resizeable again
366 - fixed wxFrame::IsShown() which always returned TRUE before
370 - Please see docs/gtk/changes.txt.
374 - Small compilation fixes
390 - Added wxCHMHelpController, for invoking MS HTML Help
391 files. This works under VC++ only
392 - Modal dialog handling improved
393 - Printer dialog now modal
408 - Added docs/tech for technical notes
412 - Started new contrib hierarchy that mirrors
413 the main lib structure; moved OGL and MMedia into it
418 - wxDateTime replaces and extends old wxDate and wxTime classes (still
419 available but strongly deprecated) with many new features
420 - wxLongLong class provides support for (signed) 64 bit integers
421 - wxCmdLineParser class for parsing the command line (supporting short and
422 long options, switches and parameters of different types)
423 - it is now possible to build wxBase under Win32 (using VC++ only so far)
424 and BeOS (without thread support yet)
425 - wxThread class modified to support both detached and joinable threads, also
426 added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
428 - wxDir class for enumerating files in a directory
429 - wxLog functions are now (more) MT-safe
430 - wxStopWatch class, timer functions have more chances to return correct
431 results for your platform (use ANSI functions where available)
432 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
433 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
435 - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
439 - Added wxImage::Rotate.
440 - new wxCalendarCtrl class for picking a date interactively
441 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu menagament
442 - wxToolBar supports arbitrary controls (not only buttons) and can be
443 dynamically changed (Delete/Insert functions)
444 - vertical toolbars supported by MSW and GTK native wxToolBar classes
445 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
446 - "file open" dialog allows selecting multiple files at once (contributed by
448 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
449 MIME types if available (Unix only)
450 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
451 - TIFF support added (libtiff required and included in the distribution)
452 - PCX files can now be written (256 and 24 bits)
453 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
454 - wxScrolledWindow now has keyboard interface
455 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
456 - added wxEncodingConverter and improved wxFontMapper
457 for dealing with convertions between different encodings,
458 charsets support in wxLocale and wxHTML
459 - wxDragImage class added
460 - samples/help improved to show standard and advanced HTML help
461 controllers, as well as native help
462 - moved wxTreeLayout class to main lib
466 - wxFrame::MakeFullScreen added.
467 - support for enhanced metafiles added, support for copying/pasting metafiles
468 (WMF and enhanced ones) fixed/added.
469 - implemented setting colours for push buttons
470 - wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be
471 positioned along the top of the screen and not only at the bottom
472 - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun)
473 - loading/saving big (> 32K) files in wxTextCtrl works
474 - tooltips work with wxRadioBox
475 - wxBitmap/wxIcon may be constructed from XPM included into a program, as in
477 - returning FALSE from OnPrintPage() aborts printing
478 - VC++ makefiles and project files made (mostly) consistent
479 - wxSetCursorEvent added
483 - wxFontMapper endless recursion bug (on some systems) fixed
484 - wxGTK synthesizes wxActivateEvents
485 - UpdateUI handlers may be used with wxTextCtrl
489 - wxMenu::Enable works
490 - wxToolBar bugs fixed
491 - OGL samples made to work again
495 - almost complete rewrite of wxHtmlHelpController,
496 including faster search, bookmarks, printing, setup dialog
497 and cross-platform binary compatible .cached files for faster
498 loading of large helpbooks, case insensitive search
499 splitted into 3 parts: wxHtmlHelpData, Frame and Controller
500 - added support for charsets and <meta> tag
501 - added support for font faces and justified paragraphs,
502 taken some steps to prepare wxHTML for frames
503 - added dynamic pushing/poping of wxHtmlParser tag handlers
504 - improved HTML printing
505 - added extensive table of HTML characters substitutions ( etc.)
506 - fixed wxHtmlWindow flickering, several minor bugfixes
507 - added some tags: <address>, <code>, <kbd>, <samp>, <small>, <big>,
508 fixed handling of relative and absolute font sizes in <font size>
511 NOTE: for changes after wxWindows 2.1.0 b4, please see the CVS
514 2.1.0, b4, May 9th 1999
515 -----------------------
519 - JPEG support added.
520 - Many fixes and changes not thought worth mentioning in this file :-)
524 - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
526 - JPEG support added.
527 - Fixes for Cygwin compilation.
528 - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
529 - Many fixes people didn't tell this file about.
536 - Some changes for Unicode support, including wxchar.h/cpp.
539 2.0.1 (release), March 1st 1999
540 -------------------------------
545 - Slider/spinbutton fixes.
549 - Fixed problems with <return> in dialogs/panels.
550 - Fixed window cursor setting.
551 - Fixed toolbar sizing and edge-clipping problems.
552 - Some makefile fixes.
560 - Added wxUSE_SOCKETS.
561 - More topic overviews.
562 - Put wxPrintPaperType, wxPrintPaperDatabase into
563 prntbase.h/cpp for use in non-PostScript situations
564 (e.g. Win16 wxPageSetupDialog).
567 Beta 5, February 18th 1999
568 --------------------------
572 - wxExecute improved.
576 - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
578 - Changed VC++ makefiles (.vc) so that it's possible to have
579 debug/release/DLL versions of the library available simultaneously,
580 with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
581 - Added BC++ 5 IDE files and instructions.
582 - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
583 - Fixed focus-related crash.
587 - Cured asynchronous wxExecute crash.
588 - Added repaint event handlers to wxFrame, wxMDIChildFrame.
592 - wxLocale documented.
593 - Added include filenames to class reference.
594 - wxHelpController API changed: SetBrowser becomes SetViewer,
595 DisplaySection works for WinHelp, help sample compiles under Windows
596 (though doesn't display help yet).
598 Beta 4, February 12th 1999
599 --------------------------
603 - Miscellaneous fixes.
607 - Makefiles for more compilers and samples; Cygwin makefiles
609 - Added VC++ project file for compiling wxWindows as DLL.
613 - Added OnEraseBackground invocation.
614 - Added wxRETAINED implementation for wxScrolledWindow.
615 - Cured scrolling display problem by adding XmUpdateDisplay.
616 - Tried to make lex-ing in the makefile more generic (command line
617 syntax should apply to both lex and flex).
618 - Changed file selector colours for consistency (except for buttons:
619 crashes for some reason).
620 - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
621 of malloc, which causes memory problems).
625 - Further doc improvements.
626 - wxGenericValidator added.
627 - Added wxImageModule to image.cpp, so adds/cleans up standard handlers
630 Beta 3, January 31st 1999
631 -------------------------
635 - wxClipboard/DnD API changes (still in progress).
636 - wxToolTip class added.
637 - Miscellaneous fixes.
641 - wxRegConfig DeleteAll bug fixed.
642 - Makefiles for more compilers.
643 - TWIN32 support added.
644 - Renamed VC++ makefiles from .nt to .vc, and
645 factored out program/library settings.
646 - Fixed wxIniConfig bug.
650 - A few more colour fixes.
651 - wxGLCanvas and OpenGL samples working.
652 - Some compiler warnings fixed.
653 - wxChoice crash fix.
654 - Dialog Editor starting to work on Motif.
658 - wxBusyCursor class added.
660 - More doc improvements, incl. expanding docs/html/index.htm.
669 - 16-bit BC++ compilation/linking works albeit without the resource system.
673 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
675 - Cured some widget table clashes.
676 - Added thread support (Robert).
677 - wxPoem sample now works.
681 - Rearranged documentation a bit.
682 - Sash window uses area of first frame/dialog to paint over when drawing
683 the dragged sash, not just the sash window itself (it clipped to the right
685 - Made resource sample use the correct Cancel button id.
686 - Moved wxProp to main library (generic directory), created proplist
688 - Added bombs and fractal samples.
690 Beta 1, December 24th 1998
691 --------------------------
697 wxMSW, wxMotif: not in sync with this release.
700 Alpha 18, December 29th 1998
701 ----------------------------
705 - Win16 support working again (VC++ 1.5)
706 - Win16 now uses generic wxNotebook, wxListCtrl,
707 wxTreeCtrl -- more or less working now, although
708 a little work on wxNotebook is still needed.
709 Under 16-bit Windows, get assertion when you click
711 - Wrote 16-bit BC++ makefiles: samples don't yet link.
712 - Added CodeWarrior support to distribution courtesy
717 - Cured scrolling problem: scrollbars now show/hide themselves
718 without (permanently) resizing the window.
719 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
720 that disabled scrollbar paging.
721 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
723 - Removed major bug whereby dialogs were unmanaged automatically
724 when any button was pressed.
725 - Fixed colours of wxWindow scrollbars, made list and text controls
726 have a white background.
727 - Fixed dialog colour setting.
728 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
729 they have sensible colours by default.
730 - Fixed a bug in wxStaticBox.
731 - Cured wxTreeCtrl bug: now works pretty well!
732 - Debugged DrawEllipticArc (a ! in the wrong place).
733 - Added SetClippingRegion( const wxRegion& region ).
734 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
736 Alpha 17, November 22nd 1998
737 ----------------------------
741 - More documentation updates, especially for
742 wxLayoutWindow classes and debugging facilities.
743 - Changed wxDebugContext to use wxDebugLog instead
745 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
746 However, DLL support may be broken for BC++ since
747 VC++ 6 required changing of WXDLLEXPORT keyword
749 - Numerous miscellaneous changes.
753 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
754 were too buggy (probably not design for dynamic addition/removal of
756 - Some improvements to the wxNotebook implementation.
757 - wxToolBar now uses a bulletin board instead of a form, in an attempt
758 to make it possible to add ordinary wxControls to a toolbar.
759 - Cured problem with not being able to use global memory operators,
760 by defining two more global operators, so that the delete will match
761 the debugging implementation.
762 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
763 global memory operators (usually OK) and #defining new to be
764 WXDEBUG_NEW (sometimes it might not be OK).
765 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
766 - Added a parent-existance check to popup menu code to make it not crash.
767 - Added some optimization in wxWindow::SetSize to produce less flicker.
768 It remains to be seen whether this produces any resize bugs.
770 It's a long time since I updated this file. Previously done:
772 - wxFrame, wxDialog done.
773 - wxScrolledWindow done (but backing pixmap not used at present).
774 - wxBitmap done though could be tidied it up at some point.
775 - Most basic controls are there, if not rigorously tested.
776 - Some MDI support (menus appear on child frames at present).
777 - wxNotebook almost done.
778 - wxToolBar done (horizontal only, which would be easy to extend
779 to vertical toolbars).
783 - Colour and font changing done (question mark over what happens
785 - Accelerators done (for menu items and buttons). Also event loop
786 tidied up in wxApp so that events are filtered through ProcessXEvent.
787 - wxWindow::GetUpdateRegion should now work.
789 Alpha 16, September 8th 1998
790 ----------------------------
794 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
796 - Guilhem's socket classes added, plus wxsocket sample.
797 - A few more makefiles added.
798 - GnuWin32/BC++ compatibility mods.
799 - Further doc updates.
800 - wxProp updates for correct working with wxGTK.
804 - First start at Motif port.
805 - Made makefiles for wxMotif source directory and minimal sample.
806 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
807 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
808 wxMenu, wxMenuItem, wxMenuBar
810 Alpha 15, August 31st 1998
811 --------------------------
816 - wxDC::GetDepth added.
817 - Contribution added whereby wxBitmap will be
818 converted to DC depth if they don't match.
819 - wxConfig API improved, documentation updated.
820 - Printing classes name conventions cleaned up.
821 - wxUpdateUIEvent now derives from wxCommandEvent
822 so event can travel up the window hierachy.
824 Alpha 14, July 31st 1998
825 ------------------------
829 - Toolbar API has been simplified, and now
830 wxFrame::GetClientArea returns the available client
831 area when toolbar, status bar etc. have been accounted for.
832 wxFrame::CreateToolBar added in line with CreateStatusBar.
833 - Documentation updates, incl. for wxToolBar.
834 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
835 - Various additions from other folk, e.g. streams, wxConfig
837 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
839 Alpha 13, July 8th 1998
840 -----------------------
844 - Implemented wxPoint as identical to POINT on Windows, and
845 altered wxDC wxPoint functions to use wxPoint directly in
846 Windows functions, for efficiency.
847 - Cured wxASSERT bug in wxStatusBar95.
848 - #ifdefed out some bits in oleutils.cpp for compilers that
850 - Added some operators to wxPoint, wxSize.
851 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
853 Alpha 12, July 7th 1998
854 -----------------------
858 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
859 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
861 Alpha 11, July 3rd 1998
862 -----------------------
866 - Added thread.h, thread.cpp.
867 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
869 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
870 SetTextColor to SetTextColour, and added or made public several
871 wxMenuItem accessors.
872 - Added two overloads to wxRegion::Contains. Added
873 wxRegion::IsEmpty for a more consistent naming convention.
874 - Added Vadim's wxDataObject and wxDropSource.
875 - ENTER/LEAVE events now work.
876 - Cured wxMemoryDC bug where the DC wasn't being deleted.
877 - Cured wxGauge SetSize major bugginess.
878 - Cured problem where if a GDI object was created on the stack,
879 then went out of scope, then another object was selected into
880 the DC, GDI objects would leak. This is because the assignment
881 to e.g. wxDC::m_pen would delete the GDI object without it first
882 being selected out of the DC. Cured by selecting the old DC object
883 first, then doing the assignment.
884 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
885 - Various other bug fixes and additions.
889 - Major work on Dialog Editor (still plenty to go).
890 - Expanded documentation a bit more.
892 Alpha 10, May 7th 1998
893 ----------------------
897 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
898 and wxIcon functions so that you can specify what size of
899 icon should be loaded. Probably will remain a Windows-specific thing.
900 - wxStatusBar95 now works for MDI frames.
901 - Toolbars in MDI frames now behave normally. They still
902 require application-supplied positioning code though.
903 - Changed installation instructions, makefiles and batch files
904 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
905 change to support Mingw32/EGCS. Bison now used by default.
907 Alpha 9, April 27th 1998
908 ------------------------
912 - Cured bug in wxStatusBar95 that caused a crash if multiple
914 - Added Gnu-Win32 b19/Mingw32 support by changing resource
915 compilation and pragmas.
916 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
917 commands because VZ changed the id setting in wxMenu::MSWCommand.
921 - Corrected some bugs, such as the wxModule compilation problem.
922 - Added Gnu-Win32 b19/Mingw32 support by changing resource
923 compilation and pragmas.
924 - Changed SIZEOF to WXSIZEOF.
926 Alpha 8, April 17th 1998
927 ------------------------
931 - Added IsNull to wxGDIObject to check if the ref data is present or not.
932 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
934 - Added wxJoystick class and event handling, and simple demo.
935 - Added simple wxWave class. Needs Stop() function.
936 - Added wxModule (module.h/module.cpp) to allow definition
937 of modules to be initialized and cleaned up on wxWindows
939 - Start of Mingw32 compatibility (see minimal and dialogs samples
940 makefile.m95 files, and install.txt).
941 - Note: Windows printing has stopped working... will investigate.
943 - Updated wxString: bug fixes, added wxArrayString, some
944 compatibility functions.
945 - Updated log.h/cpp, added wxApp::CreateLogTarget.
946 - file.h: new wxTempFile class.
947 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
948 - statbr95: wxStatusBar95 control.
949 - registry.h/cpp: wxRegKey class for Win95 registry.
950 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
951 - wxConfig and wxFileConfig classes.
955 - Added src/other/png, src/other/zlib directories.
957 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
958 Porters, please check particularly your wxTreeCtrl and wxListCtrl
960 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
962 Alpha 7, March 30th 1998
963 ------------------------
967 - Added tab classes, tab sample.
968 - Now can return FALSE from OnInit and windows will be
969 cleaned up properly before exit.
970 - Improved border handling so panels don't get borders
972 - Debugged MDI activation from Window menu.
973 - Changes to memory debug handling, including checking for
974 memory leaks on application exit - but see issues.txt for
976 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
977 to allow maintenance of an icon in the Windows 95 taskbar
979 - Got MFC sample working (MFC and wxWindows in the same
980 application), partly by tweaking ntwxwin.mak settings.
981 - Got DLL compilation working again (VC++).
982 - Changed wxProp/Dialog Editor filenames.
986 - Added tab classes, tab sample.
987 - Revised memory.cpp, memory.h slightly; memory.h now #defines
988 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
989 now checks for leaks on exit. Added memcheck sample.
990 See src/msw/issues.txt for more details.
991 - resource.h, resource.cpp changed to make wxDefaultResourceTable
992 a pointer. Now initialize resource system with
993 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
994 allow better control of memory.
995 - wxString now derives from wxObject, to enable memory leak
997 - Added some #include fixes in various files, plus changed
998 float to long in wxToolBar files.
1000 Alpha 6, March 10th 1998
1001 ------------------------
1005 - Found stack error bug - stopped unwanted OnIdle recursion.
1006 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
1007 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
1008 check if the number of top-level windows is zero before
1009 exiting. Also, wxApp::GetTopWindow will return either
1010 m_topWindow or the first member of wxTopLevelWindows, so you
1011 don't have to call wxApp::SetTopWindow.
1012 - Added dynarray.h/dynarray.cpp (from Vadim).
1013 - Added first cut at OLE drag and drop (from Vadim). dnd sample
1014 added. Drop target only at this stage. See src/msw/ole/*.cpp,
1015 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
1016 Doesn't work with GnuWin32 - no appropriate headers e.g. for
1018 Doesn't work with BC++ either - crashes on program startup.
1019 - Added Vadim's owner-draw modifications - will probably remain
1020 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
1021 - Added wxLB_OWNERDRAW for owner-draw listboxes.
1022 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
1023 Doesn't entirely work for WIN16.
1024 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
1025 can also be used as an argument to wxMenu::Append, not just for
1026 internal implementation.
1027 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
1028 in makeg95.env, together with mingw32.bat). However, resource
1029 binding is not working yet so most apps with dialogs crash.
1033 - Added Vadim's dynarray.h, dynarray.cpp.
1034 - Added Vadim's menuitem.cpp.
1035 - Added Windows-specific wxCheckListBox,
1036 owner-draw wxListBox, and drag-and-drop
1037 (see docs/msw/changes.txt).
1039 Alpha 5, 14th February 1998
1040 --------------------------
1044 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1045 DISTRIBUTIONS. This change log will therefore now refer to
1046 the Windows-specific code only. See docs/changes.txt for generic
1048 - Removed Windows-specific reference counting system (GDI
1049 resources were cleaned up in idle time) - minimal
1050 advantages now we have a wxWin reference counting system.
1051 - Added missing WXDLLEXPORT keywords so DLL compilation works
1053 - Removed most warnings for GnuWin32 compilation.
1054 - Added wxRegion/wxRegionIterator, but haven't yet used it in
1059 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1060 DISTRIBUTIONS. This change log will therefore now refer to
1061 the generic code only. See docs/msw/changes.txt for Windows-specific
1063 - Readmes, change logs and installation files now go in
1064 platform-specific directories under docs, e.g. docs/msw,
1066 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
1067 created dynamically, not as a global object.
1068 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
1069 - Changed names of some include/wx/generic headers to be
1070 consistent and to conform to gcc pragma conventions. Also
1071 changed choicesg.cpp to choicdgg.cpp.
1072 - Added gcc pragmas.
1073 - Added gtk inclusion in include/wx headers.
1074 - Added consistent file headings to source and headers.
1075 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
1076 added a few references to wxTransString.
1077 - Added operator to wxTransString that converts automatically
1078 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
1079 - samples/internat now works (minimally).
1080 - Added wxMouseEvent::GetPosition and
1081 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
1082 - Made wxSize and wxRect contain longs not ints.
1083 - Cured some lemory leaks (thanks Vadim).
1084 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
1085 will only keep processing OnIdle if it returns TRUE from
1088 Alpha 4, 31st January 1998
1089 --------------------------
1093 - Changed wxDC functions to take longs instead of floats. GetSize now takes
1094 integer pointers, plus a version that returns a wxSize.
1095 - const keyword added to various wxDC functions.
1096 - Under Windows, wxDC no longer has any knowledge of whether
1097 an associated window is scrolled or not. Instead, the device
1098 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
1099 - wxScrolledWindow applications can optionally override the virtual OnDraw
1100 function instead of using the OnPaint event handler. The wxDC passed to
1101 OnDraw will be translated by PrepareDC to reflect scrolling.
1102 When drawing outside of OnDraw, must call PrepareDC explicitly.
1103 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
1105 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
1106 to help printing with multiple pages.
1107 - IPC classes given base classes (wxConnectionBase etc.) which
1108 define the API used by different implementations. DDE
1109 implementation updated to use these base classes.
1110 - wxHelpInstance now separated into wxHelpControllerBase (base
1111 for all implementations), wxWinHelpController (uses standard
1112 WinHelp), wxXLPHelPController (talks to wxHelp by DDE or
1113 TCP/IP). There will be others eventually, such as
1114 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
1115 - Added Vadim Zeitlin's wxString class plus
1116 internationalization code (gettext simulation, wxLocale, etc.).
1117 New files from Vadim:
1123 src\common\string.cpp
1127 No longer use GNU wxString files.
1128 - Split off file-related functions into include\wx\filefn.h and
1129 src\common\filefn.cpp.
1130 - Borland C++ support (WIN32) for main library and
1131 samples, using makefile.b32 files.
1132 - Preparation done for allowing BC++ to compile wxWin as a DLL,
1133 including changes to defs.h.
1134 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
1136 - Added wxShowEvent (generated when window is being shown or
1138 - Got minimal, docview, mdi samples working for 16-bit VC++ and
1139 cured 16-bit problem with wxTextCtrl (removed global memory
1141 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
1143 Alpha 3, September 1997
1144 -----------------------
1148 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
1149 - Instigated new file hierarchy, split files and classes up more logically.
1150 - PrologIO and some other utils now put into core library.
1151 - Revamped print/preview classes, added wxPageSetupDialog.
1152 - Started documentation.
1154 Alpha 2, 30th April 1997
1155 ------------------------
1159 - EVT_... macros now have at least one argument, for conformance
1160 with MetroWerks compiler.
1161 - Added ids to .wxr file format.
1162 - Got Dialog Editor compiled and running again but need
1163 to extend functionality to be in line with new controls.
1164 Added dialoged\test app to allow dynamic loading of .wxr files
1165 for testing purposes.
1166 - Rewrote wxBitmap to allow installable file type
1168 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
1169 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
1171 - Added back wxRadioBox.
1172 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
1175 Alpha 1, 5th April 1997
1176 -----------------------
1180 At this point, the following has been achieved:
1182 - A lot, but not all, of the code has been revamped for better
1183 naming conventions, protection of data members, and use of
1184 wxString instead of char *.
1185 - Obsolete functionality deleted (e.g. default wxPanel layout,
1186 old system event system) and code size reduced.
1187 - Class hierarchy changed (see design doc) - base classes such
1188 as wxbWindow now removed.
1189 - No longer includes windows.h in wxWin headers, by using stand-in
1190 Windows types where needed e.g. WXHWND.
1192 - wxScrolledWindow, wxStatusBar and new MDI classes added.
1193 MDI is now achived using separate classes, not window styles.
1194 - wxSystemSettings added, and made use of to reflect standard
1196 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
1197 settings mucho rationalised.
1198 - All windows are now subclassed with the same window proc to make
1199 event handling far more consistent. Old internal wxWnd and derived
1201 - API for controls revised, in particular addition of
1202 wxValidator parameters and removal of labels for some controls.
1203 - 1 validator written: see examples/validate.
1204 - Event table system introduced (see most samples and
1205 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
1206 made more flexible, with Push/PopEventHandler allowing a chain
1208 - wxRadioBox removed - will be added back soon.
1209 - Toolbar class hierarchy revised:
1211 wxToolBarSimple (= old wxToolBar)
1212 wxToolBar95 (= old wxButtonBar under Win95
1213 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
1214 - Constraint system debugged somewhat (sizers now work properly).
1215 - wxFileDialog, wxDirDialog added; other common dialogs now
1216 have class equivalents. Generic colour and font dialogs
1217 rewritten to not need obsolete panel layout.
1218 - .wxr resource system partially reinstated, though needs
1219 an integer ID for controls. Hopefully the resource system
1220 will be replaced by something better and more efficient
1222 - Device contexts no longer stored with window and accessed
1223 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
1225 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
1226 determines whether labels are shown. Other Win95-specific flags
1227 introduced, e.g. for showing ticks.
1228 - Styles introduced for dealing with 3D effects per window, for
1229 any window: all Win95 3D effects supported, plus transparent windows.
1230 - Major change to allow 3D effect support without CTL3D, under
1232 - Bitmap versions of button and checkbox separated out into new
1233 classes, but unimplemented as yet because I intend to remove
1234 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
1235 - utils/wxprop classes working (except maybe wxPropertyFormView)
1236 in preparation for use in Dialog Editor.
1237 - GNU-WIN32 compilation verified (a month or so ago).