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
25 - wxCondition now must be used with a mutex, please read the (updated) class
26 documentation for details and revise your code accordingly: this change was
27 unfortunately needed as the old class didn't behave correctly in all cases
31 - the event type constants are not constants any more but are dynamically
32 allocated during run-time which means that they can't be used as case labels
33 in the switch()es, you must rewrite them to use if()s instead
35 You may also define WXWIN_COMPATIBILITY_EVENT_TYPES to get the old behaviour
36 but this is strongly discouraged, please consider changing your codei
39 - wxDialog does not derive from wxPanel any longer - if you were using it in
40 your code, please update it. The quick fix for the most cases is to replace
41 the occurences of wxPanel with wxWindow.
43 - wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO
44 have changed (to fix some unfortunate clashes), please check your code to
45 ensure that no tests for wxYES or wxNO are broken: for example, the following
46 will *NOT* work any longer:
48 if ( flags & wxYES_NO )
51 ... do something else ...
53 - wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
55 - wxGridCellAttrProvider class API changed, you will need to update your code
56 if you derived any classes from it
58 - wxImage::ComputeHistogram()'s signature changed to
59 unsigned long ComputeHistogram(wxImageHistogram&) const
61 - wxEvtHandler cannot be copied/assigned any longer - this never worked but
62 now it results in compile-time error instead of run-time crashes
66 - build system changed: setup.h is not a static file in include/wx any more
67 but is created as part of the build process under lib/<toolkit>/wx/include
68 where <toolkit> is of the form (msw|univ)[dll][u][d]. You'll need to update
69 the include path in your make/project files appropriately. Furthermore,
70 xpm.lib is no longer used by wxMSW, it was superseded by the wxXPMDecoder
71 class. You'll need to remove all references to xpm.lib from your
74 - child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR
75 style to avoid it, wxFRAME_FLOAT_ON_PARENT style is now obsolete and has no
78 - all overloads of wxDC::SetClippingRegion() combine the given region with the
79 previously selected one instead of replacing it
81 - wxGetHomeDir() uses HOME environment variable and if it is set will not
82 return the programs directory any longer but its value (this function has
83 never been meant to return the programs directory anyhow)
85 - wxHTML apps don't need to include wx/html/msw/wxhtml.rc in resources file
86 anymore. The file was removed from wxMSW
90 - You should use `wx-config --cxxflags` in your makefiles instead of
91 `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS
92 and the compiler flags for C++ files only, CFLAGS should still be used
93 to compile pure C files.
104 - wxSemaphore class added, many fixed to wxCondition and wxThread (K.S. Sreeram)
105 - fixes to the command line parsing error and usage messages
106 - modified wxFileName::CreateTempFileName() to open the file atomically
107 (if possible) and, especially, not to leak the file descriptors under Unix
108 - memory leak in wxHTTP fixed (Dimitri)
109 - fixes to AM_PATH_WXCONFIG autoconf macro
110 - added wxHashMap class that replaces type-unsafe wxHashTable and is modelled
111 after (non standard) STL hash_map
112 - wxLocale now works in Unicode mode
113 - wxLocale can now load message catalogs in arbitrary encoding
114 - fixed the bug related to the redrawing on resize introduced in 2.3.2
115 - added static wxFontMapper::Get() accessor (use of wxTheFontMapper is now
120 - wxWindows may be built using BSD and Solaris (and possibly other) make
121 programs and not only GNU make
125 - it is now possible to set the icons of different sizes for frames (e.g. a
126 small and big ones) using the new wxIconBundle class
127 - implemented radio menu items and radio toolbar buttons
128 - added possibility to show text in the toolbar buttons
129 - added wxArtProvider class that can be used to customize the look of standard
131 - significantly improved native font support
132 - wxImage::ComputeHistogram() now uses wxImageHistogram instead of type-unsafe
134 - added IFF image handler
135 - fixed using custom renderers in wxGrid which was broken in 2.3.2
136 - support for multiple images in one file added to wxImage (TIFF, GIF and ICO formats)
137 - support for CUR and ANI files in wxImage added (Chris Elliott)
138 - wxTextCtrl::GetRange() added
139 - added wxGetFontFromUser() convenience function
140 - added EVT_MENU_OPEN and EVT_MENU_CLOSE events
141 - added Hungarian translations (Janos Vegh)
142 - added wxImage::SaveFile(filename) method (Chris Elliott)
143 - added wxImage::FloodFill and implemented wxWindowDC::DoFloodFill method
144 for GTK+, Mac, MGL, X11, Motif ports (Chris Elliott)
148 - small appearance fixes for native look under Windows XP
149 - refresh the buttons properly when the window is resized (Hans Van Leemputten)
150 - huge (40*) speed up in wxMask::Create()
151 - changing wxWindows styles also changes the underlying Windows window style
152 - wxTreeCtrl supports wxTR_HIDE_ROOT style (George Policello)
153 - fixed flicker in wxTreeCtrl::SetItemXXX()
154 - fixed redraw problems in dynamically resized wxStaticText
155 - improvements to wxWindows applications behaviour when the system colours
157 - fixed wxProgressDialog for ranges > 65535
158 - wxFontEnumerator now returns all fonts, not only TrueType ones
159 - bugs in handling wxFrame styles (border/caption related) fixed
160 - showing a dialog from EVT_RADIOBUTTON handler doesn't lead to an infinite
162 - wxTextCtrl with wxTE_RICH flag scrolls to the end when text is appended to it
163 - the separators are not seen behind the controls added to the toolbar any more
164 - wxLB_SORT style can be used with wxCheckListBox
165 - wxWindowDC and wxClientDC::GetSize() works correctly now
166 - Added wxTB_NODIVIDER and wxTB_NOALIGN so native toolbar can
171 - wxDirDialog now presents the file system in standard Unix way
172 - wxButton now honours wxBU_EXACTFIT
173 - wxStaticBox now honours wxALIGN_XXX styles
174 - added support for non alphanumeric simple character accelerators ('-', '=')
178 - fixed wxHtmlHelpController's cache files handling on big endian machines
179 - added blocking and redirecting capabilities to wxHtmlWindow via
180 wxHtmlWindow::OnOpeningURL()
181 - fixed alignment handling in tables
182 - fixed <font face="..."> handling to be case insensitive
187 New port: wxUniv for Win32/GTK+ is now included in the distribution.
191 - wxRegEx class added
192 - wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber)
193 - wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen)
194 - more fixes to wxMBConv classes. Conversion to and from wchar_t now works with
195 glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s
196 capabilities at runtime instead of in the configure script.
200 - support for virtual list control added
201 - column images in report mode of the list control
202 - wxFindReplaceDialog added (based on work of Markus Greither)
203 - wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK)
204 - polygon support in wxRegion (Klaas Holwerda)
205 - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added
206 - fixed bug with using wxExecute() to capture huge amounts of output
207 - new wxCalendarCtrl styles added (Søren Erland Vestø)
208 - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh)
209 - wxDirSelector() added (Paul A. Thiessen)
210 - wxGrid cell editing veto support (Roger Gammans)
211 - wxListCtrl ITEM_FOCUSED event added
212 - support for ICO files in wxImage added (Chris Elliott)
216 - support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook)
217 - new library naming convention under VC++ -- please change your application
222 - fixed popup menu positioning bug
226 - new HTML parser with correct parsing of character entities and fixes
228 - added support for animated GIFs
236 - Fixed new charset detection code
237 - ODBC Informix fixes (submitted by Roger Gammans)
238 - Added ODBC date support to wxVariant
239 - Added wxDir::Traverse
240 - Added wxSingleInstanceChecker class
241 - Removed redundant wxDebugContext functions using C++ streams,
242 so now standard stream usage should be unnecessary
246 - Added wxDbGrid class for displaying ODBC tables
247 - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the
248 user code can get access to the edit control when it is created, (to
249 push on a custom event handler for example)
250 - Added wxTextAttr class and SetStyle, SetDefaultStyle and
251 GetDefaultStyle methods to wxTextCtrl
252 - Added wxSingleInstanceChecker
253 - Improvements to Tex2RTF
254 - Added Paul and Roger Gammans' grid controls
255 - Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
257 - Fixed memory leak in textcmn.cpp
258 - Various wxXML enhancements
259 - Removed wxCLIP_CHILDREN style from wxSplitterWindow
260 - Fixed memory leak in DoPrint, htmprint.cpp
261 - Fixed calendar sample bug with using wxCommandEvent::GetInt()
263 - Added wxDbGrid combining wxODBC classes with wxGrid
264 - Added more makefiles and project files for contrib hierarchy
268 - Fixed wxApp::ProcessMessage so controls don't lose their
269 accelerators when the accelerators are redefined elsewhere
270 - Accelerators consisting of simple keystrokes (without control,
271 alt or shift) now work
272 - Compile fixes for Watcom C++ added
273 - Compile fixes for Cygwin 1.0 added
274 - Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop()
275 - Replaced wxYield() call in PopupMenu() by a much safer
276 wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones
277 - Enter processing in wxSpinCtrl fixed
278 - Fixed bug in determining the best listbox size
279 - Fix for wxFrame's last focus bug
280 - We now send iconize events
281 - Fixed wxFrame::SetClientSize() with toolbar bug
282 - Added mousewheel processing
283 - Added wxSystemSettings::Get/SetOption so we can configure
284 wxWindows at run time; used this to implement no-maskblt option
286 - Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
287 child frame styles are honoured
291 - Fixed slider rounding bug
292 - Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
293 - We now send iconize events
294 - Fix for discrepancies between wxNotebookEvent and wxNotebook
295 GetSelection() results
302 - fixed problem with wxURL when using static version of the library
303 - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories
304 - wxMimeTypesManager now can create file associations too (Chris Elliott)
305 - wxCopyFile() respects the file permissions (Roland Scholz)
306 - wxFTP::GetFileSize() added (Søren Erland Vestø)
307 - wxDateTime::IsSameDate() bug fixed
308 - wxTimeSpan::Format() now behaves more as expected, see docs
309 - wxLocale now provides much more convenient API for setting language and
310 detecting current system language. New API is more abstracted and truly
311 cross-platform, independent of underlying C runtime library.
315 - new wxToggleButton class (John Norris, Axel Schlueter)
316 - wxCalendarCtrl not highlighting the date with time part bug fixed
317 - wxADJUST_MINSIZE sizer flag added
318 - FindOrCreateBrush/Pen() bug fix for invalid colour values
319 - new wxXPMHandler for reading and writing XPM images
320 - added new (now recommended) API for conversion between wxImage and wxBitmap
321 (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of
322 wxImage methods and ctor)
323 - ODBC classes now support DB2, Interbase, and Pervasive SQL
324 - ODBC documentation complete!!
325 - ODBC classes have much Unicode support added, but not complete
326 - ODBC experimental BLOB support added, but not completely tested
327 - ODBC NULL column support completed (Roger/Paul Gammans)
328 - ODBC All "char *" and char arrays removed and replaced with wxString use
332 - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen)
333 - fixed bug in MDI children flags (mis)handling
334 - it is possible to compile wxCHMHelpController with compilers
335 other than Visual C++ now and hhctrl.ocx is loaded at runtime
339 - added support for wchar_t (wxUSE_WCHAR_T) under Unix
343 - mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup
344 - visual enhancements to contents panel of wxHtmlHelpController
351 - Fixed bug with directories with trailing (back)slashes in wxPathExists
352 - wxString: added wxArrayString::operator==() and !=()
353 - Fixes for wxCmdLineParser
354 - Added wxGetLocalTimeMillis
355 - Completed Czech translations
356 - Some stream corrections
357 - added missing consts to wxPoint operators
358 - wxDateTime ParseFormat fixes
359 - wxFile::Open(write_append) will create file if it doesn't exist
360 - small fixes to MIME mailcap test command handling, more MIME tests in the sample
364 - wxGenericDragImage now allows virtual image drawing, and
365 flicker-free dragging is now possible
366 - Added wxPrinter::GetLastError
367 - Fixed wxLogGui reentrancy problem
368 - Paper names now translated
370 - Generic validator now caters for more cases (integers in
371 wxTextCtrl, strings in wxChoice, wxComboBox)
372 - Fixed crash when docview On... functions return FALSE. Show
373 error message when an non-existent filename is typed into the Open
375 - Corrected Baltic font encoding handling
376 - wxImage: enhanced TIFF code, added new platform-independent BMP
378 - wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
379 - Fixed wxPropertyForm crashes in sample
380 - wxWizard now calls TransferDataFromWindow() before calling
381 wxWizardPage::GetNext() fixing an obvious bug
385 - wxWindow::GetCharWidth/Height now calculated accurately.
386 This will affect all .wxr dialog resources, so for
387 backward compatibility, please set
388 wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h
389 - wxListCtrl: set item text in LIST_ITEM_ACTIVATED events
390 - wxTextCtrl: implemented setting colours for rich edit controls
391 - wxColour now accepts both grey and gray
392 - BC++ DLL compilation fixed
393 - Watcom C++ makefiles improved for JPEG and TIFF compilation
394 - Fixed submenu accelerator bug
395 - Fixed dialog focus bug (crash if the previous window to have
396 the focus was destroyed before the dialog closed)
397 - Too-small default wxTextCtrl height fixed
398 - fixed "missing" initial resize of wxMDIChildFrame
399 - wxFrame restores focus better
400 - Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to
401 frames anddialogs, interferes with other window styles otherwise
402 (sometimes you'd get a thick frame in a subwindow)
403 - wxTextCtrl insertion point set to the beginning of the control by SetValue
404 - Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
405 - wxFileDialog: adjusts struct size if there's an error (struct
406 sizes can be different on different versions of Windows)
407 - wxImageList::GetSize() documented and added to wxMSW
408 - fixed default dialog style to make them non resizeable again
409 - fixed wxFrame::IsShown() which always returned TRUE before
413 - Please see docs/gtk/changes.txt.
417 - Small compilation fixes
433 - Added wxCHMHelpController, for invoking MS HTML Help
434 files. This works under VC++ only
435 - Modal dialog handling improved
436 - Printer dialog now modal
451 - Added docs/tech for technical notes
455 - Started new contrib hierarchy that mirrors
456 the main lib structure; moved OGL and MMedia into it
461 - wxDateTime replaces and extends old wxDate and wxTime classes (still
462 available but strongly deprecated) with many new features
463 - wxLongLong class provides support for (signed) 64 bit integers
464 - wxCmdLineParser class for parsing the command line (supporting short and
465 long options, switches and parameters of different types)
466 - it is now possible to build wxBase under Win32 (using VC++ only so far)
467 and BeOS (without thread support yet)
468 - wxThread class modified to support both detached and joinable threads, also
469 added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
471 - wxDir class for enumerating files in a directory
472 - wxLog functions are now (more) MT-safe
473 - wxStopWatch class, timer functions have more chances to return correct
474 results for your platform (use ANSI functions where available)
475 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
476 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
478 - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
482 - Added wxImage::Rotate.
483 - new wxCalendarCtrl class for picking a date interactively
484 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu menagament
485 - wxToolBar supports arbitrary controls (not only buttons) and can be
486 dynamically changed (Delete/Insert functions)
487 - vertical toolbars supported by MSW and GTK native wxToolBar classes
488 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
489 - "file open" dialog allows selecting multiple files at once (contributed by
491 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
492 MIME types if available (Unix only)
493 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
494 - TIFF support added (libtiff required and included in the distribution)
495 - PCX files can now be written (256 and 24 bits)
496 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
497 - wxScrolledWindow now has keyboard interface
498 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
499 - added wxEncodingConverter and improved wxFontMapper
500 for dealing with convertions between different encodings,
501 charsets support in wxLocale and wxHTML
502 - wxDragImage class added
503 - samples/help improved to show standard and advanced HTML help
504 controllers, as well as native help
505 - moved wxTreeLayout class to main lib
509 - wxFrame::MakeFullScreen added.
510 - support for enhanced metafiles added, support for copying/pasting metafiles
511 (WMF and enhanced ones) fixed/added.
512 - implemented setting colours for push buttons
513 - wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be
514 positioned along the top of the screen and not only at the bottom
515 - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun)
516 - loading/saving big (> 32K) files in wxTextCtrl works
517 - tooltips work with wxRadioBox
518 - wxBitmap/wxIcon may be constructed from XPM included into a program, as in
520 - returning FALSE from OnPrintPage() aborts printing
521 - VC++ makefiles and project files made (mostly) consistent
522 - wxSetCursorEvent added
526 - wxFontMapper endless recursion bug (on some systems) fixed
527 - wxGTK synthesizes wxActivateEvents
528 - UpdateUI handlers may be used with wxTextCtrl
532 - wxMenu::Enable works
533 - wxToolBar bugs fixed
534 - OGL samples made to work again
538 - almost complete rewrite of wxHtmlHelpController,
539 including faster search, bookmarks, printing, setup dialog
540 and cross-platform binary compatible .cached files for faster
541 loading of large helpbooks, case insensitive search
542 splitted into 3 parts: wxHtmlHelpData, Frame and Controller
543 - added support for charsets and <meta> tag
544 - added support for font faces and justified paragraphs,
545 taken some steps to prepare wxHTML for frames
546 - added dynamic pushing/poping of wxHtmlParser tag handlers
547 - improved HTML printing
548 - added extensive table of HTML characters substitutions ( etc.)
549 - fixed wxHtmlWindow flickering, several minor bugfixes
550 - added some tags: <address>, <code>, <kbd>, <samp>, <small>, <big>,
551 fixed handling of relative and absolute font sizes in <font size>
554 NOTE: for changes after wxWindows 2.1.0 b4, please see the CVS
557 2.1.0, b4, May 9th 1999
558 -----------------------
562 - JPEG support added.
563 - Many fixes and changes not thought worth mentioning in this file :-)
567 - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
569 - JPEG support added.
570 - Fixes for Cygwin compilation.
571 - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
572 - Many fixes people didn't tell this file about.
579 - Some changes for Unicode support, including wxchar.h/cpp.
582 2.0.1 (release), March 1st 1999
583 -------------------------------
588 - Slider/spinbutton fixes.
592 - Fixed problems with <return> in dialogs/panels.
593 - Fixed window cursor setting.
594 - Fixed toolbar sizing and edge-clipping problems.
595 - Some makefile fixes.
603 - Added wxUSE_SOCKETS.
604 - More topic overviews.
605 - Put wxPrintPaperType, wxPrintPaperDatabase into
606 prntbase.h/cpp for use in non-PostScript situations
607 (e.g. Win16 wxPageSetupDialog).
610 Beta 5, February 18th 1999
611 --------------------------
615 - wxExecute improved.
619 - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
621 - Changed VC++ makefiles (.vc) so that it's possible to have
622 debug/release/DLL versions of the library available simultaneously,
623 with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
624 - Added BC++ 5 IDE files and instructions.
625 - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
626 - Fixed focus-related crash.
630 - Cured asynchronous wxExecute crash.
631 - Added repaint event handlers to wxFrame, wxMDIChildFrame.
635 - wxLocale documented.
636 - Added include filenames to class reference.
637 - wxHelpController API changed: SetBrowser becomes SetViewer,
638 DisplaySection works for WinHelp, help sample compiles under Windows
639 (though doesn't display help yet).
641 Beta 4, February 12th 1999
642 --------------------------
646 - Miscellaneous fixes.
650 - Makefiles for more compilers and samples; Cygwin makefiles
652 - Added VC++ project file for compiling wxWindows as DLL.
656 - Added OnEraseBackground invocation.
657 - Added wxRETAINED implementation for wxScrolledWindow.
658 - Cured scrolling display problem by adding XmUpdateDisplay.
659 - Tried to make lex-ing in the makefile more generic (command line
660 syntax should apply to both lex and flex).
661 - Changed file selector colours for consistency (except for buttons:
662 crashes for some reason).
663 - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
664 of malloc, which causes memory problems).
668 - Further doc improvements.
669 - wxGenericValidator added.
670 - Added wxImageModule to image.cpp, so adds/cleans up standard handlers
673 Beta 3, January 31st 1999
674 -------------------------
678 - wxClipboard/DnD API changes (still in progress).
679 - wxToolTip class added.
680 - Miscellaneous fixes.
684 - wxRegConfig DeleteAll bug fixed.
685 - Makefiles for more compilers.
686 - TWIN32 support added.
687 - Renamed VC++ makefiles from .nt to .vc, and
688 factored out program/library settings.
689 - Fixed wxIniConfig bug.
693 - A few more colour fixes.
694 - wxGLCanvas and OpenGL samples working.
695 - Some compiler warnings fixed.
696 - wxChoice crash fix.
697 - Dialog Editor starting to work on Motif.
701 - wxBusyCursor class added.
703 - More doc improvements, incl. expanding docs/html/index.htm.
712 - 16-bit BC++ compilation/linking works albeit without the resource system.
716 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
718 - Cured some widget table clashes.
719 - Added thread support (Robert).
720 - wxPoem sample now works.
724 - Rearranged documentation a bit.
725 - Sash window uses area of first frame/dialog to paint over when drawing
726 the dragged sash, not just the sash window itself (it clipped to the right
728 - Made resource sample use the correct Cancel button id.
729 - Moved wxProp to main library (generic directory), created proplist
731 - Added bombs and fractal samples.
733 Beta 1, December 24th 1998
734 --------------------------
740 wxMSW, wxMotif: not in sync with this release.
743 Alpha 18, December 29th 1998
744 ----------------------------
748 - Win16 support working again (VC++ 1.5)
749 - Win16 now uses generic wxNotebook, wxListCtrl,
750 wxTreeCtrl -- more or less working now, although
751 a little work on wxNotebook is still needed.
752 Under 16-bit Windows, get assertion when you click
754 - Wrote 16-bit BC++ makefiles: samples don't yet link.
755 - Added CodeWarrior support to distribution courtesy
760 - Cured scrolling problem: scrollbars now show/hide themselves
761 without (permanently) resizing the window.
762 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
763 that disabled scrollbar paging.
764 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
766 - Removed major bug whereby dialogs were unmanaged automatically
767 when any button was pressed.
768 - Fixed colours of wxWindow scrollbars, made list and text controls
769 have a white background.
770 - Fixed dialog colour setting.
771 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
772 they have sensible colours by default.
773 - Fixed a bug in wxStaticBox.
774 - Cured wxTreeCtrl bug: now works pretty well!
775 - Debugged DrawEllipticArc (a ! in the wrong place).
776 - Added SetClippingRegion( const wxRegion& region ).
777 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
779 Alpha 17, November 22nd 1998
780 ----------------------------
784 - More documentation updates, especially for
785 wxLayoutWindow classes and debugging facilities.
786 - Changed wxDebugContext to use wxDebugLog instead
788 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
789 However, DLL support may be broken for BC++ since
790 VC++ 6 required changing of WXDLLEXPORT keyword
792 - Numerous miscellaneous changes.
796 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
797 were too buggy (probably not design for dynamic addition/removal of
799 - Some improvements to the wxNotebook implementation.
800 - wxToolBar now uses a bulletin board instead of a form, in an attempt
801 to make it possible to add ordinary wxControls to a toolbar.
802 - Cured problem with not being able to use global memory operators,
803 by defining two more global operators, so that the delete will match
804 the debugging implementation.
805 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
806 global memory operators (usually OK) and #defining new to be
807 WXDEBUG_NEW (sometimes it might not be OK).
808 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
809 - Added a parent-existance check to popup menu code to make it not crash.
810 - Added some optimization in wxWindow::SetSize to produce less flicker.
811 It remains to be seen whether this produces any resize bugs.
813 It's a long time since I updated this file. Previously done:
815 - wxFrame, wxDialog done.
816 - wxScrolledWindow done (but backing pixmap not used at present).
817 - wxBitmap done though could be tidied it up at some point.
818 - Most basic controls are there, if not rigorously tested.
819 - Some MDI support (menus appear on child frames at present).
820 - wxNotebook almost done.
821 - wxToolBar done (horizontal only, which would be easy to extend
822 to vertical toolbars).
826 - Colour and font changing done (question mark over what happens
828 - Accelerators done (for menu items and buttons). Also event loop
829 tidied up in wxApp so that events are filtered through ProcessXEvent.
830 - wxWindow::GetUpdateRegion should now work.
832 Alpha 16, September 8th 1998
833 ----------------------------
837 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
839 - Guilhem's socket classes added, plus wxsocket sample.
840 - A few more makefiles added.
841 - GnuWin32/BC++ compatibility mods.
842 - Further doc updates.
843 - wxProp updates for correct working with wxGTK.
847 - First start at Motif port.
848 - Made makefiles for wxMotif source directory and minimal sample.
849 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
850 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
851 wxMenu, wxMenuItem, wxMenuBar
853 Alpha 15, August 31st 1998
854 --------------------------
859 - wxDC::GetDepth added.
860 - Contribution added whereby wxBitmap will be
861 converted to DC depth if they don't match.
862 - wxConfig API improved, documentation updated.
863 - Printing classes name conventions cleaned up.
864 - wxUpdateUIEvent now derives from wxCommandEvent
865 so event can travel up the window hierachy.
867 Alpha 14, July 31st 1998
868 ------------------------
872 - Toolbar API has been simplified, and now
873 wxFrame::GetClientArea returns the available client
874 area when toolbar, status bar etc. have been accounted for.
875 wxFrame::CreateToolBar added in line with CreateStatusBar.
876 - Documentation updates, incl. for wxToolBar.
877 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
878 - Various additions from other folk, e.g. streams, wxConfig
880 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
882 Alpha 13, July 8th 1998
883 -----------------------
887 - Implemented wxPoint as identical to POINT on Windows, and
888 altered wxDC wxPoint functions to use wxPoint directly in
889 Windows functions, for efficiency.
890 - Cured wxASSERT bug in wxStatusBar95.
891 - #ifdefed out some bits in oleutils.cpp for compilers that
893 - Added some operators to wxPoint, wxSize.
894 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
896 Alpha 12, July 7th 1998
897 -----------------------
901 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
902 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
904 Alpha 11, July 3rd 1998
905 -----------------------
909 - Added thread.h, thread.cpp.
910 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
912 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
913 SetTextColor to SetTextColour, and added or made public several
914 wxMenuItem accessors.
915 - Added two overloads to wxRegion::Contains. Added
916 wxRegion::IsEmpty for a more consistent naming convention.
917 - Added Vadim's wxDataObject and wxDropSource.
918 - ENTER/LEAVE events now work.
919 - Cured wxMemoryDC bug where the DC wasn't being deleted.
920 - Cured wxGauge SetSize major bugginess.
921 - Cured problem where if a GDI object was created on the stack,
922 then went out of scope, then another object was selected into
923 the DC, GDI objects would leak. This is because the assignment
924 to e.g. wxDC::m_pen would delete the GDI object without it first
925 being selected out of the DC. Cured by selecting the old DC object
926 first, then doing the assignment.
927 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
928 - Various other bug fixes and additions.
932 - Major work on Dialog Editor (still plenty to go).
933 - Expanded documentation a bit more.
935 Alpha 10, May 7th 1998
936 ----------------------
940 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
941 and wxIcon functions so that you can specify what size of
942 icon should be loaded. Probably will remain a Windows-specific thing.
943 - wxStatusBar95 now works for MDI frames.
944 - Toolbars in MDI frames now behave normally. They still
945 require application-supplied positioning code though.
946 - Changed installation instructions, makefiles and batch files
947 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
948 change to support Mingw32/EGCS. Bison now used by default.
950 Alpha 9, April 27th 1998
951 ------------------------
955 - Cured bug in wxStatusBar95 that caused a crash if multiple
957 - Added Gnu-Win32 b19/Mingw32 support by changing resource
958 compilation and pragmas.
959 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
960 commands because VZ changed the id setting in wxMenu::MSWCommand.
964 - Corrected some bugs, such as the wxModule compilation problem.
965 - Added Gnu-Win32 b19/Mingw32 support by changing resource
966 compilation and pragmas.
967 - Changed SIZEOF to WXSIZEOF.
969 Alpha 8, April 17th 1998
970 ------------------------
974 - Added IsNull to wxGDIObject to check if the ref data is present or not.
975 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
977 - Added wxJoystick class and event handling, and simple demo.
978 - Added simple wxWave class. Needs Stop() function.
979 - Added wxModule (module.h/module.cpp) to allow definition
980 of modules to be initialized and cleaned up on wxWindows
982 - Start of Mingw32 compatibility (see minimal and dialogs samples
983 makefile.m95 files, and install.txt).
984 - Note: Windows printing has stopped working... will investigate.
986 - Updated wxString: bug fixes, added wxArrayString, some
987 compatibility functions.
988 - Updated log.h/cpp, added wxApp::CreateLogTarget.
989 - file.h: new wxTempFile class.
990 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
991 - statbr95: wxStatusBar95 control.
992 - registry.h/cpp: wxRegKey class for Win95 registry.
993 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
994 - wxConfig and wxFileConfig classes.
998 - Added src/other/png, src/other/zlib directories.
1000 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
1001 Porters, please check particularly your wxTreeCtrl and wxListCtrl
1003 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
1005 Alpha 7, March 30th 1998
1006 ------------------------
1010 - Added tab classes, tab sample.
1011 - Now can return FALSE from OnInit and windows will be
1012 cleaned up properly before exit.
1013 - Improved border handling so panels don't get borders
1015 - Debugged MDI activation from Window menu.
1016 - Changes to memory debug handling, including checking for
1017 memory leaks on application exit - but see issues.txt for
1019 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
1020 to allow maintenance of an icon in the Windows 95 taskbar
1022 - Got MFC sample working (MFC and wxWindows in the same
1023 application), partly by tweaking ntwxwin.mak settings.
1024 - Got DLL compilation working again (VC++).
1025 - Changed wxProp/Dialog Editor filenames.
1029 - Added tab classes, tab sample.
1030 - Revised memory.cpp, memory.h slightly; memory.h now #defines
1031 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
1032 now checks for leaks on exit. Added memcheck sample.
1033 See src/msw/issues.txt for more details.
1034 - resource.h, resource.cpp changed to make wxDefaultResourceTable
1035 a pointer. Now initialize resource system with
1036 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
1037 allow better control of memory.
1038 - wxString now derives from wxObject, to enable memory leak
1040 - Added some #include fixes in various files, plus changed
1041 float to long in wxToolBar files.
1043 Alpha 6, March 10th 1998
1044 ------------------------
1048 - Found stack error bug - stopped unwanted OnIdle recursion.
1049 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
1050 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
1051 check if the number of top-level windows is zero before
1052 exiting. Also, wxApp::GetTopWindow will return either
1053 m_topWindow or the first member of wxTopLevelWindows, so you
1054 don't have to call wxApp::SetTopWindow.
1055 - Added dynarray.h/dynarray.cpp (from Vadim).
1056 - Added first cut at OLE drag and drop (from Vadim). dnd sample
1057 added. Drop target only at this stage. See src/msw/ole/*.cpp,
1058 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
1059 Doesn't work with GnuWin32 - no appropriate headers e.g. for
1061 Doesn't work with BC++ either - crashes on program startup.
1062 - Added Vadim's owner-draw modifications - will probably remain
1063 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
1064 - Added wxLB_OWNERDRAW for owner-draw listboxes.
1065 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
1066 Doesn't entirely work for WIN16.
1067 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
1068 can also be used as an argument to wxMenu::Append, not just for
1069 internal implementation.
1070 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
1071 in makeg95.env, together with mingw32.bat). However, resource
1072 binding is not working yet so most apps with dialogs crash.
1076 - Added Vadim's dynarray.h, dynarray.cpp.
1077 - Added Vadim's menuitem.cpp.
1078 - Added Windows-specific wxCheckListBox,
1079 owner-draw wxListBox, and drag-and-drop
1080 (see docs/msw/changes.txt).
1082 Alpha 5, 14th February 1998
1083 --------------------------
1087 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1088 DISTRIBUTIONS. This change log will therefore now refer to
1089 the Windows-specific code only. See docs/changes.txt for generic
1091 - Removed Windows-specific reference counting system (GDI
1092 resources were cleaned up in idle time) - minimal
1093 advantages now we have a wxWin reference counting system.
1094 - Added missing WXDLLEXPORT keywords so DLL compilation works
1096 - Removed most warnings for GnuWin32 compilation.
1097 - Added wxRegion/wxRegionIterator, but haven't yet used it in
1102 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1103 DISTRIBUTIONS. This change log will therefore now refer to
1104 the generic code only. See docs/msw/changes.txt for Windows-specific
1106 - Readmes, change logs and installation files now go in
1107 platform-specific directories under docs, e.g. docs/msw,
1109 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
1110 created dynamically, not as a global object.
1111 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
1112 - Changed names of some include/wx/generic headers to be
1113 consistent and to conform to gcc pragma conventions. Also
1114 changed choicesg.cpp to choicdgg.cpp.
1115 - Added gcc pragmas.
1116 - Added gtk inclusion in include/wx headers.
1117 - Added consistent file headings to source and headers.
1118 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
1119 added a few references to wxTransString.
1120 - Added operator to wxTransString that converts automatically
1121 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
1122 - samples/internat now works (minimally).
1123 - Added wxMouseEvent::GetPosition and
1124 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
1125 - Made wxSize and wxRect contain longs not ints.
1126 - Cured some lemory leaks (thanks Vadim).
1127 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
1128 will only keep processing OnIdle if it returns TRUE from
1131 Alpha 4, 31st January 1998
1132 --------------------------
1136 - Changed wxDC functions to take longs instead of floats. GetSize now takes
1137 integer pointers, plus a version that returns a wxSize.
1138 - const keyword added to various wxDC functions.
1139 - Under Windows, wxDC no longer has any knowledge of whether
1140 an associated window is scrolled or not. Instead, the device
1141 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
1142 - wxScrolledWindow applications can optionally override the virtual OnDraw
1143 function instead of using the OnPaint event handler. The wxDC passed to
1144 OnDraw will be translated by PrepareDC to reflect scrolling.
1145 When drawing outside of OnDraw, must call PrepareDC explicitly.
1146 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
1148 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
1149 to help printing with multiple pages.
1150 - IPC classes given base classes (wxConnectionBase etc.) which
1151 define the API used by different implementations. DDE
1152 implementation updated to use these base classes.
1153 - wxHelpInstance now separated into wxHelpControllerBase (base
1154 for all implementations), wxWinHelpController (uses standard
1155 WinHelp), wxXLPHelPController (talks to wxHelp by DDE or
1156 TCP/IP). There will be others eventually, such as
1157 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
1158 - Added Vadim Zeitlin's wxString class plus
1159 internationalization code (gettext simulation, wxLocale, etc.).
1160 New files from Vadim:
1166 src\common\string.cpp
1170 No longer use GNU wxString files.
1171 - Split off file-related functions into include\wx\filefn.h and
1172 src\common\filefn.cpp.
1173 - Borland C++ support (WIN32) for main library and
1174 samples, using makefile.b32 files.
1175 - Preparation done for allowing BC++ to compile wxWin as a DLL,
1176 including changes to defs.h.
1177 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
1179 - Added wxShowEvent (generated when window is being shown or
1181 - Got minimal, docview, mdi samples working for 16-bit VC++ and
1182 cured 16-bit problem with wxTextCtrl (removed global memory
1184 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
1186 Alpha 3, September 1997
1187 -----------------------
1191 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
1192 - Instigated new file hierarchy, split files and classes up more logically.
1193 - PrologIO and some other utils now put into core library.
1194 - Revamped print/preview classes, added wxPageSetupDialog.
1195 - Started documentation.
1197 Alpha 2, 30th April 1997
1198 ------------------------
1202 - EVT_... macros now have at least one argument, for conformance
1203 with MetroWerks compiler.
1204 - Added ids to .wxr file format.
1205 - Got Dialog Editor compiled and running again but need
1206 to extend functionality to be in line with new controls.
1207 Added dialoged\test app to allow dynamic loading of .wxr files
1208 for testing purposes.
1209 - Rewrote wxBitmap to allow installable file type
1211 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
1212 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
1214 - Added back wxRadioBox.
1215 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
1218 Alpha 1, 5th April 1997
1219 -----------------------
1223 At this point, the following has been achieved:
1225 - A lot, but not all, of the code has been revamped for better
1226 naming conventions, protection of data members, and use of
1227 wxString instead of char *.
1228 - Obsolete functionality deleted (e.g. default wxPanel layout,
1229 old system event system) and code size reduced.
1230 - Class hierarchy changed (see design doc) - base classes such
1231 as wxbWindow now removed.
1232 - No longer includes windows.h in wxWin headers, by using stand-in
1233 Windows types where needed e.g. WXHWND.
1235 - wxScrolledWindow, wxStatusBar and new MDI classes added.
1236 MDI is now achived using separate classes, not window styles.
1237 - wxSystemSettings added, and made use of to reflect standard
1239 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
1240 settings mucho rationalised.
1241 - All windows are now subclassed with the same window proc to make
1242 event handling far more consistent. Old internal wxWnd and derived
1244 - API for controls revised, in particular addition of
1245 wxValidator parameters and removal of labels for some controls.
1246 - 1 validator written: see examples/validate.
1247 - Event table system introduced (see most samples and
1248 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
1249 made more flexible, with Push/PopEventHandler allowing a chain
1251 - wxRadioBox removed - will be added back soon.
1252 - Toolbar class hierarchy revised:
1254 wxToolBarSimple (= old wxToolBar)
1255 wxToolBar95 (= old wxButtonBar under Win95
1256 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
1257 - Constraint system debugged somewhat (sizers now work properly).
1258 - wxFileDialog, wxDirDialog added; other common dialogs now
1259 have class equivalents. Generic colour and font dialogs
1260 rewritten to not need obsolete panel layout.
1261 - .wxr resource system partially reinstated, though needs
1262 an integer ID for controls. Hopefully the resource system
1263 will be replaced by something better and more efficient
1265 - Device contexts no longer stored with window and accessed
1266 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
1268 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
1269 determines whether labels are shown. Other Win95-specific flags
1270 introduced, e.g. for showing ticks.
1271 - Styles introduced for dealing with 3D effects per window, for
1272 any window: all Win95 3D effects supported, plus transparent windows.
1273 - Major change to allow 3D effect support without CTL3D, under
1275 - Bitmap versions of button and checkbox separated out into new
1276 classes, but unimplemented as yet because I intend to remove
1277 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
1278 - utils/wxprop classes working (except maybe wxPropertyFormView)
1279 in preparation for use in Dialog Editor.
1280 - GNU-WIN32 compilation verified (a month or so ago).