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 - wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO
31 have changed (to fix some unfortunate clashes), please check your code to
32 ensure that no tests for wxYES or wxNO are broken: for example, the following
33 will *NOT* work any longer:
35 if ( flags & wxYES_NO )
38 ... do something else ...
40 - wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
42 - wxGridCellAttrProvider class API changed, you will need to update your code
43 if you derived any classes from it
47 - build system changed: setup.h is not a static file in include/wx any more
48 but is created as part of the build process under lib/<toolkit>/wx/include
49 where <toolkit> is of the form (msw|univ)[dll][u][d]. You'll need to update
50 the include path in your make/project files appropriately.
52 - child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR
53 style to avoid it, wxFRAME_FLOAT_ON_PARENT style is now obsolete and has no
58 - You should use `wx-config --cxxflags` in your makefiles instead of
59 `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS
60 and the compiler flags for C++ files only, CFLAGS should still be used
61 to compile pure C files.
68 - fixes to the command line parsing error and usage messages
69 - modified wxFileName::CreateTempFileName() to open the file atomically
70 (if possible) and, especially, not to leak the file descriptors under Unix
74 - huge (40*) speed up in wxMask::Create() (=> much faster toolbar creation)
75 - fixed flicker in wxTreeCtrl::SetItemXXX()
76 - fixed redraw problems in dynamically resized wxStaticText
77 - fixed wxProgressDialog for ranges > 65535
82 New port: wxUniv for Win32/GTK+ is now included in the distribution.
87 - wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber)
88 - wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen)
89 - more fixes to wxMBConv classes. Conversion to and from wchar_t now works with
90 glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s
91 capabilities at runtime instead of in the configure script.
95 - support for virtual list control added
96 - column images in report mode of the list control
97 - wxFindReplaceDialog added (based on work of Markus Greither)
98 - wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK)
99 - polygon support in wxRegion (Klaas Holwerda)
100 - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added
101 - fixed bug with using wxExecute() to capture huge amounts of output
102 - new wxCalendarCtrl styles added (Søren Erland Vestø)
103 - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh)
104 - wxDirSelector() added (Paul A. Thiessen)
105 - wxGrid cell editing veto support (Roger Gammans)
106 - wxListCtrl ITEM_FOCUSED event added
107 - support for ICO files in wxImage added (Chris Elliott)
111 - support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook)
112 - new library naming convention under VC++ -- please change your application
117 - fixed popup menu positioning bug
121 - new HTML parser with correct parsing of character entities and fixes
123 - added support for animated GIFs
131 - Fixed new charset detection code
132 - ODBC Informix fixes (submitted by Roger Gammans)
133 - Added ODBC date support to wxVariant
134 - Added wxDir::Traverse
135 - Added wxSingleInstanceChecker class
136 - Removed redundant wxDebugContext functions using C++ streams,
137 so now standard stream usage should be unnecessary
141 - Added wxDbGrid class for displaying ODBC tables
142 - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the
143 user code can get access to the edit control when it is created, (to
144 push on a custom event handler for example)
145 - Added wxTextAttr class and SetStyle, SetDefaultStyle and
146 GetDefaultStyle methods to wxTextCtrl
147 - Added wxSingleInstanceChecker
148 - Improvements to Tex2RTF
149 - Added Paul and Roger Gammans' grid controls
150 - Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
152 - Fixed memory leak in textcmn.cpp
153 - Various wxXML enhancements
154 - Removed wxCLIP_CHILDREN style from wxSplitterWindow
155 - Fixed memory leak in DoPrint, htmprint.cpp
156 - Fixed calendar sample bug with using wxCommandEvent::GetInt()
158 - Added wxDbGrid combining wxODBC classes with wxGrid
159 - Added more makefiles and project files for contrib hierarchy
163 - Fixed wxApp::ProcessMessage so controls don't lose their
164 accelerators when the accelerators are redefined elsewhere
165 - Accelerators consisting of simple keystrokes (without control,
166 alt or shift) now work
167 - Compile fixes for Watcom C++ added
168 - Compile fixes for Cygwin 1.0 added
169 - Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop()
170 - Replaced wxYield() call in PopupMenu() by a much safer
171 wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones
172 - Enter processing in wxSpinCtrl fixed
173 - Fixed bug in determining the best listbox size
174 - Fix for wxFrame's last focus bug
175 - We now send iconize events
176 - Fixed wxFrame::SetClientSize() with toolbar bug
177 - Added mousewheel processing
178 - Added wxSystemSettings::Get/SetOption so we can configure
179 wxWindows at run time; used this to implement no-maskblt option
181 - Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
182 child frame styles are honoured
186 - Fixed slider rounding bug
187 - Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
188 - We now send iconize events
189 - Fix for discrepancies between wxNotebookEvent and wxNotebook
190 GetSelection() results
197 - fixed problem with wxURL when using static version of the library
198 - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories
199 - wxMimeTypesManager now can create file associations too (Chris Elliott)
200 - wxCopyFile() respects the file permissions (Roland Scholz)
201 - wxFTP::GetFileSize() added (Søren Erland Vestø)
202 - wxDateTime::IsSameDate() bug fixed
203 - wxTimeSpan::Format() now behaves more as expected, see docs
204 - wxLocale now provides much more convenient API for setting language and
205 detecting current system language. New API is more abstracted and truly
206 cross-platform, independent of underlying C runtime library.
210 - new wxToggleButton class (John Norris, Axel Schlueter)
211 - wxCalendarCtrl not highlighting the date with time part bug fixed
212 - wxADJUST_MINSIZE sizer flag added
213 - FindOrCreateBrush/Pen() bug fix for invalid colour values
214 - new wxXPMHandler for reading and writing XPM images
215 - added new (now recommended) API for conversion between wxImage and wxBitmap
216 (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of
217 wxImage methods and ctor)
218 - ODBC classes now support DB2, Interbase, and Pervasive SQL
219 - ODBC documentation complete!!
220 - ODBC classes have much Unicode support added, but not complete
221 - ODBC experimental BLOB support added, but not completely tested
222 - ODBC NULL column support completed (Roger/Paul Gammans)
223 - ODBC All "char *" and char arrays removed and replaced with wxString use
227 - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen)
228 - fixed bug in MDI children flags (mis)handling
229 - it is possible to compile wxCHMHelpController with compilers
230 other than Visual C++ now and hhctrl.ocx is loaded at runtime
234 - added support for wchar_t (wxUSE_WCHAR_T) under Unix
238 - mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup
239 - visual enhancements to contents panel of wxHtmlHelpController
246 - Fixed bug with directories with trailing (back)slashes in wxPathExists
247 - wxString: added wxArrayString::operator==() and !=()
248 - Fixes for wxCmdLineParser
249 - Added wxGetLocalTimeMillis
250 - Completed Czech translations
251 - Some stream corrections
252 - added missing consts to wxPoint operators
253 - wxDateTime ParseFormat fixes
254 - wxFile::Open(write_append) will create file if it doesn't exist
255 - small fixes to MIME mailcap test command handling, more MIME tests in the sample
259 - wxGenericDragImage now allows virtual image drawing, and
260 flicker-free dragging is now possible
261 - Added wxPrinter::GetLastError
262 - Fixed wxLogGui reentrancy problem
263 - Paper names now translated
265 - Generic validator now caters for more cases (integers in
266 wxTextCtrl, strings in wxChoice, wxComboBox)
267 - Fixed crash when docview On... functions return FALSE. Show
268 error message when an non-existent filename is typed into the Open
270 - Corrected Baltic font encoding handling
271 - wxImage: enhanced TIFF code, added new platform-independent BMP
273 - wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
274 - Fixed wxPropertyForm crashes in sample
275 - wxWizard now calls TransferDataFromWindow() before calling
276 wxWizardPage::GetNext() fixing an obvious bug
280 - wxWindow::GetCharWidth/Height now calculated accurately.
281 This will affect all .wxr dialog resources, so for
282 backward compatibility, please set
283 wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h
284 - wxListCtrl: set item text in LIST_ITEM_ACTIVATED events
285 - wxTextCtrl: implemented setting colours for rich edit controls
286 - wxColour now accepts both grey and gray
287 - BC++ DLL compilation fixed
288 - Watcom C++ makefiles improved for JPEG and TIFF compilation
289 - Fixed submenu accelerator bug
290 - Fixed dialog focus bug (crash if the previous window to have
291 the focus was destroyed before the dialog closed)
292 - Too-small default wxTextCtrl height fixed
293 - fixed "missing" initial resize of wxMDIChildFrame
294 - wxFrame restores focus better
295 - Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to
296 frames anddialogs, interferes with other window styles otherwise
297 (sometimes you'd get a thick frame in a subwindow)
298 - wxTextCtrl insertion point set to the beginning of the control by SetValue
299 - Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
300 - wxFileDialog: adjusts struct size if there's an error (struct
301 sizes can be different on different versions of Windows)
302 - wxImageList::GetSize() documented and added to wxMSW
303 - fixed default dialog style to make them non resizeable again
304 - fixed wxFrame::IsShown() which always returned TRUE before
308 - Please see docs/gtk/changes.txt.
312 - Small compilation fixes
328 - Added wxCHMHelpController, for invoking MS HTML Help
329 files. This works under VC++ only
330 - Modal dialog handling improved
331 - Printer dialog now modal
346 - Added docs/tech for technical notes
350 - Started new contrib hierarchy that mirrors
351 the main lib structure; moved OGL and MMedia into it
356 - wxDateTime replaces and extends old wxDate and wxTime classes (still
357 available but strongly deprecated) with many new features
358 - wxLongLong class provides support for (signed) 64 bit integers
359 - wxCmdLineParser class for parsing the command line (supporting short and
360 long options, switches and parameters of different types)
361 - it is now possible to build wxBase under Win32 (using VC++ only so far)
362 and BeOS (without thread support yet)
363 - wxThread class modified to support both detached and joinable threads, also
364 added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
366 - wxDir class for enumerating files in a directory
367 - wxLog functions are now (more) MT-safe
368 - wxStopWatch class, timer functions have more chances to return correct
369 results for your platform (use ANSI functions where available)
370 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
371 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
373 - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
377 - Added wxImage::Rotate.
378 - new wxCalendarCtrl class for picking a date interactively
379 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu menagament
380 - wxToolBar supports arbitrary controls (not only buttons) and can be
381 dynamically changed (Delete/Insert functions)
382 - vertical toolbars supported by MSW and GTK native wxToolBar classes
383 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
384 - "file open" dialog allows selecting multiple files at once (contributed by
386 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
387 MIME types if available (Unix only)
388 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
389 - TIFF support added (libtiff required and included in the distribution)
390 - PCX files can now be written (256 and 24 bits)
391 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
392 - wxScrolledWindow now has keyboard interface
393 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
394 - added wxEncodingConverter and improved wxFontMapper
395 for dealing with convertions between different encodings,
396 charsets support in wxLocale and wxHTML
397 - wxDragImage class added
398 - samples/help improved to show standard and advanced HTML help
399 controllers, as well as native help
400 - moved wxTreeLayout class to main lib
404 - wxFrame::MakeFullScreen added.
405 - support for enhanced metafiles added, support for copying/pasting metafiles
406 (WMF and enhanced ones) fixed/added.
407 - implemented setting colours for push buttons
408 - wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be
409 positioned along the top of the screen and not only at the bottom
410 - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun)
411 - loading/saving big (> 32K) files in wxTextCtrl works
412 - tooltips work with wxRadioBox
413 - wxBitmap/wxIcon may be constructed from XPM included into a program, as in
415 - returning FALSE from OnPrintPage() aborts printing
416 - VC++ makefiles and project files made (mostly) consistent
417 - wxSetCursorEvent added
421 - wxFontMapper endless recursion bug (on some systems) fixed
422 - wxGTK synthesizes wxActivateEvents
423 - UpdateUI handlers may be used with wxTextCtrl
427 - wxMenu::Enable works
428 - wxToolBar bugs fixed
429 - OGL samples made to work again
433 - almost complete rewrite of wxHtmlHelpController,
434 including faster search, bookmarks, printing, setup dialog
435 and cross-platform binary compatible .cached files for faster
436 loading of large helpbooks, case insensitive search
437 splitted into 3 parts: wxHtmlHelpData, Frame and Controller
438 - added support for charsets and <meta> tag
439 - added support for font faces and justified paragraphs,
440 taken some steps to prepare wxHTML for frames
441 - added dynamic pushing/poping of wxHtmlParser tag handlers
442 - improved HTML printing
443 - added extensive table of HTML characters substitutions ( etc.)
444 - fixed wxHtmlWindow flickering, several minor bugfixes
445 - added some tags: <address>, <code>, <kbd>, <samp>, <small>, <big>,
446 fixed handling of relative and absolute font sizes in <font size>
449 NOTE: for changes after wxWindows 2.1.0 b4, please see the CVS
452 2.1.0, b4, May 9th 1999
453 -----------------------
457 - JPEG support added.
458 - Many fixes and changes not thought worth mentioning in this file :-)
462 - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
464 - JPEG support added.
465 - Fixes for Cygwin compilation.
466 - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
467 - Many fixes people didn't tell this file about.
474 - Some changes for Unicode support, including wxchar.h/cpp.
477 2.0.1 (release), March 1st 1999
478 -------------------------------
483 - Slider/spinbutton fixes.
487 - Fixed problems with <return> in dialogs/panels.
488 - Fixed window cursor setting.
489 - Fixed toolbar sizing and edge-clipping problems.
490 - Some makefile fixes.
498 - Added wxUSE_SOCKETS.
499 - More topic overviews.
500 - Put wxPrintPaperType, wxPrintPaperDatabase into
501 prntbase.h/cpp for use in non-PostScript situations
502 (e.g. Win16 wxPageSetupDialog).
505 Beta 5, February 18th 1999
506 --------------------------
510 - wxExecute improved.
514 - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
516 - Changed VC++ makefiles (.vc) so that it's possible to have
517 debug/release/DLL versions of the library available simultaneously,
518 with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
519 - Added BC++ 5 IDE files and instructions.
520 - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
521 - Fixed focus-related crash.
525 - Cured asynchronous wxExecute crash.
526 - Added repaint event handlers to wxFrame, wxMDIChildFrame.
530 - wxLocale documented.
531 - Added include filenames to class reference.
532 - wxHelpController API changed: SetBrowser becomes SetViewer,
533 DisplaySection works for WinHelp, help sample compiles under Windows
534 (though doesn't display help yet).
536 Beta 4, February 12th 1999
537 --------------------------
541 - Miscellaneous fixes.
545 - Makefiles for more compilers and samples; Cygwin makefiles
547 - Added VC++ project file for compiling wxWindows as DLL.
551 - Added OnEraseBackground invocation.
552 - Added wxRETAINED implementation for wxScrolledWindow.
553 - Cured scrolling display problem by adding XmUpdateDisplay.
554 - Tried to make lex-ing in the makefile more generic (command line
555 syntax should apply to both lex and flex).
556 - Changed file selector colours for consistency (except for buttons:
557 crashes for some reason).
558 - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
559 of malloc, which causes memory problems).
563 - Further doc improvements.
564 - wxGenericValidator added.
565 - Added wxImageModule to image.cpp, so adds/cleans up standard handlers
568 Beta 3, January 31st 1999
569 -------------------------
573 - wxClipboard/DnD API changes (still in progress).
574 - wxToolTip class added.
575 - Miscellaneous fixes.
579 - wxRegConfig DeleteAll bug fixed.
580 - Makefiles for more compilers.
581 - TWIN32 support added.
582 - Renamed VC++ makefiles from .nt to .vc, and
583 factored out program/library settings.
584 - Fixed wxIniConfig bug.
588 - A few more colour fixes.
589 - wxGLCanvas and OpenGL samples working.
590 - Some compiler warnings fixed.
591 - wxChoice crash fix.
592 - Dialog Editor starting to work on Motif.
596 - wxBusyCursor class added.
598 - More doc improvements, incl. expanding docs/html/index.htm.
607 - 16-bit BC++ compilation/linking works albeit without the resource system.
611 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
613 - Cured some widget table clashes.
614 - Added thread support (Robert).
615 - wxPoem sample now works.
619 - Rearranged documentation a bit.
620 - Sash window uses area of first frame/dialog to paint over when drawing
621 the dragged sash, not just the sash window itself (it clipped to the right
623 - Made resource sample use the correct Cancel button id.
624 - Moved wxProp to main library (generic directory), created proplist
626 - Added bombs and fractal samples.
628 Beta 1, December 24th 1998
629 --------------------------
635 wxMSW, wxMotif: not in sync with this release.
638 Alpha 18, December 29th 1998
639 ----------------------------
643 - Win16 support working again (VC++ 1.5)
644 - Win16 now uses generic wxNotebook, wxListCtrl,
645 wxTreeCtrl -- more or less working now, although
646 a little work on wxNotebook is still needed.
647 Under 16-bit Windows, get assertion when you click
649 - Wrote 16-bit BC++ makefiles: samples don't yet link.
650 - Added CodeWarrior support to distribution courtesy
655 - Cured scrolling problem: scrollbars now show/hide themselves
656 without (permanently) resizing the window.
657 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
658 that disabled scrollbar paging.
659 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
661 - Removed major bug whereby dialogs were unmanaged automatically
662 when any button was pressed.
663 - Fixed colours of wxWindow scrollbars, made list and text controls
664 have a white background.
665 - Fixed dialog colour setting.
666 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
667 they have sensible colours by default.
668 - Fixed a bug in wxStaticBox.
669 - Cured wxTreeCtrl bug: now works pretty well!
670 - Debugged DrawEllipticArc (a ! in the wrong place).
671 - Added SetClippingRegion( const wxRegion& region ).
672 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
674 Alpha 17, November 22nd 1998
675 ----------------------------
679 - More documentation updates, especially for
680 wxLayoutWindow classes and debugging facilities.
681 - Changed wxDebugContext to use wxDebugLog instead
683 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
684 However, DLL support may be broken for BC++ since
685 VC++ 6 required changing of WXDLLEXPORT keyword
687 - Numerous miscellaneous changes.
691 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
692 were too buggy (probably not design for dynamic addition/removal of
694 - Some improvements to the wxNotebook implementation.
695 - wxToolBar now uses a bulletin board instead of a form, in an attempt
696 to make it possible to add ordinary wxControls to a toolbar.
697 - Cured problem with not being able to use global memory operators,
698 by defining two more global operators, so that the delete will match
699 the debugging implementation.
700 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
701 global memory operators (usually OK) and #defining new to be
702 WXDEBUG_NEW (sometimes it might not be OK).
703 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
704 - Added a parent-existance check to popup menu code to make it not crash.
705 - Added some optimization in wxWindow::SetSize to produce less flicker.
706 It remains to be seen whether this produces any resize bugs.
708 It's a long time since I updated this file. Previously done:
710 - wxFrame, wxDialog done.
711 - wxScrolledWindow done (but backing pixmap not used at present).
712 - wxBitmap done though could be tidied it up at some point.
713 - Most basic controls are there, if not rigorously tested.
714 - Some MDI support (menus appear on child frames at present).
715 - wxNotebook almost done.
716 - wxToolBar done (horizontal only, which would be easy to extend
717 to vertical toolbars).
721 - Colour and font changing done (question mark over what happens
723 - Accelerators done (for menu items and buttons). Also event loop
724 tidied up in wxApp so that events are filtered through ProcessXEvent.
725 - wxWindow::GetUpdateRegion should now work.
727 Alpha 16, September 8th 1998
728 ----------------------------
732 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
734 - Guilhem's socket classes added, plus wxsocket sample.
735 - A few more makefiles added.
736 - GnuWin32/BC++ compatibility mods.
737 - Further doc updates.
738 - wxProp updates for correct working with wxGTK.
742 - First start at Motif port.
743 - Made makefiles for wxMotif source directory and minimal sample.
744 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
745 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
746 wxMenu, wxMenuItem, wxMenuBar
748 Alpha 15, August 31st 1998
749 --------------------------
754 - wxDC::GetDepth added.
755 - Contribution added whereby wxBitmap will be
756 converted to DC depth if they don't match.
757 - wxConfig API improved, documentation updated.
758 - Printing classes name conventions cleaned up.
759 - wxUpdateUIEvent now derives from wxCommandEvent
760 so event can travel up the window hierachy.
762 Alpha 14, July 31st 1998
763 ------------------------
767 - Toolbar API has been simplified, and now
768 wxFrame::GetClientArea returns the available client
769 area when toolbar, status bar etc. have been accounted for.
770 wxFrame::CreateToolBar added in line with CreateStatusBar.
771 - Documentation updates, incl. for wxToolBar.
772 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
773 - Various additions from other folk, e.g. streams, wxConfig
775 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
777 Alpha 13, July 8th 1998
778 -----------------------
782 - Implemented wxPoint as identical to POINT on Windows, and
783 altered wxDC wxPoint functions to use wxPoint directly in
784 Windows functions, for efficiency.
785 - Cured wxASSERT bug in wxStatusBar95.
786 - #ifdefed out some bits in oleutils.cpp for compilers that
788 - Added some operators to wxPoint, wxSize.
789 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
791 Alpha 12, July 7th 1998
792 -----------------------
796 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
797 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
799 Alpha 11, July 3rd 1998
800 -----------------------
804 - Added thread.h, thread.cpp.
805 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
807 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
808 SetTextColor to SetTextColour, and added or made public several
809 wxMenuItem accessors.
810 - Added two overloads to wxRegion::Contains. Added
811 wxRegion::IsEmpty for a more consistent naming convention.
812 - Added Vadim's wxDataObject and wxDropSource.
813 - ENTER/LEAVE events now work.
814 - Cured wxMemoryDC bug where the DC wasn't being deleted.
815 - Cured wxGauge SetSize major bugginess.
816 - Cured problem where if a GDI object was created on the stack,
817 then went out of scope, then another object was selected into
818 the DC, GDI objects would leak. This is because the assignment
819 to e.g. wxDC::m_pen would delete the GDI object without it first
820 being selected out of the DC. Cured by selecting the old DC object
821 first, then doing the assignment.
822 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
823 - Various other bug fixes and additions.
827 - Major work on Dialog Editor (still plenty to go).
828 - Expanded documentation a bit more.
830 Alpha 10, May 7th 1998
831 ----------------------
835 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
836 and wxIcon functions so that you can specify what size of
837 icon should be loaded. Probably will remain a Windows-specific thing.
838 - wxStatusBar95 now works for MDI frames.
839 - Toolbars in MDI frames now behave normally. They still
840 require application-supplied positioning code though.
841 - Changed installation instructions, makefiles and batch files
842 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
843 change to support Mingw32/EGCS. Bison now used by default.
845 Alpha 9, April 27th 1998
846 ------------------------
850 - Cured bug in wxStatusBar95 that caused a crash if multiple
852 - Added Gnu-Win32 b19/Mingw32 support by changing resource
853 compilation and pragmas.
854 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
855 commands because VZ changed the id setting in wxMenu::MSWCommand.
859 - Corrected some bugs, such as the wxModule compilation problem.
860 - Added Gnu-Win32 b19/Mingw32 support by changing resource
861 compilation and pragmas.
862 - Changed SIZEOF to WXSIZEOF.
864 Alpha 8, April 17th 1998
865 ------------------------
869 - Added IsNull to wxGDIObject to check if the ref data is present or not.
870 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
872 - Added wxJoystick class and event handling, and simple demo.
873 - Added simple wxWave class. Needs Stop() function.
874 - Added wxModule (module.h/module.cpp) to allow definition
875 of modules to be initialized and cleaned up on wxWindows
877 - Start of Mingw32 compatibility (see minimal and dialogs samples
878 makefile.m95 files, and install.txt).
879 - Note: Windows printing has stopped working... will investigate.
881 - Updated wxString: bug fixes, added wxArrayString, some
882 compatibility functions.
883 - Updated log.h/cpp, added wxApp::CreateLogTarget.
884 - file.h: new wxTempFile class.
885 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
886 - statbr95: wxStatusBar95 control.
887 - registry.h/cpp: wxRegKey class for Win95 registry.
888 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
889 - wxConfig and wxFileConfig classes.
893 - Added src/other/png, src/other/zlib directories.
895 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
896 Porters, please check particularly your wxTreeCtrl and wxListCtrl
898 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
900 Alpha 7, March 30th 1998
901 ------------------------
905 - Added tab classes, tab sample.
906 - Now can return FALSE from OnInit and windows will be
907 cleaned up properly before exit.
908 - Improved border handling so panels don't get borders
910 - Debugged MDI activation from Window menu.
911 - Changes to memory debug handling, including checking for
912 memory leaks on application exit - but see issues.txt for
914 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
915 to allow maintenance of an icon in the Windows 95 taskbar
917 - Got MFC sample working (MFC and wxWindows in the same
918 application), partly by tweaking ntwxwin.mak settings.
919 - Got DLL compilation working again (VC++).
920 - Changed wxProp/Dialog Editor filenames.
924 - Added tab classes, tab sample.
925 - Revised memory.cpp, memory.h slightly; memory.h now #defines
926 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
927 now checks for leaks on exit. Added memcheck sample.
928 See src/msw/issues.txt for more details.
929 - resource.h, resource.cpp changed to make wxDefaultResourceTable
930 a pointer. Now initialize resource system with
931 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
932 allow better control of memory.
933 - wxString now derives from wxObject, to enable memory leak
935 - Added some #include fixes in various files, plus changed
936 float to long in wxToolBar files.
938 Alpha 6, March 10th 1998
939 ------------------------
943 - Found stack error bug - stopped unwanted OnIdle recursion.
944 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
945 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
946 check if the number of top-level windows is zero before
947 exiting. Also, wxApp::GetTopWindow will return either
948 m_topWindow or the first member of wxTopLevelWindows, so you
949 don't have to call wxApp::SetTopWindow.
950 - Added dynarray.h/dynarray.cpp (from Vadim).
951 - Added first cut at OLE drag and drop (from Vadim). dnd sample
952 added. Drop target only at this stage. See src/msw/ole/*.cpp,
953 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
954 Doesn't work with GnuWin32 - no appropriate headers e.g. for
956 Doesn't work with BC++ either - crashes on program startup.
957 - Added Vadim's owner-draw modifications - will probably remain
958 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
959 - Added wxLB_OWNERDRAW for owner-draw listboxes.
960 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
961 Doesn't entirely work for WIN16.
962 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
963 can also be used as an argument to wxMenu::Append, not just for
964 internal implementation.
965 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
966 in makeg95.env, together with mingw32.bat). However, resource
967 binding is not working yet so most apps with dialogs crash.
971 - Added Vadim's dynarray.h, dynarray.cpp.
972 - Added Vadim's menuitem.cpp.
973 - Added Windows-specific wxCheckListBox,
974 owner-draw wxListBox, and drag-and-drop
975 (see docs/msw/changes.txt).
977 Alpha 5, 14th February 1998
978 --------------------------
982 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
983 DISTRIBUTIONS. This change log will therefore now refer to
984 the Windows-specific code only. See docs/changes.txt for generic
986 - Removed Windows-specific reference counting system (GDI
987 resources were cleaned up in idle time) - minimal
988 advantages now we have a wxWin reference counting system.
989 - Added missing WXDLLEXPORT keywords so DLL compilation works
991 - Removed most warnings for GnuWin32 compilation.
992 - Added wxRegion/wxRegionIterator, but haven't yet used it in
997 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
998 DISTRIBUTIONS. This change log will therefore now refer to
999 the generic code only. See docs/msw/changes.txt for Windows-specific
1001 - Readmes, change logs and installation files now go in
1002 platform-specific directories under docs, e.g. docs/msw,
1004 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
1005 created dynamically, not as a global object.
1006 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
1007 - Changed names of some include/wx/generic headers to be
1008 consistent and to conform to gcc pragma conventions. Also
1009 changed choicesg.cpp to choicdgg.cpp.
1010 - Added gcc pragmas.
1011 - Added gtk inclusion in include/wx headers.
1012 - Added consistent file headings to source and headers.
1013 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
1014 added a few references to wxTransString.
1015 - Added operator to wxTransString that converts automatically
1016 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
1017 - samples/internat now works (minimally).
1018 - Added wxMouseEvent::GetPosition and
1019 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
1020 - Made wxSize and wxRect contain longs not ints.
1021 - Cured some lemory leaks (thanks Vadim).
1022 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
1023 will only keep processing OnIdle if it returns TRUE from
1026 Alpha 4, 31st January 1998
1027 --------------------------
1031 - Changed wxDC functions to take longs instead of floats. GetSize now takes
1032 integer pointers, plus a version that returns a wxSize.
1033 - const keyword added to various wxDC functions.
1034 - Under Windows, wxDC no longer has any knowledge of whether
1035 an associated window is scrolled or not. Instead, the device
1036 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
1037 - wxScrolledWindow applications can optionally override the virtual OnDraw
1038 function instead of using the OnPaint event handler. The wxDC passed to
1039 OnDraw will be translated by PrepareDC to reflect scrolling.
1040 When drawing outside of OnDraw, must call PrepareDC explicitly.
1041 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
1043 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
1044 to help printing with multiple pages.
1045 - IPC classes given base classes (wxConnectionBase etc.) which
1046 define the API used by different implementations. DDE
1047 implementation updated to use these base classes.
1048 - wxHelpInstance now separated into wxHelpControllerBase (base
1049 for all implementations), wxWinHelpController (uses standard
1050 WinHelp), wxXLPHelPController (talks to wxHelp by DDE or
1051 TCP/IP). There will be others eventually, such as
1052 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
1053 - Added Vadim Zeitlin's wxString class plus
1054 internationalization code (gettext simulation, wxLocale, etc.).
1055 New files from Vadim:
1061 src\common\string.cpp
1065 No longer use GNU wxString files.
1066 - Split off file-related functions into include\wx\filefn.h and
1067 src\common\filefn.cpp.
1068 - Borland C++ support (WIN32) for main library and
1069 samples, using makefile.b32 files.
1070 - Preparation done for allowing BC++ to compile wxWin as a DLL,
1071 including changes to defs.h.
1072 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
1074 - Added wxShowEvent (generated when window is being shown or
1076 - Got minimal, docview, mdi samples working for 16-bit VC++ and
1077 cured 16-bit problem with wxTextCtrl (removed global memory
1079 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
1081 Alpha 3, September 1997
1082 -----------------------
1086 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
1087 - Instigated new file hierarchy, split files and classes up more logically.
1088 - PrologIO and some other utils now put into core library.
1089 - Revamped print/preview classes, added wxPageSetupDialog.
1090 - Started documentation.
1092 Alpha 2, 30th April 1997
1093 ------------------------
1097 - EVT_... macros now have at least one argument, for conformance
1098 with MetroWerks compiler.
1099 - Added ids to .wxr file format.
1100 - Got Dialog Editor compiled and running again but need
1101 to extend functionality to be in line with new controls.
1102 Added dialoged\test app to allow dynamic loading of .wxr files
1103 for testing purposes.
1104 - Rewrote wxBitmap to allow installable file type
1106 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
1107 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
1109 - Added back wxRadioBox.
1110 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
1113 Alpha 1, 5th April 1997
1114 -----------------------
1118 At this point, the following has been achieved:
1120 - A lot, but not all, of the code has been revamped for better
1121 naming conventions, protection of data members, and use of
1122 wxString instead of char *.
1123 - Obsolete functionality deleted (e.g. default wxPanel layout,
1124 old system event system) and code size reduced.
1125 - Class hierarchy changed (see design doc) - base classes such
1126 as wxbWindow now removed.
1127 - No longer includes windows.h in wxWin headers, by using stand-in
1128 Windows types where needed e.g. WXHWND.
1130 - wxScrolledWindow, wxStatusBar and new MDI classes added.
1131 MDI is now achived using separate classes, not window styles.
1132 - wxSystemSettings added, and made use of to reflect standard
1134 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
1135 settings mucho rationalised.
1136 - All windows are now subclassed with the same window proc to make
1137 event handling far more consistent. Old internal wxWnd and derived
1139 - API for controls revised, in particular addition of
1140 wxValidator parameters and removal of labels for some controls.
1141 - 1 validator written: see examples/validate.
1142 - Event table system introduced (see most samples and
1143 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
1144 made more flexible, with Push/PopEventHandler allowing a chain
1146 - wxRadioBox removed - will be added back soon.
1147 - Toolbar class hierarchy revised:
1149 wxToolBarSimple (= old wxToolBar)
1150 wxToolBar95 (= old wxButtonBar under Win95
1151 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
1152 - Constraint system debugged somewhat (sizers now work properly).
1153 - wxFileDialog, wxDirDialog added; other common dialogs now
1154 have class equivalents. Generic colour and font dialogs
1155 rewritten to not need obsolete panel layout.
1156 - .wxr resource system partially reinstated, though needs
1157 an integer ID for controls. Hopefully the resource system
1158 will be replaced by something better and more efficient
1160 - Device contexts no longer stored with window and accessed
1161 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
1163 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
1164 determines whether labels are shown. Other Win95-specific flags
1165 introduced, e.g. for showing ticks.
1166 - Styles introduced for dealing with 3D effects per window, for
1167 any window: all Win95 3D effects supported, plus transparent windows.
1168 - Major change to allow 3D effect support without CTL3D, under
1170 - Bitmap versions of button and checkbox separated out into new
1171 classes, but unimplemented as yet because I intend to remove
1172 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
1173 - utils/wxprop classes working (except maybe wxPropertyFormView)
1174 in preparation for use in Dialog Editor.
1175 - GNU-WIN32 compilation verified (a month or so ago).