4 INCOMPATIBLE CHANGES SINCE 2.2.x
5 ================================
9 - wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
11 - wxGridCellAttrProvider class API changed, you will need to update your code
12 if you derived any classes from it
16 - the event type constants are not constants any more but are dynamically
17 allocated during run-time which means that they can't be used as case labels
18 in the switch()es, you must rewrite them to use if()s instead
20 You may also define WXWIN_COMPATIBILITY_EVENT_TYPES to get the old behaviour
21 but this is strongly discouraged, please consider changing your codei
24 - child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR
25 style to avoid it, wxFRAME_FLOAT_ON_PARENT style is now obsolete and has no
34 - wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber)
35 - more fixes to wxMBConv classes. Conversion to and from wchar_t now works with
36 glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s
37 capabilities at runtime instead of in the configure script.
41 - support for virtual list control added
42 - column images in report mode of the list control
43 - wxFindReplaceDialog added (based on work of Markus Greither)
44 - wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK)
45 - polygon support in wxRegion (Klaas Holwerda)
46 - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added
47 - fixed bug with using wxExecute() to capture huge amounts of output
48 - new wxCalendarCtrl styles added (Søren Erland Vestø)
49 - wxDirSelector() added (Paul A. Thiessen)
53 - new HTML parser with correct parsing of character entities and fixes
55 - added support for animated GIFs
63 - Fixed new charset detection code
64 - ODBC Informix fixes (submitted by Roger Gammans)
65 - Added ODBC date support to wxVariant
66 - Added wxDir::Traverse
67 - Added wxSingleInstanceChecker class
68 - Removed redundant wxDebugContext functions using C++ streams,
69 so now standard stream usage should be unnecessary
73 - Added wxDbGrid class for displaying ODBC tables
74 - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the
75 user code can get access to the edit control when it is created, (to
76 push on a custom event handler for example)
77 - Added wxTextAttr class and SetStyle, SetDefaultStyle and
78 GetDefaultStyle methods to wxTextCtrl
79 - Added wxSingleInstanceChecker
80 - Improvements to Tex2RTF
81 - Added Paul and Roger Gammans' grid controls
82 - Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
84 - Fixed memory leak in textcmn.cpp
85 - Various wxXML enhancements
86 - Removed wxCLIP_CHILDREN style from wxSplitterWindow
87 - Fixed memory leak in DoPrint, htmprint.cpp
88 - Fixed calendar sample bug with using wxCommandEvent::GetInt()
90 - Added wxDbGrid combining wxODBC classes with wxGrid
91 - Added more makefiles and project files for contrib hierarchy
95 - Fixed wxApp::ProcessMessage so controls don't lose their
96 accelerators when the accelerators are redefined elsewhere
97 - Accelerators consisting of simple keystrokes (without control,
98 alt or shift) now work
99 - Compile fixes for Watcom C++ added
100 - Compile fixes for Cygwin 1.0 added
101 - Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop()
102 - Replaced wxYield() call in PopupMenu() by a much safer
103 wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones
104 - Enter processing in wxSpinCtrl fixed
105 - Fixed bug in determining the best listbox size
106 - Fix for wxFrame's last focus bug
107 - We now send iconize events
108 - Fixed wxFrame::SetClientSize() with toolbar bug
109 - Added mousewheel processing
110 - Added wxSystemSettings::Get/SetOption so we can configure
111 wxWindows at run time; used this to implement no-maskblt option
113 - Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
114 child frame styles are honoured
118 - Fixed slider rounding bug
119 - Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
120 - We now send iconize events
121 - Fix for discrepancies between wxNotebookEvent and wxNotebook
122 GetSelection() results
129 - fixed problem with wxURL when using static version of the library
130 - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories
131 - wxMimeTypesManager now can create file associations too (Chris Elliott)
132 - wxCopyFile() respects the file permissions (Roland Scholz)
133 - wxFTP::GetFileSize() added (Søren Erland Vestø)
134 - wxDateTime::IsSameDate() bug fixed
135 - wxTimeSpan::Format() now behaves more as expected, see docs
136 - wxLocale now provides much more convenient API for setting language and
137 detecting current system language. New API is more abstracted and truly
138 cross-platform, independent of underlying C runtime library.
142 - new wxToggleButton class (John Norris, Axel Schlueter)
143 - wxCalendarCtrl not highlighting the date with time part bug fixed
144 - wxADJUST_MINSIZE sizer flag added
145 - FindOrCreateBrush/Pen() bug fix for invalid colour values
146 - new wxXPMHandler for reading and writing XPM images
147 - added new (now recommended) API for conversion between wxImage and wxBitmap
148 (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of
149 wxImage methods and ctor)
150 - ODBC classes now support DB2, Interbase, and Pervasive SQL
151 - ODBC documentation complete!!
152 - ODBC classes have much Unicode support added, but not complete
153 - ODBC experimental BLOB support added, but not completely tested
154 - ODBC NULL column support completed (Roger/Paul Gammans)
155 - ODBC All "char *" and char arrays removed and replaced with wxString use
159 - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen)
160 - fixed bug in MDI children flags (mis)handling
161 - it is possible to compile wxCHMHelpController with compilers
162 other than Visual C++ now and hhctrl.ocx is loaded at runtime
166 - added support for wchar_t (wxUSE_WCHAR_T) under Unix
170 - mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup
171 - visual enhancements to contents panel of wxHtmlHelpController
178 - Fixed bug with directories with trailing (back)slashes in wxPathExists
179 - wxString: added wxArrayString::operator==() and !=()
180 - Fixes for wxCmdLineParser
181 - Added wxGetLocalTimeMillis
182 - Completed Czech translations
183 - Some stream corrections
184 - added missing consts to wxPoint operators
185 - wxDateTime ParseFormat fixes
186 - wxFile::Open(write_append) will create file if it doesn't exist
187 - small fixes to MIME mailcap test command handling, more MIME tests in the sample
191 - wxGenericDragImage now allows virtual image drawing, and
192 flicker-free dragging is now possible
193 - Added wxPrinter::GetLastError
194 - Fixed wxLogGui reentrancy problem
195 - Paper names now translated
197 - Generic validator now caters for more cases (integers in
198 wxTextCtrl, strings in wxChoice, wxComboBox)
199 - Fixed crash when docview On... functions return FALSE. Show
200 error message when an non-existent filename is typed into the Open
202 - Corrected Baltic font encoding handling
203 - wxImage: enhanced TIFF code, added new platform-independent BMP
205 - wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
206 - Fixed wxPropertyForm crashes in sample
207 - wxWizard now calls TransferDataFromWindow() before calling
208 wxWizardPage::GetNext() fixing an obvious bug
212 - wxWindow::GetCharWidth/Height now calculated accurately.
213 This will affect all .wxr dialog resources, so for
214 backward compatibility, please set
215 wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h
216 - wxListCtrl: set item text in LIST_ITEM_ACTIVATED events
217 - wxTextCtrl: implemented setting colours for rich edit controls
218 - wxColour now accepts both grey and gray
219 - BC++ DLL compilation fixed
220 - Watcom C++ makefiles improved for JPEG and TIFF compilation
221 - Fixed submenu accelerator bug
222 - Fixed dialog focus bug (crash if the previous window to have
223 the focus was destroyed before the dialog closed)
224 - Too-small default wxTextCtrl height fixed
225 - fixed "missing" initial resize of wxMDIChildFrame
226 - wxFrame restores focus better
227 - Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to
228 frames anddialogs, interferes with other window styles otherwise
229 (sometimes you'd get a thick frame in a subwindow)
230 - wxTextCtrl insertion point set to the beginning of the control by SetValue
231 - Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
232 - wxFileDialog: adjusts struct size if there's an error (struct
233 sizes can be different on different versions of Windows)
234 - wxImageList::GetSize() documented and added to wxMSW
235 - fixed default dialog style to make them non resizeable again
236 - fixed wxFrame::IsShown() which always returned TRUE before
240 - Please see docs/gtk/changes.txt.
244 - Small compilation fixes
260 - Added wxCHMHelpController, for invoking MS HTML Help
261 files. This works under VC++ only
262 - Modal dialog handling improved
263 - Printer dialog now modal
278 - Added docs/tech for technical notes
282 - Started new contrib hierarchy that mirrors
283 the main lib structure; moved OGL and MMedia into it
288 - wxDateTime replaces and extends old wxDate and wxTime classes (still
289 available but strongly deprecated) with many new features
290 - wxLongLong class provides support for (signed) 64 bit integers
291 - wxCmdLineParser class for parsing the command line (supporting short and
292 long options, switches and parameters of different types)
293 - it is now possible to build wxBase under Win32 (using VC++ only so far)
294 and BeOS (without thread support yet)
295 - wxThread class modified to support both detached and joinable threads, also
296 added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
298 - wxDir class for enumerating files in a directory
299 - wxLog functions are now (more) MT-safe
300 - wxStopWatch class, timer functions have more chances to return correct
301 results for your platform (use ANSI functions where available)
302 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
303 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
305 - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
309 - Added wxImage::Rotate.
310 - new wxCalendarCtrl class for picking a date interactively
311 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu menagament
312 - wxToolBar supports arbitrary controls (not only buttons) and can be
313 dynamically changed (Delete/Insert functions)
314 - vertical toolbars supported by MSW and GTK native wxToolBar classes
315 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
316 - "file open" dialog allows selecting multiple files at once (contributed by
318 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
319 MIME types if available (Unix only)
320 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
321 - TIFF support added (libtiff required and included in the distribution)
322 - PCX files can now be written (256 and 24 bits)
323 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
324 - wxScrolledWindow now has keyboard interface
325 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
326 - added wxEncodingConverter and improved wxFontMapper
327 for dealing with convertions between different encodings,
328 charsets support in wxLocale and wxHTML
329 - wxDragImage class added
330 - samples/help improved to show standard and advanced HTML help
331 controllers, as well as native help
332 - moved wxTreeLayout class to main lib
336 - wxFrame::MakeFullScreen added.
337 - support for enhanced metafiles added, support for copying/pasting metafiles
338 (WMF and enhanced ones) fixed/added.
339 - implemented setting colours for push buttons
340 - wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be
341 positioned along the top of the screen and not only at the bottom
342 - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun)
343 - loading/saving big (> 32K) files in wxTextCtrl works
344 - tooltips work with wxRadioBox
345 - wxBitmap/wxIcon may be constructed from XPM included into a program, as in
347 - returning FALSE from OnPrintPage() aborts printing
348 - VC++ makefiles and project files made (mostly) consistent
349 - wxSetCursorEvent added
353 - wxFontMapper endless recursion bug (on some systems) fixed
354 - wxGTK synthesizes wxActivateEvents
355 - UpdateUI handlers may be used with wxTextCtrl
359 - wxMenu::Enable works
360 - wxToolBar bugs fixed
361 - OGL samples made to work again
365 - almost complete rewrite of wxHtmlHelpController,
366 including faster search, bookmarks, printing, setup dialog
367 and cross-platform binary compatible .cached files for faster
368 loading of large helpbooks, case insensitive search
369 splitted into 3 parts: wxHtmlHelpData, Frame and Controller
370 - added support for charsets and <meta> tag
371 - added support for font faces and justified paragraphs,
372 taken some steps to prepare wxHTML for frames
373 - added dynamic pushing/poping of wxHtmlParser tag handlers
374 - improved HTML printing
375 - added extensive table of HTML characters substitutions ( etc.)
376 - fixed wxHtmlWindow flickering, several minor bugfixes
377 - added some tags: <address>, <code>, <kbd>, <samp>, <small>, <big>,
378 fixed handling of relative and absolute font sizes in <font size>
381 NOTE: for changes after wxWindows 2.1.0 b4, please see the CVS
384 2.1.0, b4, May 9th 1999
385 -----------------------
389 - JPEG support added.
390 - Many fixes and changes not thought worth mentioning in this file :-)
394 - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
396 - JPEG support added.
397 - Fixes for Cygwin compilation.
398 - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
399 - Many fixes people didn't tell this file about.
406 - Some changes for Unicode support, including wxchar.h/cpp.
409 2.0.1 (release), March 1st 1999
410 -------------------------------
415 - Slider/spinbutton fixes.
419 - Fixed problems with <return> in dialogs/panels.
420 - Fixed window cursor setting.
421 - Fixed toolbar sizing and edge-clipping problems.
422 - Some makefile fixes.
430 - Added wxUSE_SOCKETS.
431 - More topic overviews.
432 - Put wxPrintPaperType, wxPrintPaperDatabase into
433 prntbase.h/cpp for use in non-PostScript situations
434 (e.g. Win16 wxPageSetupDialog).
437 Beta 5, February 18th 1999
438 --------------------------
442 - wxExecute improved.
446 - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
448 - Changed VC++ makefiles (.vc) so that it's possible to have
449 debug/release/DLL versions of the library available simultaneously,
450 with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
451 - Added BC++ 5 IDE files and instructions.
452 - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
453 - Fixed focus-related crash.
457 - Cured asynchronous wxExecute crash.
458 - Added repaint event handlers to wxFrame, wxMDIChildFrame.
462 - wxLocale documented.
463 - Added include filenames to class reference.
464 - wxHelpController API changed: SetBrowser becomes SetViewer,
465 DisplaySection works for WinHelp, help sample compiles under Windows
466 (though doesn't display help yet).
468 Beta 4, February 12th 1999
469 --------------------------
473 - Miscellaneous fixes.
477 - Makefiles for more compilers and samples; Cygwin makefiles
479 - Added VC++ project file for compiling wxWindows as DLL.
483 - Added OnEraseBackground invocation.
484 - Added wxRETAINED implementation for wxScrolledWindow.
485 - Cured scrolling display problem by adding XmUpdateDisplay.
486 - Tried to make lex-ing in the makefile more generic (command line
487 syntax should apply to both lex and flex).
488 - Changed file selector colours for consistency (except for buttons:
489 crashes for some reason).
490 - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
491 of malloc, which causes memory problems).
495 - Further doc improvements.
496 - wxGenericValidator added.
497 - Added wxImageModule to image.cpp, so adds/cleans up standard handlers
500 Beta 3, January 31st 1999
501 -------------------------
505 - wxClipboard/DnD API changes (still in progress).
506 - wxToolTip class added.
507 - Miscellaneous fixes.
511 - wxRegConfig DeleteAll bug fixed.
512 - Makefiles for more compilers.
513 - TWIN32 support added.
514 - Renamed VC++ makefiles from .nt to .vc, and
515 factored out program/library settings.
516 - Fixed wxIniConfig bug.
520 - A few more colour fixes.
521 - wxGLCanvas and OpenGL samples working.
522 - Some compiler warnings fixed.
523 - wxChoice crash fix.
524 - Dialog Editor starting to work on Motif.
528 - wxBusyCursor class added.
530 - More doc improvements, incl. expanding docs/html/index.htm.
539 - 16-bit BC++ compilation/linking works albeit without the resource system.
543 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
545 - Cured some widget table clashes.
546 - Added thread support (Robert).
547 - wxPoem sample now works.
551 - Rearranged documentation a bit.
552 - Sash window uses area of first frame/dialog to paint over when drawing
553 the dragged sash, not just the sash window itself (it clipped to the right
555 - Made resource sample use the correct Cancel button id.
556 - Moved wxProp to main library (generic directory), created proplist
558 - Added bombs and fractal samples.
560 Beta 1, December 24th 1998
561 --------------------------
567 wxMSW, wxMotif: not in sync with this release.
570 Alpha 18, December 29th 1998
571 ----------------------------
575 - Win16 support working again (VC++ 1.5)
576 - Win16 now uses generic wxNotebook, wxListCtrl,
577 wxTreeCtrl -- more or less working now, although
578 a little work on wxNotebook is still needed.
579 Under 16-bit Windows, get assertion when you click
581 - Wrote 16-bit BC++ makefiles: samples don't yet link.
582 - Added CodeWarrior support to distribution courtesy
587 - Cured scrolling problem: scrollbars now show/hide themselves
588 without (permanently) resizing the window.
589 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
590 that disabled scrollbar paging.
591 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
593 - Removed major bug whereby dialogs were unmanaged automatically
594 when any button was pressed.
595 - Fixed colours of wxWindow scrollbars, made list and text controls
596 have a white background.
597 - Fixed dialog colour setting.
598 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
599 they have sensible colours by default.
600 - Fixed a bug in wxStaticBox.
601 - Cured wxTreeCtrl bug: now works pretty well!
602 - Debugged DrawEllipticArc (a ! in the wrong place).
603 - Added SetClippingRegion( const wxRegion& region ).
604 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
606 Alpha 17, November 22nd 1998
607 ----------------------------
611 - More documentation updates, especially for
612 wxLayoutWindow classes and debugging facilities.
613 - Changed wxDebugContext to use wxDebugLog instead
615 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
616 However, DLL support may be broken for BC++ since
617 VC++ 6 required changing of WXDLLEXPORT keyword
619 - Numerous miscellaneous changes.
623 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
624 were too buggy (probably not design for dynamic addition/removal of
626 - Some improvements to the wxNotebook implementation.
627 - wxToolBar now uses a bulletin board instead of a form, in an attempt
628 to make it possible to add ordinary wxControls to a toolbar.
629 - Cured problem with not being able to use global memory operators,
630 by defining two more global operators, so that the delete will match
631 the debugging implementation.
632 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
633 global memory operators (usually OK) and #defining new to be
634 WXDEBUG_NEW (sometimes it might not be OK).
635 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
636 - Added a parent-existance check to popup menu code to make it not crash.
637 - Added some optimization in wxWindow::SetSize to produce less flicker.
638 It remains to be seen whether this produces any resize bugs.
640 It's a long time since I updated this file. Previously done:
642 - wxFrame, wxDialog done.
643 - wxScrolledWindow done (but backing pixmap not used at present).
644 - wxBitmap done though could be tidied it up at some point.
645 - Most basic controls are there, if not rigorously tested.
646 - Some MDI support (menus appear on child frames at present).
647 - wxNotebook almost done.
648 - wxToolBar done (horizontal only, which would be easy to extend
649 to vertical toolbars).
653 - Colour and font changing done (question mark over what happens
655 - Accelerators done (for menu items and buttons). Also event loop
656 tidied up in wxApp so that events are filtered through ProcessXEvent.
657 - wxWindow::GetUpdateRegion should now work.
659 Alpha 16, September 8th 1998
660 ----------------------------
664 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
666 - Guilhem's socket classes added, plus wxsocket sample.
667 - A few more makefiles added.
668 - GnuWin32/BC++ compatibility mods.
669 - Further doc updates.
670 - wxProp updates for correct working with wxGTK.
674 - First start at Motif port.
675 - Made makefiles for wxMotif source directory and minimal sample.
676 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
677 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
678 wxMenu, wxMenuItem, wxMenuBar
680 Alpha 15, August 31st 1998
681 --------------------------
686 - wxDC::GetDepth added.
687 - Contribution added whereby wxBitmap will be
688 converted to DC depth if they don't match.
689 - wxConfig API improved, documentation updated.
690 - Printing classes name conventions cleaned up.
691 - wxUpdateUIEvent now derives from wxCommandEvent
692 so event can travel up the window hierachy.
694 Alpha 14, July 31st 1998
695 ------------------------
699 - Toolbar API has been simplified, and now
700 wxFrame::GetClientArea returns the available client
701 area when toolbar, status bar etc. have been accounted for.
702 wxFrame::CreateToolBar added in line with CreateStatusBar.
703 - Documentation updates, incl. for wxToolBar.
704 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
705 - Various additions from other folk, e.g. streams, wxConfig
707 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
709 Alpha 13, July 8th 1998
710 -----------------------
714 - Implemented wxPoint as identical to POINT on Windows, and
715 altered wxDC wxPoint functions to use wxPoint directly in
716 Windows functions, for efficiency.
717 - Cured wxASSERT bug in wxStatusBar95.
718 - #ifdefed out some bits in oleutils.cpp for compilers that
720 - Added some operators to wxPoint, wxSize.
721 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
723 Alpha 12, July 7th 1998
724 -----------------------
728 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
729 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
731 Alpha 11, July 3rd 1998
732 -----------------------
736 - Added thread.h, thread.cpp.
737 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
739 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
740 SetTextColor to SetTextColour, and added or made public several
741 wxMenuItem accessors.
742 - Added two overloads to wxRegion::Contains. Added
743 wxRegion::IsEmpty for a more consistent naming convention.
744 - Added Vadim's wxDataObject and wxDropSource.
745 - ENTER/LEAVE events now work.
746 - Cured wxMemoryDC bug where the DC wasn't being deleted.
747 - Cured wxGauge SetSize major bugginess.
748 - Cured problem where if a GDI object was created on the stack,
749 then went out of scope, then another object was selected into
750 the DC, GDI objects would leak. This is because the assignment
751 to e.g. wxDC::m_pen would delete the GDI object without it first
752 being selected out of the DC. Cured by selecting the old DC object
753 first, then doing the assignment.
754 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
755 - Various other bug fixes and additions.
759 - Major work on Dialog Editor (still plenty to go).
760 - Expanded documentation a bit more.
762 Alpha 10, May 7th 1998
763 ----------------------
767 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
768 and wxIcon functions so that you can specify what size of
769 icon should be loaded. Probably will remain a Windows-specific thing.
770 - wxStatusBar95 now works for MDI frames.
771 - Toolbars in MDI frames now behave normally. They still
772 require application-supplied positioning code though.
773 - Changed installation instructions, makefiles and batch files
774 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
775 change to support Mingw32/EGCS. Bison now used by default.
777 Alpha 9, April 27th 1998
778 ------------------------
782 - Cured bug in wxStatusBar95 that caused a crash if multiple
784 - Added Gnu-Win32 b19/Mingw32 support by changing resource
785 compilation and pragmas.
786 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
787 commands because VZ changed the id setting in wxMenu::MSWCommand.
791 - Corrected some bugs, such as the wxModule compilation problem.
792 - Added Gnu-Win32 b19/Mingw32 support by changing resource
793 compilation and pragmas.
794 - Changed SIZEOF to WXSIZEOF.
796 Alpha 8, April 17th 1998
797 ------------------------
801 - Added IsNull to wxGDIObject to check if the ref data is present or not.
802 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
804 - Added wxJoystick class and event handling, and simple demo.
805 - Added simple wxWave class. Needs Stop() function.
806 - Added wxModule (module.h/module.cpp) to allow definition
807 of modules to be initialized and cleaned up on wxWindows
809 - Start of Mingw32 compatibility (see minimal and dialogs samples
810 makefile.m95 files, and install.txt).
811 - Note: Windows printing has stopped working... will investigate.
813 - Updated wxString: bug fixes, added wxArrayString, some
814 compatibility functions.
815 - Updated log.h/cpp, added wxApp::CreateLogTarget.
816 - file.h: new wxTempFile class.
817 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
818 - statbr95: wxStatusBar95 control.
819 - registry.h/cpp: wxRegKey class for Win95 registry.
820 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
821 - wxConfig and wxFileConfig classes.
825 - Added src/other/png, src/other/zlib directories.
827 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
828 Porters, please check particularly your wxTreeCtrl and wxListCtrl
830 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
832 Alpha 7, March 30th 1998
833 ------------------------
837 - Added tab classes, tab sample.
838 - Now can return FALSE from OnInit and windows will be
839 cleaned up properly before exit.
840 - Improved border handling so panels don't get borders
842 - Debugged MDI activation from Window menu.
843 - Changes to memory debug handling, including checking for
844 memory leaks on application exit - but see issues.txt for
846 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
847 to allow maintenance of an icon in the Windows 95 taskbar
849 - Got MFC sample working (MFC and wxWindows in the same
850 application), partly by tweaking ntwxwin.mak settings.
851 - Got DLL compilation working again (VC++).
852 - Changed wxProp/Dialog Editor filenames.
856 - Added tab classes, tab sample.
857 - Revised memory.cpp, memory.h slightly; memory.h now #defines
858 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
859 now checks for leaks on exit. Added memcheck sample.
860 See src/msw/issues.txt for more details.
861 - resource.h, resource.cpp changed to make wxDefaultResourceTable
862 a pointer. Now initialize resource system with
863 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
864 allow better control of memory.
865 - wxString now derives from wxObject, to enable memory leak
867 - Added some #include fixes in various files, plus changed
868 float to long in wxToolBar files.
870 Alpha 6, March 10th 1998
871 ------------------------
875 - Found stack error bug - stopped unwanted OnIdle recursion.
876 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
877 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
878 check if the number of top-level windows is zero before
879 exiting. Also, wxApp::GetTopWindow will return either
880 m_topWindow or the first member of wxTopLevelWindows, so you
881 don't have to call wxApp::SetTopWindow.
882 - Added dynarray.h/dynarray.cpp (from Vadim).
883 - Added first cut at OLE drag and drop (from Vadim). dnd sample
884 added. Drop target only at this stage. See src/msw/ole/*.cpp,
885 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
886 Doesn't work with GnuWin32 - no appropriate headers e.g. for
888 Doesn't work with BC++ either - crashes on program startup.
889 - Added Vadim's owner-draw modifications - will probably remain
890 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
891 - Added wxLB_OWNERDRAW for owner-draw listboxes.
892 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
893 Doesn't entirely work for WIN16.
894 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
895 can also be used as an argument to wxMenu::Append, not just for
896 internal implementation.
897 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
898 in makeg95.env, together with mingw32.bat). However, resource
899 binding is not working yet so most apps with dialogs crash.
903 - Added Vadim's dynarray.h, dynarray.cpp.
904 - Added Vadim's menuitem.cpp.
905 - Added Windows-specific wxCheckListBox,
906 owner-draw wxListBox, and drag-and-drop
907 (see docs/msw/changes.txt).
909 Alpha 5, 14th February 1998
910 --------------------------
914 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
915 DISTRIBUTIONS. This change log will therefore now refer to
916 the Windows-specific code only. See docs/changes.txt for generic
918 - Removed Windows-specific reference counting system (GDI
919 resources were cleaned up in idle time) - minimal
920 advantages now we have a wxWin reference counting system.
921 - Added missing WXDLLEXPORT keywords so DLL compilation works
923 - Removed most warnings for GnuWin32 compilation.
924 - Added wxRegion/wxRegionIterator, but haven't yet used it in
929 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
930 DISTRIBUTIONS. This change log will therefore now refer to
931 the generic code only. See docs/msw/changes.txt for Windows-specific
933 - Readmes, change logs and installation files now go in
934 platform-specific directories under docs, e.g. docs/msw,
936 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
937 created dynamically, not as a global object.
938 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
939 - Changed names of some include/wx/generic headers to be
940 consistent and to conform to gcc pragma conventions. Also
941 changed choicesg.cpp to choicdgg.cpp.
943 - Added gtk inclusion in include/wx headers.
944 - Added consistent file headings to source and headers.
945 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
946 added a few references to wxTransString.
947 - Added operator to wxTransString that converts automatically
948 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
949 - samples/internat now works (minimally).
950 - Added wxMouseEvent::GetPosition and
951 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
952 - Made wxSize and wxRect contain longs not ints.
953 - Cured some lemory leaks (thanks Vadim).
954 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
955 will only keep processing OnIdle if it returns TRUE from
958 Alpha 4, 31st January 1998
959 --------------------------
963 - Changed wxDC functions to take longs instead of floats. GetSize now takes
964 integer pointers, plus a version that returns a wxSize.
965 - const keyword added to various wxDC functions.
966 - Under Windows, wxDC no longer has any knowledge of whether
967 an associated window is scrolled or not. Instead, the device
968 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
969 - wxScrolledWindow applications can optionally override the virtual OnDraw
970 function instead of using the OnPaint event handler. The wxDC passed to
971 OnDraw will be translated by PrepareDC to reflect scrolling.
972 When drawing outside of OnDraw, must call PrepareDC explicitly.
973 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
975 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
976 to help printing with multiple pages.
977 - IPC classes given base classes (wxConnectionBase etc.) which
978 define the API used by different implementations. DDE
979 implementation updated to use these base classes.
980 - wxHelpInstance now separated into wxHelpControllerBase (base
981 for all implementations), wxWinHelpController (uses standard
982 WinHelp), wxXLPHelPController (talks to wxHelp by DDE or
983 TCP/IP). There will be others eventually, such as
984 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
985 - Added Vadim Zeitlin's wxString class plus
986 internationalization code (gettext simulation, wxLocale, etc.).
987 New files from Vadim:
993 src\common\string.cpp
997 No longer use GNU wxString files.
998 - Split off file-related functions into include\wx\filefn.h and
999 src\common\filefn.cpp.
1000 - Borland C++ support (WIN32) for main library and
1001 samples, using makefile.b32 files.
1002 - Preparation done for allowing BC++ to compile wxWin as a DLL,
1003 including changes to defs.h.
1004 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
1006 - Added wxShowEvent (generated when window is being shown or
1008 - Got minimal, docview, mdi samples working for 16-bit VC++ and
1009 cured 16-bit problem with wxTextCtrl (removed global memory
1011 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
1013 Alpha 3, September 1997
1014 -----------------------
1018 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
1019 - Instigated new file hierarchy, split files and classes up more logically.
1020 - PrologIO and some other utils now put into core library.
1021 - Revamped print/preview classes, added wxPageSetupDialog.
1022 - Started documentation.
1024 Alpha 2, 30th April 1997
1025 ------------------------
1029 - EVT_... macros now have at least one argument, for conformance
1030 with MetroWerks compiler.
1031 - Added ids to .wxr file format.
1032 - Got Dialog Editor compiled and running again but need
1033 to extend functionality to be in line with new controls.
1034 Added dialoged\test app to allow dynamic loading of .wxr files
1035 for testing purposes.
1036 - Rewrote wxBitmap to allow installable file type
1038 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
1039 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
1041 - Added back wxRadioBox.
1042 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
1045 Alpha 1, 5th April 1997
1046 -----------------------
1050 At this point, the following has been achieved:
1052 - A lot, but not all, of the code has been revamped for better
1053 naming conventions, protection of data members, and use of
1054 wxString instead of char *.
1055 - Obsolete functionality deleted (e.g. default wxPanel layout,
1056 old system event system) and code size reduced.
1057 - Class hierarchy changed (see design doc) - base classes such
1058 as wxbWindow now removed.
1059 - No longer includes windows.h in wxWin headers, by using stand-in
1060 Windows types where needed e.g. WXHWND.
1062 - wxScrolledWindow, wxStatusBar and new MDI classes added.
1063 MDI is now achived using separate classes, not window styles.
1064 - wxSystemSettings added, and made use of to reflect standard
1066 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
1067 settings mucho rationalised.
1068 - All windows are now subclassed with the same window proc to make
1069 event handling far more consistent. Old internal wxWnd and derived
1071 - API for controls revised, in particular addition of
1072 wxValidator parameters and removal of labels for some controls.
1073 - 1 validator written: see examples/validate.
1074 - Event table system introduced (see most samples and
1075 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
1076 made more flexible, with Push/PopEventHandler allowing a chain
1078 - wxRadioBox removed - will be added back soon.
1079 - Toolbar class hierarchy revised:
1081 wxToolBarSimple (= old wxToolBar)
1082 wxToolBar95 (= old wxButtonBar under Win95
1083 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
1084 - Constraint system debugged somewhat (sizers now work properly).
1085 - wxFileDialog, wxDirDialog added; other common dialogs now
1086 have class equivalents. Generic colour and font dialogs
1087 rewritten to not need obsolete panel layout.
1088 - .wxr resource system partially reinstated, though needs
1089 an integer ID for controls. Hopefully the resource system
1090 will be replaced by something better and more efficient
1092 - Device contexts no longer stored with window and accessed
1093 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
1095 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
1096 determines whether labels are shown. Other Win95-specific flags
1097 introduced, e.g. for showing ticks.
1098 - Styles introduced for dealing with 3D effects per window, for
1099 any window: all Win95 3D effects supported, plus transparent windows.
1100 - Major change to allow 3D effect support without CTL3D, under
1102 - Bitmap versions of button and checkbox separated out into new
1103 classes, but unimplemented as yet because I intend to remove
1104 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
1105 - utils/wxprop classes working (except maybe wxPropertyFormView)
1106 in preparation for use in Dialog Editor.
1107 - GNU-WIN32 compilation verified (a month or so ago).