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