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