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 - wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO
31 have changed (to fix some unfortunate clashes), please check your code to
32 ensure that no tests for wxYES or wxNO are broken: for example, the following
33 will *NOT* work any longer:
35 if ( flags & wxYES_NO )
38 ... do something else ...
40 - wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
42 - wxGridCellAttrProvider class API changed, you will need to update your code
43 if you derived any classes from it
47 - build system changed: setup.h is not a static file in include/wx any more
48 but is created as part of the build process under lib/<toolkit>/wx/include
49 where <toolkit> is of the form (msw|univ)[dll][u][d]. You'll need to update
50 the include path in your make/project files appropriately.
52 - child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR
53 style to avoid it, wxFRAME_FLOAT_ON_PARENT style is now obsolete and has no
58 - You should use `wx-config --cxxflags` in your makefiles instead of
59 `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS
60 and the compiler flags for C++ files only, CFLAGS should still be used
61 to compile pure C files.
68 - fixes to the command line parsing error and usage messages
69 - modified wxFileName::CreateTempFileName() to open the file atomically
70 (if possible) and, especially, not to leak the file descriptors under Unix
74 - fixed using custom renderers in wxGrid which was broken in 2.3.2
75 - support for multiple images in one file added to wxImage (TIFF and ICO formats)
76 - support for CUR files in wxImage added (Chris Elliott)
80 - huge (40*) speed up in wxMask::Create() (=> much faster toolbar creation)
81 - fixed flicker in wxTreeCtrl::SetItemXXX()
82 - fixed redraw problems in dynamically resized wxStaticText
83 - fixed wxProgressDialog for ranges > 65535
84 - wxFontEnumerator now returns all fonts, not only TrueType ones
89 New port: wxUniv for Win32/GTK+ is now included in the distribution.
94 - wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber)
95 - wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen)
96 - more fixes to wxMBConv classes. Conversion to and from wchar_t now works with
97 glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s
98 capabilities at runtime instead of in the configure script.
102 - support for virtual list control added
103 - column images in report mode of the list control
104 - wxFindReplaceDialog added (based on work of Markus Greither)
105 - wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK)
106 - polygon support in wxRegion (Klaas Holwerda)
107 - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added
108 - fixed bug with using wxExecute() to capture huge amounts of output
109 - new wxCalendarCtrl styles added (Søren Erland Vestø)
110 - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh)
111 - wxDirSelector() added (Paul A. Thiessen)
112 - wxGrid cell editing veto support (Roger Gammans)
113 - wxListCtrl ITEM_FOCUSED event added
114 - support for ICO files in wxImage added (Chris Elliott)
118 - support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook)
119 - new library naming convention under VC++ -- please change your application
124 - fixed popup menu positioning bug
128 - new HTML parser with correct parsing of character entities and fixes
130 - added support for animated GIFs
138 - Fixed new charset detection code
139 - ODBC Informix fixes (submitted by Roger Gammans)
140 - Added ODBC date support to wxVariant
141 - Added wxDir::Traverse
142 - Added wxSingleInstanceChecker class
143 - Removed redundant wxDebugContext functions using C++ streams,
144 so now standard stream usage should be unnecessary
148 - Added wxDbGrid class for displaying ODBC tables
149 - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the
150 user code can get access to the edit control when it is created, (to
151 push on a custom event handler for example)
152 - Added wxTextAttr class and SetStyle, SetDefaultStyle and
153 GetDefaultStyle methods to wxTextCtrl
154 - Added wxSingleInstanceChecker
155 - Improvements to Tex2RTF
156 - Added Paul and Roger Gammans' grid controls
157 - Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
159 - Fixed memory leak in textcmn.cpp
160 - Various wxXML enhancements
161 - Removed wxCLIP_CHILDREN style from wxSplitterWindow
162 - Fixed memory leak in DoPrint, htmprint.cpp
163 - Fixed calendar sample bug with using wxCommandEvent::GetInt()
165 - Added wxDbGrid combining wxODBC classes with wxGrid
166 - Added more makefiles and project files for contrib hierarchy
170 - Fixed wxApp::ProcessMessage so controls don't lose their
171 accelerators when the accelerators are redefined elsewhere
172 - Accelerators consisting of simple keystrokes (without control,
173 alt or shift) now work
174 - Compile fixes for Watcom C++ added
175 - Compile fixes for Cygwin 1.0 added
176 - Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop()
177 - Replaced wxYield() call in PopupMenu() by a much safer
178 wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones
179 - Enter processing in wxSpinCtrl fixed
180 - Fixed bug in determining the best listbox size
181 - Fix for wxFrame's last focus bug
182 - We now send iconize events
183 - Fixed wxFrame::SetClientSize() with toolbar bug
184 - Added mousewheel processing
185 - Added wxSystemSettings::Get/SetOption so we can configure
186 wxWindows at run time; used this to implement no-maskblt option
188 - Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
189 child frame styles are honoured
193 - Fixed slider rounding bug
194 - Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
195 - We now send iconize events
196 - Fix for discrepancies between wxNotebookEvent and wxNotebook
197 GetSelection() results
204 - fixed problem with wxURL when using static version of the library
205 - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories
206 - wxMimeTypesManager now can create file associations too (Chris Elliott)
207 - wxCopyFile() respects the file permissions (Roland Scholz)
208 - wxFTP::GetFileSize() added (Søren Erland Vestø)
209 - wxDateTime::IsSameDate() bug fixed
210 - wxTimeSpan::Format() now behaves more as expected, see docs
211 - wxLocale now provides much more convenient API for setting language and
212 detecting current system language. New API is more abstracted and truly
213 cross-platform, independent of underlying C runtime library.
217 - new wxToggleButton class (John Norris, Axel Schlueter)
218 - wxCalendarCtrl not highlighting the date with time part bug fixed
219 - wxADJUST_MINSIZE sizer flag added
220 - FindOrCreateBrush/Pen() bug fix for invalid colour values
221 - new wxXPMHandler for reading and writing XPM images
222 - added new (now recommended) API for conversion between wxImage and wxBitmap
223 (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of
224 wxImage methods and ctor)
225 - ODBC classes now support DB2, Interbase, and Pervasive SQL
226 - ODBC documentation complete!!
227 - ODBC classes have much Unicode support added, but not complete
228 - ODBC experimental BLOB support added, but not completely tested
229 - ODBC NULL column support completed (Roger/Paul Gammans)
230 - ODBC All "char *" and char arrays removed and replaced with wxString use
234 - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen)
235 - fixed bug in MDI children flags (mis)handling
236 - it is possible to compile wxCHMHelpController with compilers
237 other than Visual C++ now and hhctrl.ocx is loaded at runtime
241 - added support for wchar_t (wxUSE_WCHAR_T) under Unix
245 - mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup
246 - visual enhancements to contents panel of wxHtmlHelpController
253 - Fixed bug with directories with trailing (back)slashes in wxPathExists
254 - wxString: added wxArrayString::operator==() and !=()
255 - Fixes for wxCmdLineParser
256 - Added wxGetLocalTimeMillis
257 - Completed Czech translations
258 - Some stream corrections
259 - added missing consts to wxPoint operators
260 - wxDateTime ParseFormat fixes
261 - wxFile::Open(write_append) will create file if it doesn't exist
262 - small fixes to MIME mailcap test command handling, more MIME tests in the sample
266 - wxGenericDragImage now allows virtual image drawing, and
267 flicker-free dragging is now possible
268 - Added wxPrinter::GetLastError
269 - Fixed wxLogGui reentrancy problem
270 - Paper names now translated
272 - Generic validator now caters for more cases (integers in
273 wxTextCtrl, strings in wxChoice, wxComboBox)
274 - Fixed crash when docview On... functions return FALSE. Show
275 error message when an non-existent filename is typed into the Open
277 - Corrected Baltic font encoding handling
278 - wxImage: enhanced TIFF code, added new platform-independent BMP
280 - wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
281 - Fixed wxPropertyForm crashes in sample
282 - wxWizard now calls TransferDataFromWindow() before calling
283 wxWizardPage::GetNext() fixing an obvious bug
287 - wxWindow::GetCharWidth/Height now calculated accurately.
288 This will affect all .wxr dialog resources, so for
289 backward compatibility, please set
290 wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h
291 - wxListCtrl: set item text in LIST_ITEM_ACTIVATED events
292 - wxTextCtrl: implemented setting colours for rich edit controls
293 - wxColour now accepts both grey and gray
294 - BC++ DLL compilation fixed
295 - Watcom C++ makefiles improved for JPEG and TIFF compilation
296 - Fixed submenu accelerator bug
297 - Fixed dialog focus bug (crash if the previous window to have
298 the focus was destroyed before the dialog closed)
299 - Too-small default wxTextCtrl height fixed
300 - fixed "missing" initial resize of wxMDIChildFrame
301 - wxFrame restores focus better
302 - Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to
303 frames anddialogs, interferes with other window styles otherwise
304 (sometimes you'd get a thick frame in a subwindow)
305 - wxTextCtrl insertion point set to the beginning of the control by SetValue
306 - Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
307 - wxFileDialog: adjusts struct size if there's an error (struct
308 sizes can be different on different versions of Windows)
309 - wxImageList::GetSize() documented and added to wxMSW
310 - fixed default dialog style to make them non resizeable again
311 - fixed wxFrame::IsShown() which always returned TRUE before
315 - Please see docs/gtk/changes.txt.
319 - Small compilation fixes
335 - Added wxCHMHelpController, for invoking MS HTML Help
336 files. This works under VC++ only
337 - Modal dialog handling improved
338 - Printer dialog now modal
353 - Added docs/tech for technical notes
357 - Started new contrib hierarchy that mirrors
358 the main lib structure; moved OGL and MMedia into it
363 - wxDateTime replaces and extends old wxDate and wxTime classes (still
364 available but strongly deprecated) with many new features
365 - wxLongLong class provides support for (signed) 64 bit integers
366 - wxCmdLineParser class for parsing the command line (supporting short and
367 long options, switches and parameters of different types)
368 - it is now possible to build wxBase under Win32 (using VC++ only so far)
369 and BeOS (without thread support yet)
370 - wxThread class modified to support both detached and joinable threads, also
371 added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
373 - wxDir class for enumerating files in a directory
374 - wxLog functions are now (more) MT-safe
375 - wxStopWatch class, timer functions have more chances to return correct
376 results for your platform (use ANSI functions where available)
377 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
378 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
380 - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
384 - Added wxImage::Rotate.
385 - new wxCalendarCtrl class for picking a date interactively
386 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu menagament
387 - wxToolBar supports arbitrary controls (not only buttons) and can be
388 dynamically changed (Delete/Insert functions)
389 - vertical toolbars supported by MSW and GTK native wxToolBar classes
390 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
391 - "file open" dialog allows selecting multiple files at once (contributed by
393 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
394 MIME types if available (Unix only)
395 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
396 - TIFF support added (libtiff required and included in the distribution)
397 - PCX files can now be written (256 and 24 bits)
398 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
399 - wxScrolledWindow now has keyboard interface
400 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
401 - added wxEncodingConverter and improved wxFontMapper
402 for dealing with convertions between different encodings,
403 charsets support in wxLocale and wxHTML
404 - wxDragImage class added
405 - samples/help improved to show standard and advanced HTML help
406 controllers, as well as native help
407 - moved wxTreeLayout class to main lib
411 - wxFrame::MakeFullScreen added.
412 - support for enhanced metafiles added, support for copying/pasting metafiles
413 (WMF and enhanced ones) fixed/added.
414 - implemented setting colours for push buttons
415 - wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be
416 positioned along the top of the screen and not only at the bottom
417 - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun)
418 - loading/saving big (> 32K) files in wxTextCtrl works
419 - tooltips work with wxRadioBox
420 - wxBitmap/wxIcon may be constructed from XPM included into a program, as in
422 - returning FALSE from OnPrintPage() aborts printing
423 - VC++ makefiles and project files made (mostly) consistent
424 - wxSetCursorEvent added
428 - wxFontMapper endless recursion bug (on some systems) fixed
429 - wxGTK synthesizes wxActivateEvents
430 - UpdateUI handlers may be used with wxTextCtrl
434 - wxMenu::Enable works
435 - wxToolBar bugs fixed
436 - OGL samples made to work again
440 - almost complete rewrite of wxHtmlHelpController,
441 including faster search, bookmarks, printing, setup dialog
442 and cross-platform binary compatible .cached files for faster
443 loading of large helpbooks, case insensitive search
444 splitted into 3 parts: wxHtmlHelpData, Frame and Controller
445 - added support for charsets and <meta> tag
446 - added support for font faces and justified paragraphs,
447 taken some steps to prepare wxHTML for frames
448 - added dynamic pushing/poping of wxHtmlParser tag handlers
449 - improved HTML printing
450 - added extensive table of HTML characters substitutions ( etc.)
451 - fixed wxHtmlWindow flickering, several minor bugfixes
452 - added some tags: <address>, <code>, <kbd>, <samp>, <small>, <big>,
453 fixed handling of relative and absolute font sizes in <font size>
456 NOTE: for changes after wxWindows 2.1.0 b4, please see the CVS
459 2.1.0, b4, May 9th 1999
460 -----------------------
464 - JPEG support added.
465 - Many fixes and changes not thought worth mentioning in this file :-)
469 - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
471 - JPEG support added.
472 - Fixes for Cygwin compilation.
473 - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
474 - Many fixes people didn't tell this file about.
481 - Some changes for Unicode support, including wxchar.h/cpp.
484 2.0.1 (release), March 1st 1999
485 -------------------------------
490 - Slider/spinbutton fixes.
494 - Fixed problems with <return> in dialogs/panels.
495 - Fixed window cursor setting.
496 - Fixed toolbar sizing and edge-clipping problems.
497 - Some makefile fixes.
505 - Added wxUSE_SOCKETS.
506 - More topic overviews.
507 - Put wxPrintPaperType, wxPrintPaperDatabase into
508 prntbase.h/cpp for use in non-PostScript situations
509 (e.g. Win16 wxPageSetupDialog).
512 Beta 5, February 18th 1999
513 --------------------------
517 - wxExecute improved.
521 - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
523 - Changed VC++ makefiles (.vc) so that it's possible to have
524 debug/release/DLL versions of the library available simultaneously,
525 with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
526 - Added BC++ 5 IDE files and instructions.
527 - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
528 - Fixed focus-related crash.
532 - Cured asynchronous wxExecute crash.
533 - Added repaint event handlers to wxFrame, wxMDIChildFrame.
537 - wxLocale documented.
538 - Added include filenames to class reference.
539 - wxHelpController API changed: SetBrowser becomes SetViewer,
540 DisplaySection works for WinHelp, help sample compiles under Windows
541 (though doesn't display help yet).
543 Beta 4, February 12th 1999
544 --------------------------
548 - Miscellaneous fixes.
552 - Makefiles for more compilers and samples; Cygwin makefiles
554 - Added VC++ project file for compiling wxWindows as DLL.
558 - Added OnEraseBackground invocation.
559 - Added wxRETAINED implementation for wxScrolledWindow.
560 - Cured scrolling display problem by adding XmUpdateDisplay.
561 - Tried to make lex-ing in the makefile more generic (command line
562 syntax should apply to both lex and flex).
563 - Changed file selector colours for consistency (except for buttons:
564 crashes for some reason).
565 - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
566 of malloc, which causes memory problems).
570 - Further doc improvements.
571 - wxGenericValidator added.
572 - Added wxImageModule to image.cpp, so adds/cleans up standard handlers
575 Beta 3, January 31st 1999
576 -------------------------
580 - wxClipboard/DnD API changes (still in progress).
581 - wxToolTip class added.
582 - Miscellaneous fixes.
586 - wxRegConfig DeleteAll bug fixed.
587 - Makefiles for more compilers.
588 - TWIN32 support added.
589 - Renamed VC++ makefiles from .nt to .vc, and
590 factored out program/library settings.
591 - Fixed wxIniConfig bug.
595 - A few more colour fixes.
596 - wxGLCanvas and OpenGL samples working.
597 - Some compiler warnings fixed.
598 - wxChoice crash fix.
599 - Dialog Editor starting to work on Motif.
603 - wxBusyCursor class added.
605 - More doc improvements, incl. expanding docs/html/index.htm.
614 - 16-bit BC++ compilation/linking works albeit without the resource system.
618 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
620 - Cured some widget table clashes.
621 - Added thread support (Robert).
622 - wxPoem sample now works.
626 - Rearranged documentation a bit.
627 - Sash window uses area of first frame/dialog to paint over when drawing
628 the dragged sash, not just the sash window itself (it clipped to the right
630 - Made resource sample use the correct Cancel button id.
631 - Moved wxProp to main library (generic directory), created proplist
633 - Added bombs and fractal samples.
635 Beta 1, December 24th 1998
636 --------------------------
642 wxMSW, wxMotif: not in sync with this release.
645 Alpha 18, December 29th 1998
646 ----------------------------
650 - Win16 support working again (VC++ 1.5)
651 - Win16 now uses generic wxNotebook, wxListCtrl,
652 wxTreeCtrl -- more or less working now, although
653 a little work on wxNotebook is still needed.
654 Under 16-bit Windows, get assertion when you click
656 - Wrote 16-bit BC++ makefiles: samples don't yet link.
657 - Added CodeWarrior support to distribution courtesy
662 - Cured scrolling problem: scrollbars now show/hide themselves
663 without (permanently) resizing the window.
664 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
665 that disabled scrollbar paging.
666 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
668 - Removed major bug whereby dialogs were unmanaged automatically
669 when any button was pressed.
670 - Fixed colours of wxWindow scrollbars, made list and text controls
671 have a white background.
672 - Fixed dialog colour setting.
673 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
674 they have sensible colours by default.
675 - Fixed a bug in wxStaticBox.
676 - Cured wxTreeCtrl bug: now works pretty well!
677 - Debugged DrawEllipticArc (a ! in the wrong place).
678 - Added SetClippingRegion( const wxRegion& region ).
679 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
681 Alpha 17, November 22nd 1998
682 ----------------------------
686 - More documentation updates, especially for
687 wxLayoutWindow classes and debugging facilities.
688 - Changed wxDebugContext to use wxDebugLog instead
690 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
691 However, DLL support may be broken for BC++ since
692 VC++ 6 required changing of WXDLLEXPORT keyword
694 - Numerous miscellaneous changes.
698 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
699 were too buggy (probably not design for dynamic addition/removal of
701 - Some improvements to the wxNotebook implementation.
702 - wxToolBar now uses a bulletin board instead of a form, in an attempt
703 to make it possible to add ordinary wxControls to a toolbar.
704 - Cured problem with not being able to use global memory operators,
705 by defining two more global operators, so that the delete will match
706 the debugging implementation.
707 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
708 global memory operators (usually OK) and #defining new to be
709 WXDEBUG_NEW (sometimes it might not be OK).
710 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
711 - Added a parent-existance check to popup menu code to make it not crash.
712 - Added some optimization in wxWindow::SetSize to produce less flicker.
713 It remains to be seen whether this produces any resize bugs.
715 It's a long time since I updated this file. Previously done:
717 - wxFrame, wxDialog done.
718 - wxScrolledWindow done (but backing pixmap not used at present).
719 - wxBitmap done though could be tidied it up at some point.
720 - Most basic controls are there, if not rigorously tested.
721 - Some MDI support (menus appear on child frames at present).
722 - wxNotebook almost done.
723 - wxToolBar done (horizontal only, which would be easy to extend
724 to vertical toolbars).
728 - Colour and font changing done (question mark over what happens
730 - Accelerators done (for menu items and buttons). Also event loop
731 tidied up in wxApp so that events are filtered through ProcessXEvent.
732 - wxWindow::GetUpdateRegion should now work.
734 Alpha 16, September 8th 1998
735 ----------------------------
739 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
741 - Guilhem's socket classes added, plus wxsocket sample.
742 - A few more makefiles added.
743 - GnuWin32/BC++ compatibility mods.
744 - Further doc updates.
745 - wxProp updates for correct working with wxGTK.
749 - First start at Motif port.
750 - Made makefiles for wxMotif source directory and minimal sample.
751 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
752 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
753 wxMenu, wxMenuItem, wxMenuBar
755 Alpha 15, August 31st 1998
756 --------------------------
761 - wxDC::GetDepth added.
762 - Contribution added whereby wxBitmap will be
763 converted to DC depth if they don't match.
764 - wxConfig API improved, documentation updated.
765 - Printing classes name conventions cleaned up.
766 - wxUpdateUIEvent now derives from wxCommandEvent
767 so event can travel up the window hierachy.
769 Alpha 14, July 31st 1998
770 ------------------------
774 - Toolbar API has been simplified, and now
775 wxFrame::GetClientArea returns the available client
776 area when toolbar, status bar etc. have been accounted for.
777 wxFrame::CreateToolBar added in line with CreateStatusBar.
778 - Documentation updates, incl. for wxToolBar.
779 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
780 - Various additions from other folk, e.g. streams, wxConfig
782 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
784 Alpha 13, July 8th 1998
785 -----------------------
789 - Implemented wxPoint as identical to POINT on Windows, and
790 altered wxDC wxPoint functions to use wxPoint directly in
791 Windows functions, for efficiency.
792 - Cured wxASSERT bug in wxStatusBar95.
793 - #ifdefed out some bits in oleutils.cpp for compilers that
795 - Added some operators to wxPoint, wxSize.
796 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
798 Alpha 12, July 7th 1998
799 -----------------------
803 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
804 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
806 Alpha 11, July 3rd 1998
807 -----------------------
811 - Added thread.h, thread.cpp.
812 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
814 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
815 SetTextColor to SetTextColour, and added or made public several
816 wxMenuItem accessors.
817 - Added two overloads to wxRegion::Contains. Added
818 wxRegion::IsEmpty for a more consistent naming convention.
819 - Added Vadim's wxDataObject and wxDropSource.
820 - ENTER/LEAVE events now work.
821 - Cured wxMemoryDC bug where the DC wasn't being deleted.
822 - Cured wxGauge SetSize major bugginess.
823 - Cured problem where if a GDI object was created on the stack,
824 then went out of scope, then another object was selected into
825 the DC, GDI objects would leak. This is because the assignment
826 to e.g. wxDC::m_pen would delete the GDI object without it first
827 being selected out of the DC. Cured by selecting the old DC object
828 first, then doing the assignment.
829 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
830 - Various other bug fixes and additions.
834 - Major work on Dialog Editor (still plenty to go).
835 - Expanded documentation a bit more.
837 Alpha 10, May 7th 1998
838 ----------------------
842 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
843 and wxIcon functions so that you can specify what size of
844 icon should be loaded. Probably will remain a Windows-specific thing.
845 - wxStatusBar95 now works for MDI frames.
846 - Toolbars in MDI frames now behave normally. They still
847 require application-supplied positioning code though.
848 - Changed installation instructions, makefiles and batch files
849 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
850 change to support Mingw32/EGCS. Bison now used by default.
852 Alpha 9, April 27th 1998
853 ------------------------
857 - Cured bug in wxStatusBar95 that caused a crash if multiple
859 - Added Gnu-Win32 b19/Mingw32 support by changing resource
860 compilation and pragmas.
861 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
862 commands because VZ changed the id setting in wxMenu::MSWCommand.
866 - Corrected some bugs, such as the wxModule compilation problem.
867 - Added Gnu-Win32 b19/Mingw32 support by changing resource
868 compilation and pragmas.
869 - Changed SIZEOF to WXSIZEOF.
871 Alpha 8, April 17th 1998
872 ------------------------
876 - Added IsNull to wxGDIObject to check if the ref data is present or not.
877 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
879 - Added wxJoystick class and event handling, and simple demo.
880 - Added simple wxWave class. Needs Stop() function.
881 - Added wxModule (module.h/module.cpp) to allow definition
882 of modules to be initialized and cleaned up on wxWindows
884 - Start of Mingw32 compatibility (see minimal and dialogs samples
885 makefile.m95 files, and install.txt).
886 - Note: Windows printing has stopped working... will investigate.
888 - Updated wxString: bug fixes, added wxArrayString, some
889 compatibility functions.
890 - Updated log.h/cpp, added wxApp::CreateLogTarget.
891 - file.h: new wxTempFile class.
892 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
893 - statbr95: wxStatusBar95 control.
894 - registry.h/cpp: wxRegKey class for Win95 registry.
895 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
896 - wxConfig and wxFileConfig classes.
900 - Added src/other/png, src/other/zlib directories.
902 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
903 Porters, please check particularly your wxTreeCtrl and wxListCtrl
905 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
907 Alpha 7, March 30th 1998
908 ------------------------
912 - Added tab classes, tab sample.
913 - Now can return FALSE from OnInit and windows will be
914 cleaned up properly before exit.
915 - Improved border handling so panels don't get borders
917 - Debugged MDI activation from Window menu.
918 - Changes to memory debug handling, including checking for
919 memory leaks on application exit - but see issues.txt for
921 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
922 to allow maintenance of an icon in the Windows 95 taskbar
924 - Got MFC sample working (MFC and wxWindows in the same
925 application), partly by tweaking ntwxwin.mak settings.
926 - Got DLL compilation working again (VC++).
927 - Changed wxProp/Dialog Editor filenames.
931 - Added tab classes, tab sample.
932 - Revised memory.cpp, memory.h slightly; memory.h now #defines
933 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
934 now checks for leaks on exit. Added memcheck sample.
935 See src/msw/issues.txt for more details.
936 - resource.h, resource.cpp changed to make wxDefaultResourceTable
937 a pointer. Now initialize resource system with
938 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
939 allow better control of memory.
940 - wxString now derives from wxObject, to enable memory leak
942 - Added some #include fixes in various files, plus changed
943 float to long in wxToolBar files.
945 Alpha 6, March 10th 1998
946 ------------------------
950 - Found stack error bug - stopped unwanted OnIdle recursion.
951 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
952 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
953 check if the number of top-level windows is zero before
954 exiting. Also, wxApp::GetTopWindow will return either
955 m_topWindow or the first member of wxTopLevelWindows, so you
956 don't have to call wxApp::SetTopWindow.
957 - Added dynarray.h/dynarray.cpp (from Vadim).
958 - Added first cut at OLE drag and drop (from Vadim). dnd sample
959 added. Drop target only at this stage. See src/msw/ole/*.cpp,
960 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
961 Doesn't work with GnuWin32 - no appropriate headers e.g. for
963 Doesn't work with BC++ either - crashes on program startup.
964 - Added Vadim's owner-draw modifications - will probably remain
965 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
966 - Added wxLB_OWNERDRAW for owner-draw listboxes.
967 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
968 Doesn't entirely work for WIN16.
969 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
970 can also be used as an argument to wxMenu::Append, not just for
971 internal implementation.
972 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
973 in makeg95.env, together with mingw32.bat). However, resource
974 binding is not working yet so most apps with dialogs crash.
978 - Added Vadim's dynarray.h, dynarray.cpp.
979 - Added Vadim's menuitem.cpp.
980 - Added Windows-specific wxCheckListBox,
981 owner-draw wxListBox, and drag-and-drop
982 (see docs/msw/changes.txt).
984 Alpha 5, 14th February 1998
985 --------------------------
989 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
990 DISTRIBUTIONS. This change log will therefore now refer to
991 the Windows-specific code only. See docs/changes.txt for generic
993 - Removed Windows-specific reference counting system (GDI
994 resources were cleaned up in idle time) - minimal
995 advantages now we have a wxWin reference counting system.
996 - Added missing WXDLLEXPORT keywords so DLL compilation works
998 - Removed most warnings for GnuWin32 compilation.
999 - Added wxRegion/wxRegionIterator, but haven't yet used it in
1004 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1005 DISTRIBUTIONS. This change log will therefore now refer to
1006 the generic code only. See docs/msw/changes.txt for Windows-specific
1008 - Readmes, change logs and installation files now go in
1009 platform-specific directories under docs, e.g. docs/msw,
1011 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
1012 created dynamically, not as a global object.
1013 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
1014 - Changed names of some include/wx/generic headers to be
1015 consistent and to conform to gcc pragma conventions. Also
1016 changed choicesg.cpp to choicdgg.cpp.
1017 - Added gcc pragmas.
1018 - Added gtk inclusion in include/wx headers.
1019 - Added consistent file headings to source and headers.
1020 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
1021 added a few references to wxTransString.
1022 - Added operator to wxTransString that converts automatically
1023 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
1024 - samples/internat now works (minimally).
1025 - Added wxMouseEvent::GetPosition and
1026 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
1027 - Made wxSize and wxRect contain longs not ints.
1028 - Cured some lemory leaks (thanks Vadim).
1029 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
1030 will only keep processing OnIdle if it returns TRUE from
1033 Alpha 4, 31st January 1998
1034 --------------------------
1038 - Changed wxDC functions to take longs instead of floats. GetSize now takes
1039 integer pointers, plus a version that returns a wxSize.
1040 - const keyword added to various wxDC functions.
1041 - Under Windows, wxDC no longer has any knowledge of whether
1042 an associated window is scrolled or not. Instead, the device
1043 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
1044 - wxScrolledWindow applications can optionally override the virtual OnDraw
1045 function instead of using the OnPaint event handler. The wxDC passed to
1046 OnDraw will be translated by PrepareDC to reflect scrolling.
1047 When drawing outside of OnDraw, must call PrepareDC explicitly.
1048 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
1050 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
1051 to help printing with multiple pages.
1052 - IPC classes given base classes (wxConnectionBase etc.) which
1053 define the API used by different implementations. DDE
1054 implementation updated to use these base classes.
1055 - wxHelpInstance now separated into wxHelpControllerBase (base
1056 for all implementations), wxWinHelpController (uses standard
1057 WinHelp), wxXLPHelPController (talks to wxHelp by DDE or
1058 TCP/IP). There will be others eventually, such as
1059 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
1060 - Added Vadim Zeitlin's wxString class plus
1061 internationalization code (gettext simulation, wxLocale, etc.).
1062 New files from Vadim:
1068 src\common\string.cpp
1072 No longer use GNU wxString files.
1073 - Split off file-related functions into include\wx\filefn.h and
1074 src\common\filefn.cpp.
1075 - Borland C++ support (WIN32) for main library and
1076 samples, using makefile.b32 files.
1077 - Preparation done for allowing BC++ to compile wxWin as a DLL,
1078 including changes to defs.h.
1079 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
1081 - Added wxShowEvent (generated when window is being shown or
1083 - Got minimal, docview, mdi samples working for 16-bit VC++ and
1084 cured 16-bit problem with wxTextCtrl (removed global memory
1086 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
1088 Alpha 3, September 1997
1089 -----------------------
1093 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
1094 - Instigated new file hierarchy, split files and classes up more logically.
1095 - PrologIO and some other utils now put into core library.
1096 - Revamped print/preview classes, added wxPageSetupDialog.
1097 - Started documentation.
1099 Alpha 2, 30th April 1997
1100 ------------------------
1104 - EVT_... macros now have at least one argument, for conformance
1105 with MetroWerks compiler.
1106 - Added ids to .wxr file format.
1107 - Got Dialog Editor compiled and running again but need
1108 to extend functionality to be in line with new controls.
1109 Added dialoged\test app to allow dynamic loading of .wxr files
1110 for testing purposes.
1111 - Rewrote wxBitmap to allow installable file type
1113 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
1114 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
1116 - Added back wxRadioBox.
1117 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
1120 Alpha 1, 5th April 1997
1121 -----------------------
1125 At this point, the following has been achieved:
1127 - A lot, but not all, of the code has been revamped for better
1128 naming conventions, protection of data members, and use of
1129 wxString instead of char *.
1130 - Obsolete functionality deleted (e.g. default wxPanel layout,
1131 old system event system) and code size reduced.
1132 - Class hierarchy changed (see design doc) - base classes such
1133 as wxbWindow now removed.
1134 - No longer includes windows.h in wxWin headers, by using stand-in
1135 Windows types where needed e.g. WXHWND.
1137 - wxScrolledWindow, wxStatusBar and new MDI classes added.
1138 MDI is now achived using separate classes, not window styles.
1139 - wxSystemSettings added, and made use of to reflect standard
1141 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
1142 settings mucho rationalised.
1143 - All windows are now subclassed with the same window proc to make
1144 event handling far more consistent. Old internal wxWnd and derived
1146 - API for controls revised, in particular addition of
1147 wxValidator parameters and removal of labels for some controls.
1148 - 1 validator written: see examples/validate.
1149 - Event table system introduced (see most samples and
1150 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
1151 made more flexible, with Push/PopEventHandler allowing a chain
1153 - wxRadioBox removed - will be added back soon.
1154 - Toolbar class hierarchy revised:
1156 wxToolBarSimple (= old wxToolBar)
1157 wxToolBar95 (= old wxButtonBar under Win95
1158 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
1159 - Constraint system debugged somewhat (sizers now work properly).
1160 - wxFileDialog, wxDirDialog added; other common dialogs now
1161 have class equivalents. Generic colour and font dialogs
1162 rewritten to not need obsolete panel layout.
1163 - .wxr resource system partially reinstated, though needs
1164 an integer ID for controls. Hopefully the resource system
1165 will be replaced by something better and more efficient
1167 - Device contexts no longer stored with window and accessed
1168 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
1170 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
1171 determines whether labels are shown. Other Win95-specific flags
1172 introduced, e.g. for showing ticks.
1173 - Styles introduced for dealing with 3D effects per window, for
1174 any window: all Win95 3D effects supported, plus transparent windows.
1175 - Major change to allow 3D effect support without CTL3D, under
1177 - Bitmap versions of button and checkbox separated out into new
1178 classes, but unimplemented as yet because I intend to remove
1179 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
1180 - utils/wxprop classes working (except maybe wxPropertyFormView)
1181 in preparation for use in Dialog Editor.
1182 - GNU-WIN32 compilation verified (a month or so ago).