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
29 - small change to wxStopWatch::Pause() semantics, please see the documentation
34 - the event type constants are not constants any more but are dynamically
35 allocated during run-time which means that they can't be used as case labels
36 in the switch()es, you must rewrite them to use if()s instead
38 You may also define WXWIN_COMPATIBILITY_EVENT_TYPES to get the old behaviour
39 but this is strongly discouraged, please consider changing your codei
42 - wxDialog does not derive from wxPanel any longer - if you were using it in
43 your code, please update it. The quick fix for the most cases is to replace
44 the occurences of wxPanel with wxWindow.
46 - wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO
47 have changed (to fix some unfortunate clashes), please check your code to
48 ensure that no tests for wxYES or wxNO are broken: for example, the following
49 will *NOT* work any longer:
51 if ( flags & wxYES_NO )
54 ... do something else ...
56 - wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
58 - wxGridCellAttrProvider class API changed, you will need to update your code
59 if you derived any classes from it
61 - wxImage::ComputeHistogram()'s signature changed to
62 unsigned long ComputeHistogram(wxImageHistogram&) const
64 - wxEvtHandler cannot be copied/assigned any longer - this never worked but
65 now it results in compile-time error instead of run-time crashes
67 - WXK_NUMLOCK and WXK_SCROLL keys no longer result in EVT_CHAR() events,
68 they only generate EVT_KEY_DOWN/UP() ones
70 - the dialogs use wxApp::GetTopWindow() as the parent implicitly if the
71 parent specified is NULL, use wxDIALOG_NO_PARENT style to prevent this
77 - build system changed: setup.h is not a static file in include/wx any more
78 but is created as part of the build process under lib/<toolkit>/wx/include
79 where <toolkit> is of the form (msw|univ)[dll][u][d]. You'll need to update
80 the include path in your make/project files appropriately. Furthermore,
81 xpm.lib is no longer used by wxMSW, it was superseded by the wxXPMDecoder
82 class. You'll need to remove all references to xpm.lib from your
85 - child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR
86 style to avoid it, wxFRAME_FLOAT_ON_PARENT style is now obsolete and has no
89 - all overloads of wxDC::SetClippingRegion() combine the given region with the
90 previously selected one instead of replacing it
92 - wxGetHomeDir() uses HOME environment variable and if it is set will not
93 return the programs directory any longer but its value (this function has
94 never been meant to return the programs directory anyhow)
96 - wxHTML apps don't need to include wx/html/msw/wxhtml.rc in resources file
97 anymore. The file was removed from wxMSW
102 - You should use `wx-config --cxxflags` in your makefiles instead of
103 `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS
104 and the compiler flags for C++ files only, CFLAGS should still be used
105 to compile pure C files.
116 - wxSemaphore class added, many fixed to wxCondition and wxThread (K.S. Sreeram)
117 - fixes to the command line parsing error and usage messages
118 - modified wxFileName::CreateTempFileName() to open the file atomically
119 (if possible) and, especially, not to leak the file descriptors under Unix
120 - memory leak in wxHTTP fixed (Dimitri)
121 - fixes to AM_PATH_WXCONFIG autoconf macro
122 - added wxHashMap class that replaces type-unsafe wxHashTable and is modelled
123 after (non standard) STL hash_map
124 - wxLocale now works in Unicode mode
125 - wxLocale can now load message catalogs in arbitrary encoding
126 - fixed the bug related to the redrawing on resize introduced in 2.3.2
127 - added static wxFontMapper::Get() accessor (use of wxTheFontMapper is now
132 - wxWindows may be built using BSD and Solaris (and possibly other) make
133 programs and not only GNU make
134 - wxTCP-based IPC classes now support communicating over Unix domain sockets
138 - it is now possible to set the icons of different sizes for frames (e.g. a
139 small and big ones) using the new wxIconBundle class
140 - implemented radio menu items and radio toolbar buttons
141 - added possibility to show text in the toolbar buttons
142 - added wxArtProvider class that can be used to customize the look of standard
144 - significantly improved native font support
145 - wxImage::ComputeHistogram() now uses wxImageHistogram instead of type-unsafe
147 - added IFF image handler
148 - fixed using custom renderers in wxGrid which was broken in 2.3.2
149 - support for multiple images in one file added to wxImage (TIFF, GIF and ICO formats)
150 - support for CUR and ANI files in wxImage added (Chris Elliott)
151 - wxTextCtrl::GetRange() added
152 - added wxGetFontFromUser() convenience function
153 - added EVT_MENU_OPEN and EVT_MENU_CLOSE events
154 - added Hungarian translations (Janos Vegh)
155 - added wxImage::SaveFile(filename) method (Chris Elliott)
156 - added wxImage::FloodFill and implemented wxWindowDC::DoFloodFill method
157 for GTK+, Mac, MGL, X11, Motif ports (Chris Elliott)
158 - added (platform-dependent) scan code to wxKeyEvent (Bryce Denney)
159 - added wxTextCtrl::EmulateKeyPress()
160 - Added wxMouseCaptureChangedEvent
161 - Added custom character filtering to wxTextValidator
165 - small appearance fixes for native look under Windows XP
166 - refresh the buttons properly when the window is resized (Hans Van Leemputten)
167 - huge (40*) speed up in wxMask::Create()
168 - changing wxWindows styles also changes the underlying Windows window style
169 - wxTreeCtrl supports wxTR_HIDE_ROOT style (George Policello)
170 - fixed flicker in wxTreeCtrl::SetItemXXX()
171 - fixed redraw problems in dynamically resized wxStaticText
172 - improvements to wxWindows applications behaviour when the system colours
174 - fixed wxProgressDialog for ranges > 65535
175 - wxFontEnumerator now returns all fonts, not only TrueType ones
176 - bugs in handling wxFrame styles (border/caption related) fixed
177 - showing a dialog from EVT_RADIOBUTTON handler doesn't lead to an infinite
179 - wxTextCtrl with wxTE_RICH flag scrolls to the end when text is appended to it
180 - the separators are not seen behind the controls added to the toolbar any more
181 - wxLB_SORT style can be used with wxCheckListBox
182 - wxWindowDC and wxClientDC::GetSize() works correctly now
183 - Added wxTB_NODIVIDER and wxTB_NOALIGN so native toolbar can be used in FL
184 - Multiline labels in buttons are now supoprted (simply use "\n" in the label)
185 - Implemented wxMouseCaptureChangedEvent and made wxGenericDragImage check it
186 has the capture before release it.
190 - wxDirDialog now presents the file system in standard Unix way
191 - wxButton now honours wxBU_EXACTFIT
192 - wxStaticBox now honours wxALIGN_XXX styles
193 - added support for non alphanumeric simple character accelerators ('-', '=')
194 - new behaviour for wxWindow::Refresh() as it now produces a delayed refresh.
195 Call the new wxWindow::Update() to force an immediate update
196 - support for more SGI hardware (12-bit mode among others)
197 - fixed wxDC::Blit() to honour source DC's logical coordinates
198 - implemented wxIdleEvent::RequestMore() for simple background tasks
200 - implemented wxChoice::Delete()
204 - fixed wxHtmlHelpController's cache files handling on big endian machines
205 - added blocking and redirecting capabilities to wxHtmlWindow via
206 wxHtmlWindow::OnOpeningURL()
207 - fixed alignment handling in tables
208 - fixed <font face="..."> handling to be case insensitive
213 New port: wxUniv for Win32/GTK+ is now included in the distribution.
217 - wxRegEx class added
218 - wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber)
219 - wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen)
220 - more fixes to wxMBConv classes. Conversion to and from wchar_t now works with
221 glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s
222 capabilities at runtime instead of in the configure script.
226 - support for virtual list control added
227 - column images in report mode of the list control
228 - wxFindReplaceDialog added (based on work of Markus Greither)
229 - wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK)
230 - polygon support in wxRegion (Klaas Holwerda)
231 - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added
232 - fixed bug with using wxExecute() to capture huge amounts of output
233 - new wxCalendarCtrl styles added (Søren Erland Vestø)
234 - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh)
235 - wxDirSelector() added (Paul A. Thiessen)
236 - wxGrid cell editing veto support (Roger Gammans)
237 - wxListCtrl ITEM_FOCUSED event added
238 - support for ICO files in wxImage added (Chris Elliott)
242 - support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook)
243 - new library naming convention under VC++ -- please change your application
248 - fixed popup menu positioning bug
252 - new HTML parser with correct parsing of character entities and fixes
254 - added support for animated GIFs
262 - Fixed new charset detection code
263 - ODBC Informix fixes (submitted by Roger Gammans)
264 - Added ODBC date support to wxVariant
265 - Added wxDir::Traverse
266 - Added wxSingleInstanceChecker class
267 - Removed redundant wxDebugContext functions using C++ streams,
268 so now standard stream usage should be unnecessary
272 - Added wxDbGrid class for displaying ODBC tables
273 - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the
274 user code can get access to the edit control when it is created, (to
275 push on a custom event handler for example)
276 - Added wxTextAttr class and SetStyle, SetDefaultStyle and
277 GetDefaultStyle methods to wxTextCtrl
278 - Added wxSingleInstanceChecker
279 - Improvements to Tex2RTF
280 - Added Paul and Roger Gammans' grid controls
281 - Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
283 - Fixed memory leak in textcmn.cpp
284 - Various wxXML enhancements
285 - Removed wxCLIP_CHILDREN style from wxSplitterWindow
286 - Fixed memory leak in DoPrint, htmprint.cpp
287 - Fixed calendar sample bug with using wxCommandEvent::GetInt()
289 - Added wxDbGrid combining wxODBC classes with wxGrid
290 - Added more makefiles and project files for contrib hierarchy
294 - Fixed wxApp::ProcessMessage so controls don't lose their
295 accelerators when the accelerators are redefined elsewhere
296 - Accelerators consisting of simple keystrokes (without control,
297 alt or shift) now work
298 - Compile fixes for Watcom C++ added
299 - Compile fixes for Cygwin 1.0 added
300 - Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop()
301 - Replaced wxYield() call in PopupMenu() by a much safer
302 wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones
303 - Enter processing in wxSpinCtrl fixed
304 - Fixed bug in determining the best listbox size
305 - Fix for wxFrame's last focus bug
306 - We now send iconize events
307 - Fixed wxFrame::SetClientSize() with toolbar bug
308 - Added mousewheel processing
309 - Added wxSystemSettings::Get/SetOption so we can configure
310 wxWindows at run time; used this to implement no-maskblt option
312 - Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
313 child frame styles are honoured
317 - Fixed slider rounding bug
318 - Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
319 - We now send iconize events
320 - Fix for discrepancies between wxNotebookEvent and wxNotebook
321 GetSelection() results
328 - fixed problem with wxURL when using static version of the library
329 - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories
330 - wxMimeTypesManager now can create file associations too (Chris Elliott)
331 - wxCopyFile() respects the file permissions (Roland Scholz)
332 - wxFTP::GetFileSize() added (Søren Erland Vestø)
333 - wxDateTime::IsSameDate() bug fixed
334 - wxTimeSpan::Format() now behaves more as expected, see docs
335 - wxLocale now provides much more convenient API for setting language and
336 detecting current system language. New API is more abstracted and truly
337 cross-platform, independent of underlying C runtime library.
341 - new wxToggleButton class (John Norris, Axel Schlueter)
342 - wxCalendarCtrl not highlighting the date with time part bug fixed
343 - wxADJUST_MINSIZE sizer flag added
344 - FindOrCreateBrush/Pen() bug fix for invalid colour values
345 - new wxXPMHandler for reading and writing XPM images
346 - added new (now recommended) API for conversion between wxImage and wxBitmap
347 (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of
348 wxImage methods and ctor)
349 - ODBC classes now support DB2, Interbase, and Pervasive SQL
350 - ODBC documentation complete!!
351 - ODBC classes have much Unicode support added, but not complete
352 - ODBC experimental BLOB support added, but not completely tested
353 - ODBC NULL column support completed (Roger/Paul Gammans)
354 - ODBC All "char *" and char arrays removed and replaced with wxString use
358 - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen)
359 - fixed bug in MDI children flags (mis)handling
360 - it is possible to compile wxCHMHelpController with compilers
361 other than Visual C++ now and hhctrl.ocx is loaded at runtime
365 - added support for wchar_t (wxUSE_WCHAR_T) under Unix
369 - mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup
370 - visual enhancements to contents panel of wxHtmlHelpController
377 - Fixed bug with directories with trailing (back)slashes in wxPathExists
378 - wxString: added wxArrayString::operator==() and !=()
379 - Fixes for wxCmdLineParser
380 - Added wxGetLocalTimeMillis
381 - Completed Czech translations
382 - Some stream corrections
383 - added missing consts to wxPoint operators
384 - wxDateTime ParseFormat fixes
385 - wxFile::Open(write_append) will create file if it doesn't exist
386 - small fixes to MIME mailcap test command handling, more MIME tests in the sample
390 - wxGenericDragImage now allows virtual image drawing, and
391 flicker-free dragging is now possible
392 - Added wxPrinter::GetLastError
393 - Fixed wxLogGui reentrancy problem
394 - Paper names now translated
396 - Generic validator now caters for more cases (integers in
397 wxTextCtrl, strings in wxChoice, wxComboBox)
398 - Fixed crash when docview On... functions return FALSE. Show
399 error message when an non-existent filename is typed into the Open
401 - Corrected Baltic font encoding handling
402 - wxImage: enhanced TIFF code, added new platform-independent BMP
404 - wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
405 - Fixed wxPropertyForm crashes in sample
406 - wxWizard now calls TransferDataFromWindow() before calling
407 wxWizardPage::GetNext() fixing an obvious bug
411 - wxWindow::GetCharWidth/Height now calculated accurately.
412 This will affect all .wxr dialog resources, so for
413 backward compatibility, please set
414 wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h
415 - wxListCtrl: set item text in LIST_ITEM_ACTIVATED events
416 - wxTextCtrl: implemented setting colours for rich edit controls
417 - wxColour now accepts both grey and gray
418 - BC++ DLL compilation fixed
419 - Watcom C++ makefiles improved for JPEG and TIFF compilation
420 - Fixed submenu accelerator bug
421 - Fixed dialog focus bug (crash if the previous window to have
422 the focus was destroyed before the dialog closed)
423 - Too-small default wxTextCtrl height fixed
424 - fixed "missing" initial resize of wxMDIChildFrame
425 - wxFrame restores focus better
426 - Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to
427 frames anddialogs, interferes with other window styles otherwise
428 (sometimes you'd get a thick frame in a subwindow)
429 - wxTextCtrl insertion point set to the beginning of the control by SetValue
430 - Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
431 - wxFileDialog: adjusts struct size if there's an error (struct
432 sizes can be different on different versions of Windows)
433 - wxImageList::GetSize() documented and added to wxMSW
434 - fixed default dialog style to make them non resizeable again
435 - fixed wxFrame::IsShown() which always returned TRUE before
439 - Please see docs/gtk/changes.txt.
443 - Small compilation fixes
459 - Added wxCHMHelpController, for invoking MS HTML Help
460 files. This works under VC++ only
461 - Modal dialog handling improved
462 - Printer dialog now modal
477 - Added docs/tech for technical notes
481 - Started new contrib hierarchy that mirrors
482 the main lib structure; moved OGL and MMedia into it
487 - wxDateTime replaces and extends old wxDate and wxTime classes (still
488 available but strongly deprecated) with many new features
489 - wxLongLong class provides support for (signed) 64 bit integers
490 - wxCmdLineParser class for parsing the command line (supporting short and
491 long options, switches and parameters of different types)
492 - it is now possible to build wxBase under Win32 (using VC++ only so far)
493 and BeOS (without thread support yet)
494 - wxThread class modified to support both detached and joinable threads, also
495 added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
497 - wxDir class for enumerating files in a directory
498 - wxLog functions are now (more) MT-safe
499 - wxStopWatch class, timer functions have more chances to return correct
500 results for your platform (use ANSI functions where available)
501 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
502 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
504 - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
508 - Added wxImage::Rotate.
509 - new wxCalendarCtrl class for picking a date interactively
510 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu menagament
511 - wxToolBar supports arbitrary controls (not only buttons) and can be
512 dynamically changed (Delete/Insert functions)
513 - vertical toolbars supported by MSW and GTK native wxToolBar classes
514 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
515 - "file open" dialog allows selecting multiple files at once (contributed by
517 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
518 MIME types if available (Unix only)
519 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
520 - TIFF support added (libtiff required and included in the distribution)
521 - PCX files can now be written (256 and 24 bits)
522 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
523 - wxScrolledWindow now has keyboard interface
524 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
525 - added wxEncodingConverter and improved wxFontMapper
526 for dealing with convertions between different encodings,
527 charsets support in wxLocale and wxHTML
528 - wxDragImage class added
529 - samples/help improved to show standard and advanced HTML help
530 controllers, as well as native help
531 - moved wxTreeLayout class to main lib
535 - wxFrame::MakeFullScreen added.
536 - support for enhanced metafiles added, support for copying/pasting metafiles
537 (WMF and enhanced ones) fixed/added.
538 - implemented setting colours for push buttons
539 - wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be
540 positioned along the top of the screen and not only at the bottom
541 - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun)
542 - loading/saving big (> 32K) files in wxTextCtrl works
543 - tooltips work with wxRadioBox
544 - wxBitmap/wxIcon may be constructed from XPM included into a program, as in
546 - returning FALSE from OnPrintPage() aborts printing
547 - VC++ makefiles and project files made (mostly) consistent
548 - wxSetCursorEvent added
552 - wxFontMapper endless recursion bug (on some systems) fixed
553 - wxGTK synthesizes wxActivateEvents
554 - UpdateUI handlers may be used with wxTextCtrl
558 - wxMenu::Enable works
559 - wxToolBar bugs fixed
560 - OGL samples made to work again
564 - almost complete rewrite of wxHtmlHelpController,
565 including faster search, bookmarks, printing, setup dialog
566 and cross-platform binary compatible .cached files for faster
567 loading of large helpbooks, case insensitive search
568 splitted into 3 parts: wxHtmlHelpData, Frame and Controller
569 - added support for charsets and <meta> tag
570 - added support for font faces and justified paragraphs,
571 taken some steps to prepare wxHTML for frames
572 - added dynamic pushing/poping of wxHtmlParser tag handlers
573 - improved HTML printing
574 - added extensive table of HTML characters substitutions ( etc.)
575 - fixed wxHtmlWindow flickering, several minor bugfixes
576 - added some tags: <address>, <code>, <kbd>, <samp>, <small>, <big>,
577 fixed handling of relative and absolute font sizes in <font size>
580 NOTE: for changes after wxWindows 2.1.0 b4, please see the CVS
583 2.1.0, b4, May 9th 1999
584 -----------------------
588 - JPEG support added.
589 - Many fixes and changes not thought worth mentioning in this file :-)
593 - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
595 - JPEG support added.
596 - Fixes for Cygwin compilation.
597 - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
598 - Many fixes people didn't tell this file about.
605 - Some changes for Unicode support, including wxchar.h/cpp.
608 2.0.1 (release), March 1st 1999
609 -------------------------------
614 - Slider/spinbutton fixes.
618 - Fixed problems with <return> in dialogs/panels.
619 - Fixed window cursor setting.
620 - Fixed toolbar sizing and edge-clipping problems.
621 - Some makefile fixes.
629 - Added wxUSE_SOCKETS.
630 - More topic overviews.
631 - Put wxPrintPaperType, wxPrintPaperDatabase into
632 prntbase.h/cpp for use in non-PostScript situations
633 (e.g. Win16 wxPageSetupDialog).
636 Beta 5, February 18th 1999
637 --------------------------
641 - wxExecute improved.
645 - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
647 - Changed VC++ makefiles (.vc) so that it's possible to have
648 debug/release/DLL versions of the library available simultaneously,
649 with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
650 - Added BC++ 5 IDE files and instructions.
651 - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
652 - Fixed focus-related crash.
656 - Cured asynchronous wxExecute crash.
657 - Added repaint event handlers to wxFrame, wxMDIChildFrame.
661 - wxLocale documented.
662 - Added include filenames to class reference.
663 - wxHelpController API changed: SetBrowser becomes SetViewer,
664 DisplaySection works for WinHelp, help sample compiles under Windows
665 (though doesn't display help yet).
667 Beta 4, February 12th 1999
668 --------------------------
672 - Miscellaneous fixes.
676 - Makefiles for more compilers and samples; Cygwin makefiles
678 - Added VC++ project file for compiling wxWindows as DLL.
682 - Added OnEraseBackground invocation.
683 - Added wxRETAINED implementation for wxScrolledWindow.
684 - Cured scrolling display problem by adding XmUpdateDisplay.
685 - Tried to make lex-ing in the makefile more generic (command line
686 syntax should apply to both lex and flex).
687 - Changed file selector colours for consistency (except for buttons:
688 crashes for some reason).
689 - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
690 of malloc, which causes memory problems).
694 - Further doc improvements.
695 - wxGenericValidator added.
696 - Added wxImageModule to image.cpp, so adds/cleans up standard handlers
699 Beta 3, January 31st 1999
700 -------------------------
704 - wxClipboard/DnD API changes (still in progress).
705 - wxToolTip class added.
706 - Miscellaneous fixes.
710 - wxRegConfig DeleteAll bug fixed.
711 - Makefiles for more compilers.
712 - TWIN32 support added.
713 - Renamed VC++ makefiles from .nt to .vc, and
714 factored out program/library settings.
715 - Fixed wxIniConfig bug.
719 - A few more colour fixes.
720 - wxGLCanvas and OpenGL samples working.
721 - Some compiler warnings fixed.
722 - wxChoice crash fix.
723 - Dialog Editor starting to work on Motif.
727 - wxBusyCursor class added.
729 - More doc improvements, incl. expanding docs/html/index.htm.
738 - 16-bit BC++ compilation/linking works albeit without the resource system.
742 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
744 - Cured some widget table clashes.
745 - Added thread support (Robert).
746 - wxPoem sample now works.
750 - Rearranged documentation a bit.
751 - Sash window uses area of first frame/dialog to paint over when drawing
752 the dragged sash, not just the sash window itself (it clipped to the right
754 - Made resource sample use the correct Cancel button id.
755 - Moved wxProp to main library (generic directory), created proplist
757 - Added bombs and fractal samples.
759 Beta 1, December 24th 1998
760 --------------------------
766 wxMSW, wxMotif: not in sync with this release.
769 Alpha 18, December 29th 1998
770 ----------------------------
774 - Win16 support working again (VC++ 1.5)
775 - Win16 now uses generic wxNotebook, wxListCtrl,
776 wxTreeCtrl -- more or less working now, although
777 a little work on wxNotebook is still needed.
778 Under 16-bit Windows, get assertion when you click
780 - Wrote 16-bit BC++ makefiles: samples don't yet link.
781 - Added CodeWarrior support to distribution courtesy
786 - Cured scrolling problem: scrollbars now show/hide themselves
787 without (permanently) resizing the window.
788 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
789 that disabled scrollbar paging.
790 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
792 - Removed major bug whereby dialogs were unmanaged automatically
793 when any button was pressed.
794 - Fixed colours of wxWindow scrollbars, made list and text controls
795 have a white background.
796 - Fixed dialog colour setting.
797 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
798 they have sensible colours by default.
799 - Fixed a bug in wxStaticBox.
800 - Cured wxTreeCtrl bug: now works pretty well!
801 - Debugged DrawEllipticArc (a ! in the wrong place).
802 - Added SetClippingRegion( const wxRegion& region ).
803 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
805 Alpha 17, November 22nd 1998
806 ----------------------------
810 - More documentation updates, especially for
811 wxLayoutWindow classes and debugging facilities.
812 - Changed wxDebugContext to use wxDebugLog instead
814 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
815 However, DLL support may be broken for BC++ since
816 VC++ 6 required changing of WXDLLEXPORT keyword
818 - Numerous miscellaneous changes.
822 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
823 were too buggy (probably not design for dynamic addition/removal of
825 - Some improvements to the wxNotebook implementation.
826 - wxToolBar now uses a bulletin board instead of a form, in an attempt
827 to make it possible to add ordinary wxControls to a toolbar.
828 - Cured problem with not being able to use global memory operators,
829 by defining two more global operators, so that the delete will match
830 the debugging implementation.
831 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
832 global memory operators (usually OK) and #defining new to be
833 WXDEBUG_NEW (sometimes it might not be OK).
834 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
835 - Added a parent-existance check to popup menu code to make it not crash.
836 - Added some optimization in wxWindow::SetSize to produce less flicker.
837 It remains to be seen whether this produces any resize bugs.
839 It's a long time since I updated this file. Previously done:
841 - wxFrame, wxDialog done.
842 - wxScrolledWindow done (but backing pixmap not used at present).
843 - wxBitmap done though could be tidied it up at some point.
844 - Most basic controls are there, if not rigorously tested.
845 - Some MDI support (menus appear on child frames at present).
846 - wxNotebook almost done.
847 - wxToolBar done (horizontal only, which would be easy to extend
848 to vertical toolbars).
852 - Colour and font changing done (question mark over what happens
854 - Accelerators done (for menu items and buttons). Also event loop
855 tidied up in wxApp so that events are filtered through ProcessXEvent.
856 - wxWindow::GetUpdateRegion should now work.
858 Alpha 16, September 8th 1998
859 ----------------------------
863 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
865 - Guilhem's socket classes added, plus wxsocket sample.
866 - A few more makefiles added.
867 - GnuWin32/BC++ compatibility mods.
868 - Further doc updates.
869 - wxProp updates for correct working with wxGTK.
873 - First start at Motif port.
874 - Made makefiles for wxMotif source directory and minimal sample.
875 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
876 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
877 wxMenu, wxMenuItem, wxMenuBar
879 Alpha 15, August 31st 1998
880 --------------------------
885 - wxDC::GetDepth added.
886 - Contribution added whereby wxBitmap will be
887 converted to DC depth if they don't match.
888 - wxConfig API improved, documentation updated.
889 - Printing classes name conventions cleaned up.
890 - wxUpdateUIEvent now derives from wxCommandEvent
891 so event can travel up the window hierachy.
893 Alpha 14, July 31st 1998
894 ------------------------
898 - Toolbar API has been simplified, and now
899 wxFrame::GetClientArea returns the available client
900 area when toolbar, status bar etc. have been accounted for.
901 wxFrame::CreateToolBar added in line with CreateStatusBar.
902 - Documentation updates, incl. for wxToolBar.
903 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
904 - Various additions from other folk, e.g. streams, wxConfig
906 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
908 Alpha 13, July 8th 1998
909 -----------------------
913 - Implemented wxPoint as identical to POINT on Windows, and
914 altered wxDC wxPoint functions to use wxPoint directly in
915 Windows functions, for efficiency.
916 - Cured wxASSERT bug in wxStatusBar95.
917 - #ifdefed out some bits in oleutils.cpp for compilers that
919 - Added some operators to wxPoint, wxSize.
920 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
922 Alpha 12, July 7th 1998
923 -----------------------
927 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
928 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
930 Alpha 11, July 3rd 1998
931 -----------------------
935 - Added thread.h, thread.cpp.
936 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
938 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
939 SetTextColor to SetTextColour, and added or made public several
940 wxMenuItem accessors.
941 - Added two overloads to wxRegion::Contains. Added
942 wxRegion::IsEmpty for a more consistent naming convention.
943 - Added Vadim's wxDataObject and wxDropSource.
944 - ENTER/LEAVE events now work.
945 - Cured wxMemoryDC bug where the DC wasn't being deleted.
946 - Cured wxGauge SetSize major bugginess.
947 - Cured problem where if a GDI object was created on the stack,
948 then went out of scope, then another object was selected into
949 the DC, GDI objects would leak. This is because the assignment
950 to e.g. wxDC::m_pen would delete the GDI object without it first
951 being selected out of the DC. Cured by selecting the old DC object
952 first, then doing the assignment.
953 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
954 - Various other bug fixes and additions.
958 - Major work on Dialog Editor (still plenty to go).
959 - Expanded documentation a bit more.
961 Alpha 10, May 7th 1998
962 ----------------------
966 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
967 and wxIcon functions so that you can specify what size of
968 icon should be loaded. Probably will remain a Windows-specific thing.
969 - wxStatusBar95 now works for MDI frames.
970 - Toolbars in MDI frames now behave normally. They still
971 require application-supplied positioning code though.
972 - Changed installation instructions, makefiles and batch files
973 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
974 change to support Mingw32/EGCS. Bison now used by default.
976 Alpha 9, April 27th 1998
977 ------------------------
981 - Cured bug in wxStatusBar95 that caused a crash if multiple
983 - Added Gnu-Win32 b19/Mingw32 support by changing resource
984 compilation and pragmas.
985 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
986 commands because VZ changed the id setting in wxMenu::MSWCommand.
990 - Corrected some bugs, such as the wxModule compilation problem.
991 - Added Gnu-Win32 b19/Mingw32 support by changing resource
992 compilation and pragmas.
993 - Changed SIZEOF to WXSIZEOF.
995 Alpha 8, April 17th 1998
996 ------------------------
1000 - Added IsNull to wxGDIObject to check if the ref data is present or not.
1001 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
1003 - Added wxJoystick class and event handling, and simple demo.
1004 - Added simple wxWave class. Needs Stop() function.
1005 - Added wxModule (module.h/module.cpp) to allow definition
1006 of modules to be initialized and cleaned up on wxWindows
1008 - Start of Mingw32 compatibility (see minimal and dialogs samples
1009 makefile.m95 files, and install.txt).
1010 - Note: Windows printing has stopped working... will investigate.
1012 - Updated wxString: bug fixes, added wxArrayString, some
1013 compatibility functions.
1014 - Updated log.h/cpp, added wxApp::CreateLogTarget.
1015 - file.h: new wxTempFile class.
1016 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
1017 - statbr95: wxStatusBar95 control.
1018 - registry.h/cpp: wxRegKey class for Win95 registry.
1019 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
1020 - wxConfig and wxFileConfig classes.
1024 - Added src/other/png, src/other/zlib directories.
1025 - Added samples/png.
1026 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
1027 Porters, please check particularly your wxTreeCtrl and wxListCtrl
1029 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
1031 Alpha 7, March 30th 1998
1032 ------------------------
1036 - Added tab classes, tab sample.
1037 - Now can return FALSE from OnInit and windows will be
1038 cleaned up properly before exit.
1039 - Improved border handling so panels don't get borders
1041 - Debugged MDI activation from Window menu.
1042 - Changes to memory debug handling, including checking for
1043 memory leaks on application exit - but see issues.txt for
1045 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
1046 to allow maintenance of an icon in the Windows 95 taskbar
1048 - Got MFC sample working (MFC and wxWindows in the same
1049 application), partly by tweaking ntwxwin.mak settings.
1050 - Got DLL compilation working again (VC++).
1051 - Changed wxProp/Dialog Editor filenames.
1055 - Added tab classes, tab sample.
1056 - Revised memory.cpp, memory.h slightly; memory.h now #defines
1057 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
1058 now checks for leaks on exit. Added memcheck sample.
1059 See src/msw/issues.txt for more details.
1060 - resource.h, resource.cpp changed to make wxDefaultResourceTable
1061 a pointer. Now initialize resource system with
1062 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
1063 allow better control of memory.
1064 - wxString now derives from wxObject, to enable memory leak
1066 - Added some #include fixes in various files, plus changed
1067 float to long in wxToolBar files.
1069 Alpha 6, March 10th 1998
1070 ------------------------
1074 - Found stack error bug - stopped unwanted OnIdle recursion.
1075 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
1076 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
1077 check if the number of top-level windows is zero before
1078 exiting. Also, wxApp::GetTopWindow will return either
1079 m_topWindow or the first member of wxTopLevelWindows, so you
1080 don't have to call wxApp::SetTopWindow.
1081 - Added dynarray.h/dynarray.cpp (from Vadim).
1082 - Added first cut at OLE drag and drop (from Vadim). dnd sample
1083 added. Drop target only at this stage. See src/msw/ole/*.cpp,
1084 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
1085 Doesn't work with GnuWin32 - no appropriate headers e.g. for
1087 Doesn't work with BC++ either - crashes on program startup.
1088 - Added Vadim's owner-draw modifications - will probably remain
1089 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
1090 - Added wxLB_OWNERDRAW for owner-draw listboxes.
1091 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
1092 Doesn't entirely work for WIN16.
1093 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
1094 can also be used as an argument to wxMenu::Append, not just for
1095 internal implementation.
1096 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
1097 in makeg95.env, together with mingw32.bat). However, resource
1098 binding is not working yet so most apps with dialogs crash.
1102 - Added Vadim's dynarray.h, dynarray.cpp.
1103 - Added Vadim's menuitem.cpp.
1104 - Added Windows-specific wxCheckListBox,
1105 owner-draw wxListBox, and drag-and-drop
1106 (see docs/msw/changes.txt).
1108 Alpha 5, 14th February 1998
1109 --------------------------
1113 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1114 DISTRIBUTIONS. This change log will therefore now refer to
1115 the Windows-specific code only. See docs/changes.txt for generic
1117 - Removed Windows-specific reference counting system (GDI
1118 resources were cleaned up in idle time) - minimal
1119 advantages now we have a wxWin reference counting system.
1120 - Added missing WXDLLEXPORT keywords so DLL compilation works
1122 - Removed most warnings for GnuWin32 compilation.
1123 - Added wxRegion/wxRegionIterator, but haven't yet used it in
1128 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1129 DISTRIBUTIONS. This change log will therefore now refer to
1130 the generic code only. See docs/msw/changes.txt for Windows-specific
1132 - Readmes, change logs and installation files now go in
1133 platform-specific directories under docs, e.g. docs/msw,
1135 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
1136 created dynamically, not as a global object.
1137 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
1138 - Changed names of some include/wx/generic headers to be
1139 consistent and to conform to gcc pragma conventions. Also
1140 changed choicesg.cpp to choicdgg.cpp.
1141 - Added gcc pragmas.
1142 - Added gtk inclusion in include/wx headers.
1143 - Added consistent file headings to source and headers.
1144 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
1145 added a few references to wxTransString.
1146 - Added operator to wxTransString that converts automatically
1147 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
1148 - samples/internat now works (minimally).
1149 - Added wxMouseEvent::GetPosition and
1150 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
1151 - Made wxSize and wxRect contain longs not ints.
1152 - Cured some lemory leaks (thanks Vadim).
1153 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
1154 will only keep processing OnIdle if it returns TRUE from
1157 Alpha 4, 31st January 1998
1158 --------------------------
1162 - Changed wxDC functions to take longs instead of floats. GetSize now takes
1163 integer pointers, plus a version that returns a wxSize.
1164 - const keyword added to various wxDC functions.
1165 - Under Windows, wxDC no longer has any knowledge of whether
1166 an associated window is scrolled or not. Instead, the device
1167 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
1168 - wxScrolledWindow applications can optionally override the virtual OnDraw
1169 function instead of using the OnPaint event handler. The wxDC passed to
1170 OnDraw will be translated by PrepareDC to reflect scrolling.
1171 When drawing outside of OnDraw, must call PrepareDC explicitly.
1172 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
1174 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
1175 to help printing with multiple pages.
1176 - IPC classes given base classes (wxConnectionBase etc.) which
1177 define the API used by different implementations. DDE
1178 implementation updated to use these base classes.
1179 - wxHelpInstance now separated into wxHelpControllerBase (base
1180 for all implementations), wxWinHelpController (uses standard
1181 WinHelp), wxXLPHelPController (talks to wxHelp by DDE or
1182 TCP/IP). There will be others eventually, such as
1183 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
1184 - Added Vadim Zeitlin's wxString class plus
1185 internationalization code (gettext simulation, wxLocale, etc.).
1186 New files from Vadim:
1192 src\common\string.cpp
1196 No longer use GNU wxString files.
1197 - Split off file-related functions into include\wx\filefn.h and
1198 src\common\filefn.cpp.
1199 - Borland C++ support (WIN32) for main library and
1200 samples, using makefile.b32 files.
1201 - Preparation done for allowing BC++ to compile wxWin as a DLL,
1202 including changes to defs.h.
1203 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
1205 - Added wxShowEvent (generated when window is being shown or
1207 - Got minimal, docview, mdi samples working for 16-bit VC++ and
1208 cured 16-bit problem with wxTextCtrl (removed global memory
1210 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
1212 Alpha 3, September 1997
1213 -----------------------
1217 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
1218 - Instigated new file hierarchy, split files and classes up more logically.
1219 - PrologIO and some other utils now put into core library.
1220 - Revamped print/preview classes, added wxPageSetupDialog.
1221 - Started documentation.
1223 Alpha 2, 30th April 1997
1224 ------------------------
1228 - EVT_... macros now have at least one argument, for conformance
1229 with MetroWerks compiler.
1230 - Added ids to .wxr file format.
1231 - Got Dialog Editor compiled and running again but need
1232 to extend functionality to be in line with new controls.
1233 Added dialoged\test app to allow dynamic loading of .wxr files
1234 for testing purposes.
1235 - Rewrote wxBitmap to allow installable file type
1237 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
1238 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
1240 - Added back wxRadioBox.
1241 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
1244 Alpha 1, 5th April 1997
1245 -----------------------
1249 At this point, the following has been achieved:
1251 - A lot, but not all, of the code has been revamped for better
1252 naming conventions, protection of data members, and use of
1253 wxString instead of char *.
1254 - Obsolete functionality deleted (e.g. default wxPanel layout,
1255 old system event system) and code size reduced.
1256 - Class hierarchy changed (see design doc) - base classes such
1257 as wxbWindow now removed.
1258 - No longer includes windows.h in wxWin headers, by using stand-in
1259 Windows types where needed e.g. WXHWND.
1261 - wxScrolledWindow, wxStatusBar and new MDI classes added.
1262 MDI is now achived using separate classes, not window styles.
1263 - wxSystemSettings added, and made use of to reflect standard
1265 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
1266 settings mucho rationalised.
1267 - All windows are now subclassed with the same window proc to make
1268 event handling far more consistent. Old internal wxWnd and derived
1270 - API for controls revised, in particular addition of
1271 wxValidator parameters and removal of labels for some controls.
1272 - 1 validator written: see examples/validate.
1273 - Event table system introduced (see most samples and
1274 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
1275 made more flexible, with Push/PopEventHandler allowing a chain
1277 - wxRadioBox removed - will be added back soon.
1278 - Toolbar class hierarchy revised:
1280 wxToolBarSimple (= old wxToolBar)
1281 wxToolBar95 (= old wxButtonBar under Win95
1282 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
1283 - Constraint system debugged somewhat (sizers now work properly).
1284 - wxFileDialog, wxDirDialog added; other common dialogs now
1285 have class equivalents. Generic colour and font dialogs
1286 rewritten to not need obsolete panel layout.
1287 - .wxr resource system partially reinstated, though needs
1288 an integer ID for controls. Hopefully the resource system
1289 will be replaced by something better and more efficient
1291 - Device contexts no longer stored with window and accessed
1292 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
1294 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
1295 determines whether labels are shown. Other Win95-specific flags
1296 introduced, e.g. for showing ticks.
1297 - Styles introduced for dealing with 3D effects per window, for
1298 any window: all Win95 3D effects supported, plus transparent windows.
1299 - Major change to allow 3D effect support without CTL3D, under
1301 - Bitmap versions of button and checkbox separated out into new
1302 classes, but unimplemented as yet because I intend to remove
1303 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
1304 - utils/wxprop classes working (except maybe wxPropertyFormView)
1305 in preparation for use in Dialog Editor.
1306 - GNU-WIN32 compilation verified (a month or so ago).