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 - wxObject::CopyObject() and Clone() methods were removed because they
14 simply don't make sense for all objects
16 - wxEvent now has a pure virtual Clone() method which must be implemented
17 by all derived classes, if you have user-defined event classes please
18 add "wxEvent *Clone() const { return new MyEvent(*this); }" line to them
22 - the event type constants are not constants any more but are dynamically
23 allocated during run-time which means that they can't be used as case labels
24 in the switch()es, you must rewrite them to use if()s instead
26 You may also define WXWIN_COMPATIBILITY_EVENT_TYPES to get the old behaviour
27 but this is strongly discouraged, please consider changing your codei
30 - wxDialog does not derive from wxPanel any longer - if you were using it in
31 your code, please update it. The quick fix for the most cases is to replace
32 the occurences of wxPanel with wxWindow.
34 - wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO
35 have changed (to fix some unfortunate clashes), please check your code to
36 ensure that no tests for wxYES or wxNO are broken: for example, the following
37 will *NOT* work any longer:
39 if ( flags & wxYES_NO )
42 ... do something else ...
44 - wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
46 - wxGridCellAttrProvider class API changed, you will need to update your code
47 if you derived any classes from it
51 - build system changed: setup.h is not a static file in include/wx any more
52 but is created as part of the build process under lib/<toolkit>/wx/include
53 where <toolkit> is of the form (msw|univ)[dll][u][d]. You'll need to update
54 the include path in your make/project files appropriately.
56 - child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR
57 style to avoid it, wxFRAME_FLOAT_ON_PARENT style is now obsolete and has no
60 - all overloads of wxDC::SetClippingRegion() combine the given region with the
61 previously selected one instead of replacing it
65 - You should use `wx-config --cxxflags` in your makefiles instead of
66 `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS
67 and the compiler flags for C++ files only, CFLAGS should still be used
68 to compile pure C files.
79 - fixes to the command line parsing error and usage messages
80 - modified wxFileName::CreateTempFileName() to open the file atomically
81 (if possible) and, especially, not to leak the file descriptors under Unix
82 - memory leak in wxHTTP fixed (Dimitri)
83 - fixes to AM_PATH_WXCONFIG autoconf macro
87 - wxWindows may be built using BSD and Solaris (and possibly other) make
88 programs and not only GNU make
92 - significantly improved native font support
93 - added IFF image handler
94 - fixed using custom renderers in wxGrid which was broken in 2.3.2
95 - support for multiple images in one file added to wxImage (TIFF and ICO formats)
96 - support for CUR and ANI files in wxImage added (Chris Elliott)
97 - wxTextCtrl::GetRange() added
98 - added wxGetFontFromUser() convenience function
102 - small appearance fixes for native look under Windows XP
103 - huge (40*) speed up in wxMask::Create() (=> much faster toolbar creation)
104 - fixed flicker in wxTreeCtrl::SetItemXXX()
105 - fixed redraw problems in dynamically resized wxStaticText
106 - improvements to wxWindows applications behaviour when the system colours
108 - fixed wxProgressDialog for ranges > 65535
109 - wxFontEnumerator now returns all fonts, not only TrueType ones
110 - bugs in handling wxFrame styles (border/caption related) fixed
111 - showing a dialog from EVT_RADIOBUTTON handler doesn't lead to an infinite
113 - wxTextCtrl with wxTE_RICH flag scrolls to the end when text is appended to it
117 - wxDirDialog now presents the file system in standard Unix way
118 - wxButton now honours wxBU_EXACTFIT
119 - wxStaticBox now honours wxALIGN_XXX styles
123 - fixed wxHtmlHelpController's cache files handling on big endian machines
124 - added blocking and redirecting capabilities to wxHtmlWindow via
125 wxHtmlWindow::OnOpeningURL()
130 New port: wxUniv for Win32/GTK+ is now included in the distribution.
134 - wxRegEx class added
135 - wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber)
136 - wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen)
137 - more fixes to wxMBConv classes. Conversion to and from wchar_t now works with
138 glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s
139 capabilities at runtime instead of in the configure script.
143 - support for virtual list control added
144 - column images in report mode of the list control
145 - wxFindReplaceDialog added (based on work of Markus Greither)
146 - wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK)
147 - polygon support in wxRegion (Klaas Holwerda)
148 - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added
149 - fixed bug with using wxExecute() to capture huge amounts of output
150 - new wxCalendarCtrl styles added (Søren Erland Vestø)
151 - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh)
152 - wxDirSelector() added (Paul A. Thiessen)
153 - wxGrid cell editing veto support (Roger Gammans)
154 - wxListCtrl ITEM_FOCUSED event added
155 - support for ICO files in wxImage added (Chris Elliott)
159 - support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook)
160 - new library naming convention under VC++ -- please change your application
165 - fixed popup menu positioning bug
169 - new HTML parser with correct parsing of character entities and fixes
171 - added support for animated GIFs
179 - Fixed new charset detection code
180 - ODBC Informix fixes (submitted by Roger Gammans)
181 - Added ODBC date support to wxVariant
182 - Added wxDir::Traverse
183 - Added wxSingleInstanceChecker class
184 - Removed redundant wxDebugContext functions using C++ streams,
185 so now standard stream usage should be unnecessary
189 - Added wxDbGrid class for displaying ODBC tables
190 - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the
191 user code can get access to the edit control when it is created, (to
192 push on a custom event handler for example)
193 - Added wxTextAttr class and SetStyle, SetDefaultStyle and
194 GetDefaultStyle methods to wxTextCtrl
195 - Added wxSingleInstanceChecker
196 - Improvements to Tex2RTF
197 - Added Paul and Roger Gammans' grid controls
198 - Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
200 - Fixed memory leak in textcmn.cpp
201 - Various wxXML enhancements
202 - Removed wxCLIP_CHILDREN style from wxSplitterWindow
203 - Fixed memory leak in DoPrint, htmprint.cpp
204 - Fixed calendar sample bug with using wxCommandEvent::GetInt()
206 - Added wxDbGrid combining wxODBC classes with wxGrid
207 - Added more makefiles and project files for contrib hierarchy
211 - Fixed wxApp::ProcessMessage so controls don't lose their
212 accelerators when the accelerators are redefined elsewhere
213 - Accelerators consisting of simple keystrokes (without control,
214 alt or shift) now work
215 - Compile fixes for Watcom C++ added
216 - Compile fixes for Cygwin 1.0 added
217 - Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop()
218 - Replaced wxYield() call in PopupMenu() by a much safer
219 wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones
220 - Enter processing in wxSpinCtrl fixed
221 - Fixed bug in determining the best listbox size
222 - Fix for wxFrame's last focus bug
223 - We now send iconize events
224 - Fixed wxFrame::SetClientSize() with toolbar bug
225 - Added mousewheel processing
226 - Added wxSystemSettings::Get/SetOption so we can configure
227 wxWindows at run time; used this to implement no-maskblt option
229 - Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
230 child frame styles are honoured
234 - Fixed slider rounding bug
235 - Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
236 - We now send iconize events
237 - Fix for discrepancies between wxNotebookEvent and wxNotebook
238 GetSelection() results
245 - fixed problem with wxURL when using static version of the library
246 - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories
247 - wxMimeTypesManager now can create file associations too (Chris Elliott)
248 - wxCopyFile() respects the file permissions (Roland Scholz)
249 - wxFTP::GetFileSize() added (Søren Erland Vestø)
250 - wxDateTime::IsSameDate() bug fixed
251 - wxTimeSpan::Format() now behaves more as expected, see docs
252 - wxLocale now provides much more convenient API for setting language and
253 detecting current system language. New API is more abstracted and truly
254 cross-platform, independent of underlying C runtime library.
258 - new wxToggleButton class (John Norris, Axel Schlueter)
259 - wxCalendarCtrl not highlighting the date with time part bug fixed
260 - wxADJUST_MINSIZE sizer flag added
261 - FindOrCreateBrush/Pen() bug fix for invalid colour values
262 - new wxXPMHandler for reading and writing XPM images
263 - added new (now recommended) API for conversion between wxImage and wxBitmap
264 (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of
265 wxImage methods and ctor)
266 - ODBC classes now support DB2, Interbase, and Pervasive SQL
267 - ODBC documentation complete!!
268 - ODBC classes have much Unicode support added, but not complete
269 - ODBC experimental BLOB support added, but not completely tested
270 - ODBC NULL column support completed (Roger/Paul Gammans)
271 - ODBC All "char *" and char arrays removed and replaced with wxString use
275 - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen)
276 - fixed bug in MDI children flags (mis)handling
277 - it is possible to compile wxCHMHelpController with compilers
278 other than Visual C++ now and hhctrl.ocx is loaded at runtime
282 - added support for wchar_t (wxUSE_WCHAR_T) under Unix
286 - mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup
287 - visual enhancements to contents panel of wxHtmlHelpController
294 - Fixed bug with directories with trailing (back)slashes in wxPathExists
295 - wxString: added wxArrayString::operator==() and !=()
296 - Fixes for wxCmdLineParser
297 - Added wxGetLocalTimeMillis
298 - Completed Czech translations
299 - Some stream corrections
300 - added missing consts to wxPoint operators
301 - wxDateTime ParseFormat fixes
302 - wxFile::Open(write_append) will create file if it doesn't exist
303 - small fixes to MIME mailcap test command handling, more MIME tests in the sample
307 - wxGenericDragImage now allows virtual image drawing, and
308 flicker-free dragging is now possible
309 - Added wxPrinter::GetLastError
310 - Fixed wxLogGui reentrancy problem
311 - Paper names now translated
313 - Generic validator now caters for more cases (integers in
314 wxTextCtrl, strings in wxChoice, wxComboBox)
315 - Fixed crash when docview On... functions return FALSE. Show
316 error message when an non-existent filename is typed into the Open
318 - Corrected Baltic font encoding handling
319 - wxImage: enhanced TIFF code, added new platform-independent BMP
321 - wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
322 - Fixed wxPropertyForm crashes in sample
323 - wxWizard now calls TransferDataFromWindow() before calling
324 wxWizardPage::GetNext() fixing an obvious bug
328 - wxWindow::GetCharWidth/Height now calculated accurately.
329 This will affect all .wxr dialog resources, so for
330 backward compatibility, please set
331 wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h
332 - wxListCtrl: set item text in LIST_ITEM_ACTIVATED events
333 - wxTextCtrl: implemented setting colours for rich edit controls
334 - wxColour now accepts both grey and gray
335 - BC++ DLL compilation fixed
336 - Watcom C++ makefiles improved for JPEG and TIFF compilation
337 - Fixed submenu accelerator bug
338 - Fixed dialog focus bug (crash if the previous window to have
339 the focus was destroyed before the dialog closed)
340 - Too-small default wxTextCtrl height fixed
341 - fixed "missing" initial resize of wxMDIChildFrame
342 - wxFrame restores focus better
343 - Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to
344 frames anddialogs, interferes with other window styles otherwise
345 (sometimes you'd get a thick frame in a subwindow)
346 - wxTextCtrl insertion point set to the beginning of the control by SetValue
347 - Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
348 - wxFileDialog: adjusts struct size if there's an error (struct
349 sizes can be different on different versions of Windows)
350 - wxImageList::GetSize() documented and added to wxMSW
351 - fixed default dialog style to make them non resizeable again
352 - fixed wxFrame::IsShown() which always returned TRUE before
356 - Please see docs/gtk/changes.txt.
360 - Small compilation fixes
376 - Added wxCHMHelpController, for invoking MS HTML Help
377 files. This works under VC++ only
378 - Modal dialog handling improved
379 - Printer dialog now modal
394 - Added docs/tech for technical notes
398 - Started new contrib hierarchy that mirrors
399 the main lib structure; moved OGL and MMedia into it
404 - wxDateTime replaces and extends old wxDate and wxTime classes (still
405 available but strongly deprecated) with many new features
406 - wxLongLong class provides support for (signed) 64 bit integers
407 - wxCmdLineParser class for parsing the command line (supporting short and
408 long options, switches and parameters of different types)
409 - it is now possible to build wxBase under Win32 (using VC++ only so far)
410 and BeOS (without thread support yet)
411 - wxThread class modified to support both detached and joinable threads, also
412 added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
414 - wxDir class for enumerating files in a directory
415 - wxLog functions are now (more) MT-safe
416 - wxStopWatch class, timer functions have more chances to return correct
417 results for your platform (use ANSI functions where available)
418 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
419 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
421 - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
425 - Added wxImage::Rotate.
426 - new wxCalendarCtrl class for picking a date interactively
427 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu menagament
428 - wxToolBar supports arbitrary controls (not only buttons) and can be
429 dynamically changed (Delete/Insert functions)
430 - vertical toolbars supported by MSW and GTK native wxToolBar classes
431 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
432 - "file open" dialog allows selecting multiple files at once (contributed by
434 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
435 MIME types if available (Unix only)
436 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
437 - TIFF support added (libtiff required and included in the distribution)
438 - PCX files can now be written (256 and 24 bits)
439 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
440 - wxScrolledWindow now has keyboard interface
441 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
442 - added wxEncodingConverter and improved wxFontMapper
443 for dealing with convertions between different encodings,
444 charsets support in wxLocale and wxHTML
445 - wxDragImage class added
446 - samples/help improved to show standard and advanced HTML help
447 controllers, as well as native help
448 - moved wxTreeLayout class to main lib
452 - wxFrame::MakeFullScreen added.
453 - support for enhanced metafiles added, support for copying/pasting metafiles
454 (WMF and enhanced ones) fixed/added.
455 - implemented setting colours for push buttons
456 - wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be
457 positioned along the top of the screen and not only at the bottom
458 - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun)
459 - loading/saving big (> 32K) files in wxTextCtrl works
460 - tooltips work with wxRadioBox
461 - wxBitmap/wxIcon may be constructed from XPM included into a program, as in
463 - returning FALSE from OnPrintPage() aborts printing
464 - VC++ makefiles and project files made (mostly) consistent
465 - wxSetCursorEvent added
469 - wxFontMapper endless recursion bug (on some systems) fixed
470 - wxGTK synthesizes wxActivateEvents
471 - UpdateUI handlers may be used with wxTextCtrl
475 - wxMenu::Enable works
476 - wxToolBar bugs fixed
477 - OGL samples made to work again
481 - almost complete rewrite of wxHtmlHelpController,
482 including faster search, bookmarks, printing, setup dialog
483 and cross-platform binary compatible .cached files for faster
484 loading of large helpbooks, case insensitive search
485 splitted into 3 parts: wxHtmlHelpData, Frame and Controller
486 - added support for charsets and <meta> tag
487 - added support for font faces and justified paragraphs,
488 taken some steps to prepare wxHTML for frames
489 - added dynamic pushing/poping of wxHtmlParser tag handlers
490 - improved HTML printing
491 - added extensive table of HTML characters substitutions ( etc.)
492 - fixed wxHtmlWindow flickering, several minor bugfixes
493 - added some tags: <address>, <code>, <kbd>, <samp>, <small>, <big>,
494 fixed handling of relative and absolute font sizes in <font size>
497 NOTE: for changes after wxWindows 2.1.0 b4, please see the CVS
500 2.1.0, b4, May 9th 1999
501 -----------------------
505 - JPEG support added.
506 - Many fixes and changes not thought worth mentioning in this file :-)
510 - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
512 - JPEG support added.
513 - Fixes for Cygwin compilation.
514 - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
515 - Many fixes people didn't tell this file about.
522 - Some changes for Unicode support, including wxchar.h/cpp.
525 2.0.1 (release), March 1st 1999
526 -------------------------------
531 - Slider/spinbutton fixes.
535 - Fixed problems with <return> in dialogs/panels.
536 - Fixed window cursor setting.
537 - Fixed toolbar sizing and edge-clipping problems.
538 - Some makefile fixes.
546 - Added wxUSE_SOCKETS.
547 - More topic overviews.
548 - Put wxPrintPaperType, wxPrintPaperDatabase into
549 prntbase.h/cpp for use in non-PostScript situations
550 (e.g. Win16 wxPageSetupDialog).
553 Beta 5, February 18th 1999
554 --------------------------
558 - wxExecute improved.
562 - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
564 - Changed VC++ makefiles (.vc) so that it's possible to have
565 debug/release/DLL versions of the library available simultaneously,
566 with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
567 - Added BC++ 5 IDE files and instructions.
568 - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
569 - Fixed focus-related crash.
573 - Cured asynchronous wxExecute crash.
574 - Added repaint event handlers to wxFrame, wxMDIChildFrame.
578 - wxLocale documented.
579 - Added include filenames to class reference.
580 - wxHelpController API changed: SetBrowser becomes SetViewer,
581 DisplaySection works for WinHelp, help sample compiles under Windows
582 (though doesn't display help yet).
584 Beta 4, February 12th 1999
585 --------------------------
589 - Miscellaneous fixes.
593 - Makefiles for more compilers and samples; Cygwin makefiles
595 - Added VC++ project file for compiling wxWindows as DLL.
599 - Added OnEraseBackground invocation.
600 - Added wxRETAINED implementation for wxScrolledWindow.
601 - Cured scrolling display problem by adding XmUpdateDisplay.
602 - Tried to make lex-ing in the makefile more generic (command line
603 syntax should apply to both lex and flex).
604 - Changed file selector colours for consistency (except for buttons:
605 crashes for some reason).
606 - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
607 of malloc, which causes memory problems).
611 - Further doc improvements.
612 - wxGenericValidator added.
613 - Added wxImageModule to image.cpp, so adds/cleans up standard handlers
616 Beta 3, January 31st 1999
617 -------------------------
621 - wxClipboard/DnD API changes (still in progress).
622 - wxToolTip class added.
623 - Miscellaneous fixes.
627 - wxRegConfig DeleteAll bug fixed.
628 - Makefiles for more compilers.
629 - TWIN32 support added.
630 - Renamed VC++ makefiles from .nt to .vc, and
631 factored out program/library settings.
632 - Fixed wxIniConfig bug.
636 - A few more colour fixes.
637 - wxGLCanvas and OpenGL samples working.
638 - Some compiler warnings fixed.
639 - wxChoice crash fix.
640 - Dialog Editor starting to work on Motif.
644 - wxBusyCursor class added.
646 - More doc improvements, incl. expanding docs/html/index.htm.
655 - 16-bit BC++ compilation/linking works albeit without the resource system.
659 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
661 - Cured some widget table clashes.
662 - Added thread support (Robert).
663 - wxPoem sample now works.
667 - Rearranged documentation a bit.
668 - Sash window uses area of first frame/dialog to paint over when drawing
669 the dragged sash, not just the sash window itself (it clipped to the right
671 - Made resource sample use the correct Cancel button id.
672 - Moved wxProp to main library (generic directory), created proplist
674 - Added bombs and fractal samples.
676 Beta 1, December 24th 1998
677 --------------------------
683 wxMSW, wxMotif: not in sync with this release.
686 Alpha 18, December 29th 1998
687 ----------------------------
691 - Win16 support working again (VC++ 1.5)
692 - Win16 now uses generic wxNotebook, wxListCtrl,
693 wxTreeCtrl -- more or less working now, although
694 a little work on wxNotebook is still needed.
695 Under 16-bit Windows, get assertion when you click
697 - Wrote 16-bit BC++ makefiles: samples don't yet link.
698 - Added CodeWarrior support to distribution courtesy
703 - Cured scrolling problem: scrollbars now show/hide themselves
704 without (permanently) resizing the window.
705 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
706 that disabled scrollbar paging.
707 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
709 - Removed major bug whereby dialogs were unmanaged automatically
710 when any button was pressed.
711 - Fixed colours of wxWindow scrollbars, made list and text controls
712 have a white background.
713 - Fixed dialog colour setting.
714 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
715 they have sensible colours by default.
716 - Fixed a bug in wxStaticBox.
717 - Cured wxTreeCtrl bug: now works pretty well!
718 - Debugged DrawEllipticArc (a ! in the wrong place).
719 - Added SetClippingRegion( const wxRegion& region ).
720 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
722 Alpha 17, November 22nd 1998
723 ----------------------------
727 - More documentation updates, especially for
728 wxLayoutWindow classes and debugging facilities.
729 - Changed wxDebugContext to use wxDebugLog instead
731 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
732 However, DLL support may be broken for BC++ since
733 VC++ 6 required changing of WXDLLEXPORT keyword
735 - Numerous miscellaneous changes.
739 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
740 were too buggy (probably not design for dynamic addition/removal of
742 - Some improvements to the wxNotebook implementation.
743 - wxToolBar now uses a bulletin board instead of a form, in an attempt
744 to make it possible to add ordinary wxControls to a toolbar.
745 - Cured problem with not being able to use global memory operators,
746 by defining two more global operators, so that the delete will match
747 the debugging implementation.
748 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
749 global memory operators (usually OK) and #defining new to be
750 WXDEBUG_NEW (sometimes it might not be OK).
751 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
752 - Added a parent-existance check to popup menu code to make it not crash.
753 - Added some optimization in wxWindow::SetSize to produce less flicker.
754 It remains to be seen whether this produces any resize bugs.
756 It's a long time since I updated this file. Previously done:
758 - wxFrame, wxDialog done.
759 - wxScrolledWindow done (but backing pixmap not used at present).
760 - wxBitmap done though could be tidied it up at some point.
761 - Most basic controls are there, if not rigorously tested.
762 - Some MDI support (menus appear on child frames at present).
763 - wxNotebook almost done.
764 - wxToolBar done (horizontal only, which would be easy to extend
765 to vertical toolbars).
769 - Colour and font changing done (question mark over what happens
771 - Accelerators done (for menu items and buttons). Also event loop
772 tidied up in wxApp so that events are filtered through ProcessXEvent.
773 - wxWindow::GetUpdateRegion should now work.
775 Alpha 16, September 8th 1998
776 ----------------------------
780 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
782 - Guilhem's socket classes added, plus wxsocket sample.
783 - A few more makefiles added.
784 - GnuWin32/BC++ compatibility mods.
785 - Further doc updates.
786 - wxProp updates for correct working with wxGTK.
790 - First start at Motif port.
791 - Made makefiles for wxMotif source directory and minimal sample.
792 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
793 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
794 wxMenu, wxMenuItem, wxMenuBar
796 Alpha 15, August 31st 1998
797 --------------------------
802 - wxDC::GetDepth added.
803 - Contribution added whereby wxBitmap will be
804 converted to DC depth if they don't match.
805 - wxConfig API improved, documentation updated.
806 - Printing classes name conventions cleaned up.
807 - wxUpdateUIEvent now derives from wxCommandEvent
808 so event can travel up the window hierachy.
810 Alpha 14, July 31st 1998
811 ------------------------
815 - Toolbar API has been simplified, and now
816 wxFrame::GetClientArea returns the available client
817 area when toolbar, status bar etc. have been accounted for.
818 wxFrame::CreateToolBar added in line with CreateStatusBar.
819 - Documentation updates, incl. for wxToolBar.
820 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
821 - Various additions from other folk, e.g. streams, wxConfig
823 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
825 Alpha 13, July 8th 1998
826 -----------------------
830 - Implemented wxPoint as identical to POINT on Windows, and
831 altered wxDC wxPoint functions to use wxPoint directly in
832 Windows functions, for efficiency.
833 - Cured wxASSERT bug in wxStatusBar95.
834 - #ifdefed out some bits in oleutils.cpp for compilers that
836 - Added some operators to wxPoint, wxSize.
837 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
839 Alpha 12, July 7th 1998
840 -----------------------
844 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
845 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
847 Alpha 11, July 3rd 1998
848 -----------------------
852 - Added thread.h, thread.cpp.
853 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
855 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
856 SetTextColor to SetTextColour, and added or made public several
857 wxMenuItem accessors.
858 - Added two overloads to wxRegion::Contains. Added
859 wxRegion::IsEmpty for a more consistent naming convention.
860 - Added Vadim's wxDataObject and wxDropSource.
861 - ENTER/LEAVE events now work.
862 - Cured wxMemoryDC bug where the DC wasn't being deleted.
863 - Cured wxGauge SetSize major bugginess.
864 - Cured problem where if a GDI object was created on the stack,
865 then went out of scope, then another object was selected into
866 the DC, GDI objects would leak. This is because the assignment
867 to e.g. wxDC::m_pen would delete the GDI object without it first
868 being selected out of the DC. Cured by selecting the old DC object
869 first, then doing the assignment.
870 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
871 - Various other bug fixes and additions.
875 - Major work on Dialog Editor (still plenty to go).
876 - Expanded documentation a bit more.
878 Alpha 10, May 7th 1998
879 ----------------------
883 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
884 and wxIcon functions so that you can specify what size of
885 icon should be loaded. Probably will remain a Windows-specific thing.
886 - wxStatusBar95 now works for MDI frames.
887 - Toolbars in MDI frames now behave normally. They still
888 require application-supplied positioning code though.
889 - Changed installation instructions, makefiles and batch files
890 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
891 change to support Mingw32/EGCS. Bison now used by default.
893 Alpha 9, April 27th 1998
894 ------------------------
898 - Cured bug in wxStatusBar95 that caused a crash if multiple
900 - Added Gnu-Win32 b19/Mingw32 support by changing resource
901 compilation and pragmas.
902 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
903 commands because VZ changed the id setting in wxMenu::MSWCommand.
907 - Corrected some bugs, such as the wxModule compilation problem.
908 - Added Gnu-Win32 b19/Mingw32 support by changing resource
909 compilation and pragmas.
910 - Changed SIZEOF to WXSIZEOF.
912 Alpha 8, April 17th 1998
913 ------------------------
917 - Added IsNull to wxGDIObject to check if the ref data is present or not.
918 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
920 - Added wxJoystick class and event handling, and simple demo.
921 - Added simple wxWave class. Needs Stop() function.
922 - Added wxModule (module.h/module.cpp) to allow definition
923 of modules to be initialized and cleaned up on wxWindows
925 - Start of Mingw32 compatibility (see minimal and dialogs samples
926 makefile.m95 files, and install.txt).
927 - Note: Windows printing has stopped working... will investigate.
929 - Updated wxString: bug fixes, added wxArrayString, some
930 compatibility functions.
931 - Updated log.h/cpp, added wxApp::CreateLogTarget.
932 - file.h: new wxTempFile class.
933 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
934 - statbr95: wxStatusBar95 control.
935 - registry.h/cpp: wxRegKey class for Win95 registry.
936 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
937 - wxConfig and wxFileConfig classes.
941 - Added src/other/png, src/other/zlib directories.
943 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
944 Porters, please check particularly your wxTreeCtrl and wxListCtrl
946 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
948 Alpha 7, March 30th 1998
949 ------------------------
953 - Added tab classes, tab sample.
954 - Now can return FALSE from OnInit and windows will be
955 cleaned up properly before exit.
956 - Improved border handling so panels don't get borders
958 - Debugged MDI activation from Window menu.
959 - Changes to memory debug handling, including checking for
960 memory leaks on application exit - but see issues.txt for
962 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
963 to allow maintenance of an icon in the Windows 95 taskbar
965 - Got MFC sample working (MFC and wxWindows in the same
966 application), partly by tweaking ntwxwin.mak settings.
967 - Got DLL compilation working again (VC++).
968 - Changed wxProp/Dialog Editor filenames.
972 - Added tab classes, tab sample.
973 - Revised memory.cpp, memory.h slightly; memory.h now #defines
974 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
975 now checks for leaks on exit. Added memcheck sample.
976 See src/msw/issues.txt for more details.
977 - resource.h, resource.cpp changed to make wxDefaultResourceTable
978 a pointer. Now initialize resource system with
979 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
980 allow better control of memory.
981 - wxString now derives from wxObject, to enable memory leak
983 - Added some #include fixes in various files, plus changed
984 float to long in wxToolBar files.
986 Alpha 6, March 10th 1998
987 ------------------------
991 - Found stack error bug - stopped unwanted OnIdle recursion.
992 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
993 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
994 check if the number of top-level windows is zero before
995 exiting. Also, wxApp::GetTopWindow will return either
996 m_topWindow or the first member of wxTopLevelWindows, so you
997 don't have to call wxApp::SetTopWindow.
998 - Added dynarray.h/dynarray.cpp (from Vadim).
999 - Added first cut at OLE drag and drop (from Vadim). dnd sample
1000 added. Drop target only at this stage. See src/msw/ole/*.cpp,
1001 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
1002 Doesn't work with GnuWin32 - no appropriate headers e.g. for
1004 Doesn't work with BC++ either - crashes on program startup.
1005 - Added Vadim's owner-draw modifications - will probably remain
1006 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
1007 - Added wxLB_OWNERDRAW for owner-draw listboxes.
1008 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
1009 Doesn't entirely work for WIN16.
1010 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
1011 can also be used as an argument to wxMenu::Append, not just for
1012 internal implementation.
1013 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
1014 in makeg95.env, together with mingw32.bat). However, resource
1015 binding is not working yet so most apps with dialogs crash.
1019 - Added Vadim's dynarray.h, dynarray.cpp.
1020 - Added Vadim's menuitem.cpp.
1021 - Added Windows-specific wxCheckListBox,
1022 owner-draw wxListBox, and drag-and-drop
1023 (see docs/msw/changes.txt).
1025 Alpha 5, 14th February 1998
1026 --------------------------
1030 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1031 DISTRIBUTIONS. This change log will therefore now refer to
1032 the Windows-specific code only. See docs/changes.txt for generic
1034 - Removed Windows-specific reference counting system (GDI
1035 resources were cleaned up in idle time) - minimal
1036 advantages now we have a wxWin reference counting system.
1037 - Added missing WXDLLEXPORT keywords so DLL compilation works
1039 - Removed most warnings for GnuWin32 compilation.
1040 - Added wxRegion/wxRegionIterator, but haven't yet used it in
1045 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1046 DISTRIBUTIONS. This change log will therefore now refer to
1047 the generic code only. See docs/msw/changes.txt for Windows-specific
1049 - Readmes, change logs and installation files now go in
1050 platform-specific directories under docs, e.g. docs/msw,
1052 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
1053 created dynamically, not as a global object.
1054 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
1055 - Changed names of some include/wx/generic headers to be
1056 consistent and to conform to gcc pragma conventions. Also
1057 changed choicesg.cpp to choicdgg.cpp.
1058 - Added gcc pragmas.
1059 - Added gtk inclusion in include/wx headers.
1060 - Added consistent file headings to source and headers.
1061 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
1062 added a few references to wxTransString.
1063 - Added operator to wxTransString that converts automatically
1064 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
1065 - samples/internat now works (minimally).
1066 - Added wxMouseEvent::GetPosition and
1067 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
1068 - Made wxSize and wxRect contain longs not ints.
1069 - Cured some lemory leaks (thanks Vadim).
1070 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
1071 will only keep processing OnIdle if it returns TRUE from
1074 Alpha 4, 31st January 1998
1075 --------------------------
1079 - Changed wxDC functions to take longs instead of floats. GetSize now takes
1080 integer pointers, plus a version that returns a wxSize.
1081 - const keyword added to various wxDC functions.
1082 - Under Windows, wxDC no longer has any knowledge of whether
1083 an associated window is scrolled or not. Instead, the device
1084 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
1085 - wxScrolledWindow applications can optionally override the virtual OnDraw
1086 function instead of using the OnPaint event handler. The wxDC passed to
1087 OnDraw will be translated by PrepareDC to reflect scrolling.
1088 When drawing outside of OnDraw, must call PrepareDC explicitly.
1089 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
1091 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
1092 to help printing with multiple pages.
1093 - IPC classes given base classes (wxConnectionBase etc.) which
1094 define the API used by different implementations. DDE
1095 implementation updated to use these base classes.
1096 - wxHelpInstance now separated into wxHelpControllerBase (base
1097 for all implementations), wxWinHelpController (uses standard
1098 WinHelp), wxXLPHelPController (talks to wxHelp by DDE or
1099 TCP/IP). There will be others eventually, such as
1100 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
1101 - Added Vadim Zeitlin's wxString class plus
1102 internationalization code (gettext simulation, wxLocale, etc.).
1103 New files from Vadim:
1109 src\common\string.cpp
1113 No longer use GNU wxString files.
1114 - Split off file-related functions into include\wx\filefn.h and
1115 src\common\filefn.cpp.
1116 - Borland C++ support (WIN32) for main library and
1117 samples, using makefile.b32 files.
1118 - Preparation done for allowing BC++ to compile wxWin as a DLL,
1119 including changes to defs.h.
1120 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
1122 - Added wxShowEvent (generated when window is being shown or
1124 - Got minimal, docview, mdi samples working for 16-bit VC++ and
1125 cured 16-bit problem with wxTextCtrl (removed global memory
1127 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
1129 Alpha 3, September 1997
1130 -----------------------
1134 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
1135 - Instigated new file hierarchy, split files and classes up more logically.
1136 - PrologIO and some other utils now put into core library.
1137 - Revamped print/preview classes, added wxPageSetupDialog.
1138 - Started documentation.
1140 Alpha 2, 30th April 1997
1141 ------------------------
1145 - EVT_... macros now have at least one argument, for conformance
1146 with MetroWerks compiler.
1147 - Added ids to .wxr file format.
1148 - Got Dialog Editor compiled and running again but need
1149 to extend functionality to be in line with new controls.
1150 Added dialoged\test app to allow dynamic loading of .wxr files
1151 for testing purposes.
1152 - Rewrote wxBitmap to allow installable file type
1154 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
1155 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
1157 - Added back wxRadioBox.
1158 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
1161 Alpha 1, 5th April 1997
1162 -----------------------
1166 At this point, the following has been achieved:
1168 - A lot, but not all, of the code has been revamped for better
1169 naming conventions, protection of data members, and use of
1170 wxString instead of char *.
1171 - Obsolete functionality deleted (e.g. default wxPanel layout,
1172 old system event system) and code size reduced.
1173 - Class hierarchy changed (see design doc) - base classes such
1174 as wxbWindow now removed.
1175 - No longer includes windows.h in wxWin headers, by using stand-in
1176 Windows types where needed e.g. WXHWND.
1178 - wxScrolledWindow, wxStatusBar and new MDI classes added.
1179 MDI is now achived using separate classes, not window styles.
1180 - wxSystemSettings added, and made use of to reflect standard
1182 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
1183 settings mucho rationalised.
1184 - All windows are now subclassed with the same window proc to make
1185 event handling far more consistent. Old internal wxWnd and derived
1187 - API for controls revised, in particular addition of
1188 wxValidator parameters and removal of labels for some controls.
1189 - 1 validator written: see examples/validate.
1190 - Event table system introduced (see most samples and
1191 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
1192 made more flexible, with Push/PopEventHandler allowing a chain
1194 - wxRadioBox removed - will be added back soon.
1195 - Toolbar class hierarchy revised:
1197 wxToolBarSimple (= old wxToolBar)
1198 wxToolBar95 (= old wxButtonBar under Win95
1199 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
1200 - Constraint system debugged somewhat (sizers now work properly).
1201 - wxFileDialog, wxDirDialog added; other common dialogs now
1202 have class equivalents. Generic colour and font dialogs
1203 rewritten to not need obsolete panel layout.
1204 - .wxr resource system partially reinstated, though needs
1205 an integer ID for controls. Hopefully the resource system
1206 will be replaced by something better and more efficient
1208 - Device contexts no longer stored with window and accessed
1209 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
1211 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
1212 determines whether labels are shown. Other Win95-specific flags
1213 introduced, e.g. for showing ticks.
1214 - Styles introduced for dealing with 3D effects per window, for
1215 any window: all Win95 3D effects supported, plus transparent windows.
1216 - Major change to allow 3D effect support without CTL3D, under
1218 - Bitmap versions of button and checkbox separated out into new
1219 classes, but unimplemented as yet because I intend to remove
1220 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
1221 - utils/wxprop classes working (except maybe wxPropertyFormView)
1222 in preparation for use in Dialog Editor.
1223 - GNU-WIN32 compilation verified (a month or so ago).