------------------------------------------------------------------------------- wxWidgets Change Log ------------------------------------------------------------------------------- INCOMPATIBLE CHANGES SINCE 2.6.x ================================ Changes in behaviour not resulting in compilation errors, please read this! --------------------------------------------------------------------------- - For all wxInputStreams, Eof() becomes true after an attempt has been made to read _past_ the end of file. - wxFileName::DirExists() checks if the path of the file is a directory, not if the whole name is a directory. - wxDialog::CreateButtonSizer() may return NULL now, please see the manual. - wxStaticBoxSizer now deletes the associated wxStaticBox when it is deleted. - wxArray::Alloc() now works as reserve() and does not clear the array any more - Windows calling CaptureMouse() are now required to handle the wxEVT_MOUSE_CAPTURE_LOST event and not call ReleaseMouse() in this case. - wxInputStream::GetC() now returns an int in the range 0 - 255 on success instead of a char the range -128 - 127. Changes in behaviour which may result in compilation errors ----------------------------------------------------------- - Some classes (notably wxBitmap and wxImage) don't define operator==() as it used to work in somewhat unexpected way as it compared only internal pointers and not the object data. The code using it will have to be updated: * If the object was compared with wxNullXXX, use IsOk() method instead * If valid object need to be compared, use IsSameAs() to reproduce the old behaviour or change the code to avoid comparing bitmaps &c. - wxFontData::GetColour() now returns a const colour. - wxDC objects can't be created directly now (this never worked, now it doesn't even compile). - wxCHECK family of macros now must be followed by a semicolon. - wxMBConv::cMB2WC() and cWC2MB() take size of the input buffer and return length of the converted string in all cases now. - wxHtmlWindow::OnCellClicked() now returns bool. - wxHtmlCell::OnMouseClick() was deprecated and replaced with wxHtmlCell::ProcessMouseClick(); old code overriding OnMouseClick() will continue to work with WXWIN_COMPATIBILITY_2_6, but should be rewritten to use ProcessMouseClick(). - wxHtmlCell::GetCursor() was deprecated and replaced with wxHtmlCell::GetMouseCursor(); old code overriding GetCursor() will continue to work with WXWIN_COMPATIBILITY_2_6, but should be rewritten to use GetMouseCursor(). - wxHtmlCell::AdjustPagebreak() signature has changed, update your code if you override it. - wxFontEnumerator::GetFacenames() and GetEncodings() now return arrays and not pointers to arrays. - SetDefaultItem() method was moved from wxPanel to wxTopLevelWindow - wxDialog::OnOK/OnCancel() don't exist any more, use SetAffirmative/EscapeId() - wxPathList doesn't derive from (deprecated) wxStringList any more - wxGLContext class has no 1:1 coupling to a wxGLCanvas class any more. As a consequence, the class interface changed largely. Code updates, if any are required at all, are easy to accomplish though. Deprecated methods since 2.6.x and their replacements ----------------------------------------------------- - wxGetWorkingDirectory() deprecated in favour of wxGetCwd(). - wxDC::BeginDrawing() and wxDC::EndDrawing() deprecated, don't use them. - wxWindowBase::GetBestFittingSize --> wxWindowBase::GetEffectiveMinSize. - wxWindowBase::SetBestFittingSize --> wxWindowBase::SetInitialSize. - Seeking on a zip stream returned from wxFileSystem without using the new wxFS_SEEKABLE flags is deprecated. You can still seek, but use the flag. - Constructor wxZipInputStream(const wxString& archive, const wxString& file) deprecated in favour of wxFileSystem (other zip ctors are not deprecated). - wx{Dir|File}Dialog::{Set|Get}Style deprecated in favour of the generic wxWindow::{Set|Get}WindowStyle() Major new features in 2.8 release --------------------------------- - New AUI library supporting docking windows and much more. - New rich text control library implementing a generic wxRichTextCtrl, using only the wxWidgets API. Also includes formatting dialogs, conversion to HTML, and printing classes. - New wxComboCtrl class giving the ability to create custom, graphical comboboxes. Associated classes include wxOwnerDrawnComboBox, wxComboPopup and wxBitmapComboBox. - Further functionality including wxAnimationCtrl (moved from contrib/src/anim and enhanced), wxSimpleHtmlListBox, wxHyperlinkCtrl, wxColourPickerCtrl, wxDirPickerCtrl, wxFilePickerCtrl, wxFontPickerCtrl, wxCollapsiblePane, wxSearchCtrl, wxAboutBox, wxTreebook, tar streams. 2.8.2 ----- All: - Added wxSizerFlags::Shaped() and FixedMinSize() methods - Added wxCSConv::IsOk() (Manuel Martin) - Added wxDateTime::GetDateOnly() - Made wxTextFile work with unseekable files again (David Hart) - Added wxCONFIG_USE_SUBDIR flag to wxFileConfig (Giuseppe Bilotta) - Added wxSearchCtrl::[Get|Set]DescriptiveText wxMSW - Fix lack of spin control update event when control lost focus - Corrected drawing of bitmaps for disabled menu items wxMac - Added support for the wxFRAME_FLOAT_ON_PARENT style wxX11: - Don't crash in wxWindow dtor if the window hadn't been really Create()d 2.8.1 ----- All: - Fix compilation with wxUSE_STL=1 - wxGrid::GetBestSize() returns same size the grid would have after AutoSize() - Added wxTreeCtrl::CollapseAll[Children]() and IsEmpty() (Francesco Montorsi) - Several RTL-related positioning fixes (Diaa Sami) - Fix wxConfig::DeleteGroup() for arguments with trailing slash (David Hart) - Fix memory leak in wxGrid::ShowCellEditControl() (Christian Sturmlechner) wxMSW: - Fixed compilation with Borland C++ in Unicode mode but without MSLU - Show taskbar icon menu on right button release, not press wxGTK: - Don't crash if command line is not valid UTF-8 (Unicode build only) wxUniv: - It is now possible to set background colour of wxStaticText 2.8.0 ----- All: - Added wxSearchCtrl (Vince Harron) - wxCSConv("UTF-16/32") now behaves correctly, i.e. same as wxMBConvUTF16/32 - wxArrayString::Alloc() now works as reserve() and doesn't clear array contents - Fixed long standing bug in wxFileConfig groups renaming (Antti Koivisto). - New option wxFS_READ | wxFS_SEEKABLE for wxFileSystem::OpenFile() to return a stream that is seekable. - Fixed bug in wxCalendarCtrl::HitTest() when clicking on month change arrows - Added wxWindow::GetWindowBorderSize() and corrected wxTreeCtrl::GetBestSize() for a control with borders (Tim Kosse) wxMSW: - Fixed version script problems when using configure with cygwin/mingw32. - Use system default paper size for printing instead of A4. - Fix (harmless) assert in virtual list control under Vista - Fix colours when converting wxBitmap with alpha to wxImage (nusi). wxGTK: - Allow dynamically changing most of text control styles - Enable use of libgnomeprintui by default in configure 2.7.2 ----- All: - Added wxFFile overload to wxFileName::CreateTemporaryFileName(). - Added GetTempDir() to wxFileName and wxStandardPaths. - Added wxTar streams. - Added wxFilterFSHandler and wxArchiveFSHandler. - Added wxString::ToLongLong() and ToULongLong(). All (GUI): - wxMemoryDC constructor now optionally accepts a wxBitmap parameter, calling SelectObject itself if a valid bitmap is passed. - Reverted wxBuffered[Paint]DC to pre 2.7.1 state, added wxAutoBufferedPaintDC and wxAutoBufferedPaintDCFactory. - Renamed wxProgressDialog::UpdatePulse() to just Pulse(). - Added wxCollapsiblePane (Francesco Montorsi). - Added wxSimpleHtmlListBox (Francesco Montorsi). - Printing framework fixes by Robert J. Lang. Bugs fixed, wxPrinterDC::GetPaperRect() and other functions added to allow easier printing implementation, and the documentation updated. - Many enhancements to wxRichTextCtrl including URL support, formatting and symbol dialogs, print/preview, and better list formatting. - Support for loading TGA files added (Seth Jackson). - Added wxTB_RIGHT style for right-aligned toolbars (Igor Korot). - wxHtmlWindow now generates events on link clicks (Francesco Montorsi). - wxHtmlWindow now also generates wxEVT_COMMAND_TEXT_COPY event. Unix Ports: - Added autopackage for wxGTK and an example of using autopackage for a wx program (Francesco Montorsi). wxGTK: - More RTL work. - Support wxALWAYS_SHOW_SB. - Speed up MIME types loading. Only the GNOME database should be loaded under GNOME etc. For this, the code queries the X11 session protocol. - wxCaret redraw problem during scrolling fixed. 2.7.1 ----- All: - Added wxDir::FindFirst() (Francesco Montorsi). - Added wxPlatformInfo class (Francesco Montorsi). - Added wxLocale::IsAvailable() (Creighton). - Added Malay translations (Mahrazi Mohd Kamal). - Added reference counting for wxVariant. - For consistency, all classes having Ok() method now also have IsOk() one, use of the latter form is preferred although the former hasn't been deprecated yet. - Added wxFileName::Is(Dir|File)(Writ|Read|Execut)able() (Francesco Montorsi). - Added wxFileName::GetSize() and GetHumanReadableSize() (Francesco Montorsi). - Added wxSizer::Replace (Francesco Montorsi). - wxXmlDocument can now optionally preserve whitespace (Francesco Montorsi). - Added wxBookCtrl::ChangeSelection() and wxTextCtrl::ChangeValue() to provide event-free alternatives to SetSelection() and SetValue() functions; see the "Events generated by the user vs programmatically generated events" paragraph in the "Event handling overview" topic for more info. All (GUI): - Support for right-to-left text layout (started by Diaa Sami during Google Summer of Code, with a lot of help from Tim Kosse and others). - wxAnimationCtrl added (Francesco Montorsi). - Added wxAboutBox() function for displaying the standard about dialog. - Added wxID_PAGE_SETUP standard id. - Added wxSize::IncBy() and DecBy() methods. - Added wxTextCtrl::IsEmpty(). - Added file type parameter to wxTextCtrl::LoadFile, wxTextCtrl::SaveFile for consistency with wxRichTextCtrl. - wxRichTextCtrl: fixed range out-by-one bug to be consistent with wxTextCtrl API, fixed some attribute bugs and added wxRichTextStyleComboCtrl. - Added wxWindow::IsDoubleBuffered(). - Added wxHL_ALIGN_* flags to wxHyperlinkCtrl (Francesco Montorsi). - Added wxGauge::Pulse() and wxProgressDialog::UpdatePulse() (Francesco Montorsi). wxMSW: - Implemented wxComboBox::SetEditable(). - wxSemaphore::Post() returns wxSEMA_OVERFLOW as documented (Christian Walther) - Fixed a bug whereby static controls didn't use the correct text colour if the parent's background colour had been set (most noticeable when switching to a high-contrast theme). - Respect wxBU_EXACTFIT style in wxToggleButton (Alexander Borovsky). wxMac: - Add parameter to the --enable-universal_binary configure option for the path to the SDK. wxGTK: - Automatically use stock items for menu items with standard ids. - Setting cursor now works for all controls. - Implemented right-to-left support. - Implemented left indentation and tab stops support in wxTextCtrl (Tim Kosse). - Fixed wxHTML rendering of underlined text of multiple words (Mart Raudsepp). wxUniv: - Added wxTLW::UseNativeDecorations() and UseNativeDecorationsByDefault(). 2.7.0 ----- All: - Added positional parameters support to wxVsnprintf() (Francesco Montorsi). - wx(F)File, wxTextFile and wxInputStreams recognize Unicode BOM now. - Many fixes for UTF-16/32 handling in Unicode builds. - wxLaunchDefaultBrowser() now supports wxBROWSER_NEW_WINDOW flag. - Added wxStandardPaths::GetResourcesDir() and GetLocalizedResourcesDir() - Added wxStandardPaths::GetDocumentsDir() (Ken Thomases). - Added wxStringTokenizer::GetLastDelimiter(); improved documentation. - Fixed wxTextFile in Unicode build. - Added possibility to specify dependencies for a wxModule. - Speed improvements to wxRegEx when matching is done in a loop such as during a search and replace. - Fix regerror and regfree name conficts when built-in regex and system regex are both used in the same program. - Basic authentication supported added to wxHTTP. - wxCondition::WaitTimeout() now returns correct value when timeout occurs. - Fixed occasional wxThread cleanup crash. - Bug in wxLogStream::DoLogString in Unicode builds fixed. - Added support for memo fields to wxODBC. - Fixed Unicode builds using SunPro compiler by defining__WCHAR_TYPE__. - wxFileName now also looks for TMPDIR on Unix. - Fixed build error in list.h with VC++ 2005. - Fixed wxODBC buffer overflow problem in Unicode builds. - Fixed wxSocketBase::InterruptWait on wxBase. - Important code cleanup (Paul Cornett). - Added support for wxLongLong in wx stream classes (Mark Junker). - wxSOCKET_REUSEADDR can be used with wxSocketClient. - Overloaded Connect() and SetLocal() methods for binding to local address/port. - Albanian translation added (Besnik Bleta). - Assert messages now show the function in which assert failed. - wxApp::OnAssertFailure() should now be used instead the old wxApp::OnAssert(). - Fixed several bugs in wxDateTime::ParseDate(). - The WXK*PRIOR and WXK*NEXT constants are now aliases for WXK*PAGEUP and WXK*PAGEDOWN. If you have switch statements that use both constants from a set then you need to remove the PRIOR/NEXT versions in order to eliminate compiler errors. - Fixed bug where wxDateTime::Now() would sometimes return an incorrect value the first time it was called. - Added wxString::rbegin() and rend(). - Added wxString::EndsWith(). - wxSocket::_Read continues reading from socket after exhausting pushback buffer. Previously, only the buffer would be returned, even if more data was requested. - Added wxPowerEvent (currently MSW-only). - Make wx-config compatible with Bourne shells. - Fixed wxDb::Open(wxDbConnectInf) when using connection string (Hellwolf Misty). - Fixed crash in wxDb::Open() in Unicode build (Massimiliano Marretta). - Fixed wxTimeSpan::Format() for negative time spans. - Optionally count repeating wxLog messages instead of logging all (Lauri Nurmi). All (GUI): - New AUI (Advanced User Interface) library for docking windows and much more. - Added wxComboCtrl and wxOwnerDrawnComboBox (Jaakko Salli). - Added wxTreebook (uses a wxTreeCtrl to control pages). - Added wxColour/Dir/File/Font/PickerCtrls (Francesco Montorsi). - Added wxDC::GradientFillLinear/Concentric(). - Added wxHyperlinkCtrl (Francesco Montorsi). - Added clipboard events (wxEVT_COMMAND_TEXT_COPY/CUT/PASTE). - Allow to reorder wxGrid columns by drag-and-drop (Santiago Palacios). - Added wxRadioBox::SetItemToolTip(). - Added support for CMYK JPEG images loading (Robert Wruck). - Added wxListCtrl::GetSubItemRect() and subitem hit testing (Agron Selimaj). - Added wxKeyEvent::GetModifiers(). - Added wxDialog::SetEscapeId(). - wxItemContainerImmutable::FindString unified (affects wxRadioBox, wxListBox, wxComboBox and wxChoice). - wxWindow::Fit() now works correctly for frames and dialogs too. - Added access to the border size between pages and controller in book based controls (wxBookCtrlBase::Get/SetInternalBorder). - Added initial wxRichTextCtrl implementation. - All book based controls (notebook, treebook etc.) share now the same options for orientation (wxBK_TOP, wxBK_DEFAULT, ...) instead of duplicated wxLB_TOP, wxNB_TOP, wxCHB_TOP, wxTBK_TOP. - Added parent window parameter to wxHelpController constructor and added SetParentWindow/GetParentWindow. - wxMultiChoiceDialog uses now wxCheckListBox if possible, wxListBox if not. - Added wxBitmapButton::SetHoverBitmap(). - Access to titles through Get/SetTitle is available now only for top level windows (wxDialog, wxFrame). - Fixed memory leak of pending events in wxEvtHandler. - Added wxRadioBox::IsItemEnabled/Shown(). - Added space after list item number in wxHTML. - Implemented and handling in wxHTML (based on patch by Sandro Sigala). - Added caption parameter to wxGetFontFromUser and wxGetColourFromUser. - Added wxGetMouseState function. - Added wxHtmlHelpWindow, wxHtmlHelpDialog and wxHtmlModalHelp classes, allowing HTML help to be embedded in an application. - wxCalendarCtrl positioning and hit-testing fixes for dimensions other than best size. - wxCalendarCtrl colour schema changed and adjusted to system settings. - wxImage::Mirror() and GetSubBitmap() now support alpha (Mickey Rose). - More checking of image validity before loading into wxImage. - Added wxImage::ConvertToGreyscale. - Added ability to use templates with static event tables with BEGIN_EVENT_TABLE_TEMPLATEn() macros. - Added play, pause, and state change events to wxMediaCtrl. - Added double-buffering to wxVListBox and fixed a scrolling issue. - Added wxToolbook (uses a wxToolBar to control pages). - Added SetSheetStyle to wxPropertySheetDialog and allowed it to behave like a Mac OS X settings dialog. - Added XRC tag for wxToolBar elements and for wxToolBar itself. - Fixed centering of top level windows on secondary displays. - Implemented wxDisplay::GetFromWindow() for platforms other than MSW. - UpdateUI handler can now show/hide the window too (Ronald Weiss). - More than one filter allowed in in wxDocTemplate filter. - Added wxListBox::HitTest(). - Added wxDisplay::GetClientArea(). - Indices and counts in wxControlWithItems derived API are unsigned. - Added support for links to wxHtmlListBox; use code has to override wxHtmlListBox::OnLinkClicked() to take advantage of it. - Added an easier to use wxMenu::AppendSubMenu(). - wxString <-> wxColour conversions in wxColour class (Francesco Montorsi). - Fixed bug with ignoring blank lines in multiline wxGrid cell labels. - Added wxTextAttr::Merge() (Marcin Simonides). - Added wxTB_NO_TOOLTIPS style (Igor Korot). - Added wxGenericDirCtrl::CollapsePath() (Christian Buhtz). - Added wxTreeCtrl::ExpandAllChildren() (Christian Buhtz) - Fixed 64-bit issue in wxNotebook causing segfaults on Tru64 Unix. - Made it possible to associate context help to a region of a window. - Added support for tabs in wxRichTextCtrl (Ashish More). - Fixed problem with zoom setting in print preview. - Moved wxRichTextCtrl from the advanced library to its own. - wxNB_HITTEST_* flags renamed to wxBK_HITTEST_* to serve all book controls. - Added wxTopLevelWindow::SetTransparent and CanSetTransparent, with implementations (so far) for wxMSW and wxMac. - Allow customizing individual grid lines appearance (Søren Lassen). - Fixed middle click events generation in generic wxTreeCtrl (Olly Betts). - Added wxEVT_MOUSE_CAPTURE_LOST event that must be handled by all windows that CaptureMouse() is called on. wxMSW: - Fixed crash with ownerdrawn menu items accelerators (Perry Miller). - wxFileDialog respects absence of wxCHANGE_DIR flag under NT (Brad Anderson). - Switching page of a hidden notebook doesn't lose focus (Jamie Gadd). - Removed wxImageList *GetImageList(int) const. - Fixed MDI context menu problem. - Removed __WIN95__ define. - Create msw/rcdefs.h in setup.h's directory, which can be included by resource files. It containts platform/compiler specific defines (such as target cpu) which can be used in #ifs in .rc files. - Add support for Win64 manifests and VC++ 8 automatic manifests (see the wxMSW faq for details). - New TARGET_CPU=amd64 (or 'ia64') option for the makefile.vc files which puts 64-bit builds in their own directory and adds /machine:amd64 or ia64 to the link command. - wxStatusBar::GetFieldRect now returns correct values under XP. - wxStatusBar no longer corrupts surrounding windows on resize. - Enable wxListCtrl in report mode to be able to use images in other columns, if ComCtl32 >= 470. - Fixed problem where using SetValue and wxTE_RICH2 would cause control to show. - Numpad special keys are now distinguished from normal keys. - Fixed GDI leak in wxStaticBitmap when setting images after initial construction. - Menu codes now stripped before measuring control labels. - MFC sample now compiles in Unicode mode. - Fixed SetScrollbar thumb size setting bug (set orientation before triggering events). - Fixed icon to cursor conversion problem for bitmaps with masks. - Fixed wxToolBar background colour problem for some video cards. - wxGenericDirCtrl now shows volume name. - Added XP theme support for DrawHeaderButton, DrawTreeItemButton. - Made the wxActiveXContainer class public and documentated. - Added a Windows Media Player 9/10 backend for wxMediaCtrl. - Multiline notebook tab label change now resizes the control correctly if an extra row is removed or added. - Fixed a crash when dismissing wxPrintDialog under VC++ 7.1. - Fixed out by one error in wxTextCtrl::GetStyle. - Fixed problem with getting input in universal/unicode build of wxMSW. - Link oleacc.lib conditionally. - Drag and drop now works inside static boxes. - Fall back to unthemed wxNotebook if specified orientation not available. - wxListCtrl and wxTreeCtrl now resize their standard font if the user changes the system font. - wxDisplay doesn't require multimon.h now and is enabled by default (Olly Betts). - Fixed wxChoice/wxComboBox slow appending and infinite recursion if its size is set within a paint handler (for example when embedded in a wxHtmlWindow). [Now reverted due to problems in W2K and below.] - wxDC::GetTextExtent() width calculation is more precise for italics fonts now. - Warning fixes for VC++ 5.0 (Igor Korot). wxGTK: - Fixed handling of font encoding in non-Unicode build - wxEVT_MENU_CLOSE and wxEVT_MENU_OPENED for popup menus are now generated. - Implemented wxCURSOR_BLANK support. - wxSlider generates all scroll events now and not only wxEVT_SCROLL_THUMBTRACK. - Fixed a host of bugs in wxMediaCtrl as well as added a GStreamer 0.10 implementation. - Improved configure checks for GStreamer. You may also now specify --enable-gstreamer8 to force configure to check for GStreamer 0.8. - Fixed problem with choice editor in wxGrid whereby the editor lost focus when the combobox menu was shown. - Fixed focusing with mnemonic accelerator keys on wxStaticText which is now able to focus on wxComboBox and possibly other controls previously unable to be focused before. - Enabled mnemonics and the corresponding accelerator keys for wxStaticBox and wxRadioBox. - Fixed problem trying to print from a preview, whereby wrong printer class was used. - Worked around pango crashes in strncmp on Solaris 10. - Polygon and line drawing speeded up if there is no scaling. - Fixed problems with CJK input method. - Implemented ScrollLines/Pages() for all windows (Paul Cornett). - Support underlined fonts in wxTextCtrl. - Support all border styles; wxListBox honours the borders now. - wxWindow and wxScrolledWindow now generate line, page and thumb-release scroll events. - Added file preview support in file dialogs. - Implemented SetLineSize and GetLineSize for wxSlider. wxMac: - Fixed problem with clipboard support for custom data flavors. - Fixed focus handling for generic controls in carbon-cfm. - Fixed a printing crash bug, for example using File->Print and changing Popup from 'Copies & Pages' to e.g. 'Layout'. - Improved support for help and application menu items. - Added default implementations for wxTextCtrl::Replace and wxTextCtrl::Remove. - Added support for 10.4 context menu. - Added support for wxFRAME_EX_METAL and wxDIALOG_EX_METAL styles. - Added wxNotebook::HitTest support. - Corrected idle wake-up. - Corrected wxExecute. - Now makes use of full printer resolution. - Corrected CGImage handling in wxBitmap. - Now uses simple hide/show transition for top-level windows. - Uses reasonable temporary path for wxFileName::CreateTempFileName. - Added support for default key handling (escape, enter, command-period) even if there is no control on the frame or dialog that has the focus. - Fixed joystick bugs including a link error and a crash if no joysticks were found. - Removed an errorneous assertion from wxDir. - Uses CoreFoundation based and thread-safe implementation for message boxes under Mach-O. - wxBitmapButton is created as a content icon if wxBORDER_NONE is specified, otherwise as a bevel button. - Mouse event ids set correctly (fixing problems with Connect in particular). - Fixed wxZipInputStream read error on wxSocketInputStream which signals the end of file with an error. - Xcode wxWidgets and minimal sample project files updated to create Universal binaries. - Fix for setting wxMenuBar more than once. - wxListBox minimum size bug fixed. - Fixed wxNotebook off-by-one bug in HitTest. - Fixed joystick GetXMin/Max bug. - Fixed Unix domain socket problem in wxIPC. - Fixed non-detection of process termination on Intel Macs by polling for process termination in a separate thread. wxCocoa: - wxDirDialog is now native (Hiroyuki Nakamura). wxWinCE: - Pressing build-in joystick on WinCE phones fires wxEVT_JOY_BUTTON_DOWN event. - Native wxCheckListBox implementation. - All wxTopLevelWindows resizes accordingly to SIP visibility. - ::wxGetUserName() implemented. - wxDisplay enumeration support. - Fixed wxFileDialog breakage on WinCE due to incorrect structure size. - New wxSystemOption "wince.dialog.real-ok-cancel" to switch between WinCE guidelines with Ok-only dialogs and dialogs using wxButtons. - Checkable items in wxToolMenuBarTool supported. - Fixed date formatting and mktime. - Fixed getting standard folder paths on WinCE. - Support for backspace key on Smartphone. - Made both windows wxMediaCtrl Windows backends compilable with wxWinCE - it is recommended that you use wxMEDIABACKEND_WMP10 on this platform directly, however. - Added support for the context menu event (wxContextMenuEvent) and added platform-specific wxWindow::EnableContextMenu. - Fixed wxGenericFileDialog to work with WinCE. - Fixed compilation and menubar disappearance on Windows Mobile 5. - Fixed wxDatePickerCtrl usage. wxUniv: - Send wxEVT_SCROLL_XXX events from wxSlider (Danny Raynor). - Implemented wxToggleButton (David Bjorkevik). - Label in Toolbar tools implemented (Danny Raynor). wxX11: - Invisible text problem fixed. - Bitmap clipping with masks and scaling improved. - Fixed a crash bug in the generic timer. - Implemented child process termination notifications (David Björkevik) Unix: - NO_GCC_PRAGMA is not used any more, remove checks for it if you used it. wxMGL: - Fixed NUM_LOCK having no effect. - Fixed wxFileExists (affecting wxImage::LoadFile). 2.6.2 ----- All: - Fixed wxScopeGuard to work with VC++, documented it. - Fixed proxy handling in wxURL. - Added wxEVT_MEDIA_LOADED event for wxMediaCtrl. - Added new methods to wxMediaCtrl (wxURI version of Load, ShowPlayerControls). - Added wxZipFSHandler::Cleanup() (Stas Sergeev). - Added wxImage::RotateHue() and RGB <-> HSV conversions (John Anderson). - Fixed compilation with IBM xlC compiler. - wxABI_VERSION, see 'Backward Compatibility' topic overview in the manual. - Added wxLongLong::ToDouble(). - Added wxDateTime::[Make]FromTimezone(), fixed several TZ-related bugs. - Fixed bug in wxStreamBuffer::Read(wxStreamBuffer *) (Paul Cornett). - Fixed wxListbook and wxChoicebook internal layout. All (GUI): - Added wxStaticText::Wrap() - wxChoice and wxComboBox::GetSelection() now returns completed selection, added a new GetCurrentSelection() function having the old behaviour. - Added wxXmlResource::Unload(). - Possibility of modeless wxWizard dialog (with presentation in sample). - Fixed a rare crash due to malformed HTML in wxHTML (Xavier Nodet). - Ctrl+mouse wheel changes zoom factor in print preview (Zbigniew Zagórski). - Cross-compile now supported for wxGTK, wxX11 and wxMotif. - Cygwin compilation of wxX11, wxGTK and wxMotif now supported. - Now reads "help" parameter for all windows (context help text). - wxWizard adapts to PDA-sized screens. - Unicode fixes for IPC and a new IPC sample (Jurgen Doornik). wxMSW: - wxMSW now builds with (beta of) MSVC 8 (a.k.a. 2005). - Separators are now correctly shown in the toolbars under Windows XP. - Fixed multiline tooltips handling. - Fixed wxSlider::GetSelEnd() (Atilim Cetin). - Fixed accelerators of menu items added to already attached submenus. - Position of wxEVT_MOUSEWHEEL events is now in client, not screen, coordinates. - Handle absence of wxListCtrl column image better (Zbigniew Zagórski). - Fixed asynchronous playback of large sound files in wxSound. - Added wxDynamicLibrary::GetSymbolAorW(). - Fixed default size of wxStaticText controls with border being too small. - Fixed bugs with wxStatusBar positioning (with or withour sizers) (Jamie Gadd). - Mouse move events are now generated for all static controls (Jamie Gadd). - Fixed nested static box display and splitter sash on some themes (Jamie Gadd). - Made wxJoystick::GetProductName() more useful (John Ratliff). - Native spline drawing implementation (Wlodzimierz ABX Skiba). wxGTK: - ShowFullScreen() shows the window if it was still hidden (rpedroso). - Implemented wxTopLevelWindow::RequestUserAttention() (Mart Raudsepp). - Base library is now binary compatible when built with wxGTK and wxMotif. - wxTextCtrl::XYToPosition, PositionToXY and GetLineLength calls are now instantaneous in case of GTK 2.x multi-line controls (Mart Raudsepp). - Added support for left, centre and right text alignment attributes under GTK+2 multi-line text controls (Mart Raudsepp). - Various wxFont improvements for GTK 2.x builds (Mart Raudsepp). - Changed order of child deletion in window destructor and removed focus handlers to avoid spurious events (David Surovell). - Fixed domain socket handling. wxMac: - First implementation of native HIToolbar support. - Added text control context menu (ported from wxMSW). - More CoreGraphics implementation improvements. - Various text control bug fixes. - Automatic menu management improved. - Fixed crash when wxRadioButton is deleted from a group of radio buttons, due to dangling cycle pointers. - Native spline drawing implementation for CoreGraphics (Robert J. Lang). - Made wxDialog::IsModal meaning the same as other ports (true only when showing modally). wxOS2 - Adjustments for building with Open Watcom C++. wxUniv: - Window creation now honours wxVSCROLL. - Standalone scrollbars generate events of correct type (Jochen Roemmler). wxMotif: - Base library is now binary compatible when built with wxGTK and wxMotif. - wxMotif can now display Japanese text under Japanese locale. - Fixed button size in common dialogs. - Made wxFileDialog translatable. - All top level windows should now have a border unless the wxNO_BORDER flag has been specified. - Improved wxNotebook support for sizers. It requires the wxNotebook to be created with a "sensible" initial width. - Made wxDialog::IsModal meaning the same as other ports (true only when showing modally). wxMGL: - Fixed crash on exit. - Fixed drawing problems when windows are resized. wxX11: - Various wxFont improvements for unicode builds (Mart Raudsepp). 2.6.1 ----- All: - Added wxLaunchDefaultBrowser. - Added wxPLURAL() macro in addition to _() (Jonas Rydberg) All (GUI): - Fixed potential infinite loop when adjusting wxScrolledWindow scrollbars. - Radio in menus do not send menu event for selections of already selected item. - Fixed wrong positioning of marks and enumerations in lists of wxHTML. - wxImage::Rotate90 respects alpha channel. - Added wxEVT_SCROLL_CHANGED as synonym for wxEVT_SCROLL_ENDSCROLL. - Replaced artwork for some cursors, icons and toolbar buttons. - Fixed sizing problem in generic wxCalendarCtrl for short day abbreviations. - Fixed wxWindow::DoGetBestSize to keep original best size. - PNM now supports ASCII and raw grey formats. - wxGrid focus and edit key improvements. wxMSW: - Fixed erroneous selection of content in wxComboBox when within a wxStaticBox (checking for selection caused by WM_STYLECHANGED). - Added deferred positioning to wxRadioBox, wxSlider and wxSpinCtrl and thereby eliminated some refresh glitches when resizing. - Eliminated further refresh glitches caused by wxRadioBox (to nearby controls) by refreshing parent when the radio box moves. - Added ability set the system option "msw.staticbox.optimized-paint" to 0 to allow a panel to paint graphics around controls within a static box. - Refresh exposed areas when resizing, using WM_WINDOWPOSCHANGED. - Worked around an apparent bug in deferred window positioning (moving a window from (x, y) to (a, b) and back to (x, y) misses the last step) by checking window positions against corresponding sizer state, if any. - A control's text colour now reflects the system colour setting. - Fixed wxFileName::GetLongPath() to behave correctly during the first call too. - Fixed alpha blitting to take into account source position. - Setting foreground colour for wxCheckBox now works when using XP themes too. - wxStaticBox label can use custom foreground colour. - Now uses newer font MS Shell Dlg 2 if possible. - Compiles again with WIN64. - Winelib compilation now works. - When converting a wxIcon to a bitmap check if the icon has an alpha channel and set the bitmap to use it. - wxSlider now also sends wxEVT_SCROLL_CHANGED when using mouse wheel - Miscellaneous wxMediaCtrl improvements. - wxTopLevelWindow::ShowFullScreen logic error fixed. - Fixed wxScrollBar background colour bug. - Fixed problems with paper sizes being ignored. - wxNotebook refresh problem fixed. - DDE fixed for Unicode. - Fixed ownerdrawn multiline buttons. - wxCheckListBox item background fixed. - Fixed error when trying to read a value from key not accessible for writing. - Fixed keyboard cue visibility issues under Windows 2000/XP wxWinCE: - Fixed wxFileName::CreateTempFileName. wxGTK: - Added support for wxSTAY_ON_TOP (GTK 2.4+). - Fixed wxTextCtrl::SetStyle for overlapping calls. - Fixed scrollbar border colour. - Added bitmap support in menus. wxMac: - Added support for launching 'APPL' bundles with wxExecute (usually they have a .app extension and are the ones that reside in the Applications folder). - Fixed a bug in wxGetKeyState where shift and some other keys were returning an incorrect state. - Fixed toolbar colour bug on Tiger. - Fixed visual problems caused by removal of About menu item. - Window menu now added automatically. - Configure fixed for wxBase compilation. - Modified function key support fixed. - wxTopLevelWindow::Maximize improvements. wxX11: - Menu problems fixed. - wxScrolledWindow scrolls any child windows. - Fixed a font memory leak. - Multiple wxTimers now work correctly. 2.6.0 ----- All: - wxPathExists deprecated, use wxDirExists instead. - Configure: --enable-std_iostreams, --enable-std_string are now the default. All (GUI): - Fixed ~wxStatusBar and ~wxToolBar which tried to check non-existent wxFrameBase RTTI, causing a crash if not in a frame. wxMSW: - Fixed static box border when the label is empty. - Fixed SetBackgroundColour() to change only label background, not entire box. - wxHelpController is now aliased to wxCHMHelpController. wxWinCE: - Fixed device origin setting and clipping region setting. wxGTK: - New configure syntax for specifying the GTK+ version. --with-gtk Use GTK 2.x, no fallback --with-gtk=1 Use GTK 1.2, no fallback --with-gtk=2 Use GTK 2.x, no fallback --with-gtk=any Use any available GTK - wxMenuItem::SetText() takes care of hotkeys, too. - Reworked text wrapping for wxStaticText. wxMac: - Implemented most of the wxFileType and wxMimeTypesManager functions 2.5.5 ----- All: - wxURI::GetUser() only returns the user name now, use GetUserInfo() to get user and password as in 2.5.4; wxURI::GetPassword() added. - Added wxDebugReport class. - Added wxTempFileOutputStream by Stas Sergeev. - Fixed wxDateTime::SetToWeekDayInSameWeek(Sun, Monday_First). - Added WXK_SPECIAL keycodes for special hardware buttons. - Fixed bug with wxFile::Seek(-1, wxFromCurrent). - Added wxString/C array constructors to wxArrayString. - Added wxMemoryInputStream(wxMemoryOutputStream&) constructor (Stas Sergeev) All (GUI): - Added GetIcon, GetBitmap to wxImageList. wxGenericImageList's original GetBitmap is renamed GetBitmapPtr. - Added XPM data constructor to wxImage. - Added style parameter to wxBufferedDC to allow buffering just the client, or the whole virtual area. - Restored ability to set a custom splitter sash size with SetSashSize. - Fixed wxScrolledWindow sizer behaviour so that the virtual size isn't used to set the window size. - Added wxTE_BESTWRAP (based on patch by Mart Raudsepp). - wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED is now only sent once at the end of splitter dragging and not after each CHANGING event (Jacobo Vilella Vilahur). - Added wxImage::IsTransparent(). Unix: - Fixed build on Linux/AMD64. wxMSW: - Added "orient" parameter to wxMDIParentFrame::Tile(). - wxTextCtrl with wxTE_RICH2 style now uses RichEdit 4.1 if available. - fix handling Alt-key events in wxComboBox (reported by Joakim Roubert). - wxWindow::Refresh() refreshes the window children as well. - Improved static box and radio box refresh and background colour handling (Jamie Gadd). wxGTK: - Improved wxSystemSettings::GetMetric() to work better with X11 (Mart Raudsepp). - Corrected wxListBox selection handling. - Corrected default button size handling for different themes. - Corrected splitter sash size and look for different themes. - Fixed keyboard input for dead-keys. - Added support for more wrapping styles (Mart Raudsepp). - GTK2.4+ wxFileDialog reimplemented to support non-modal usage better, and fix all known bugs (Mart Raudsepp). wxMac: - Added wxFRAME_EX_METAL, wxDIALOG_EX_METAL for metallic-look windows. wxPalmOS: - Native wxRadioBox implementation. wxWinCE: - Added wxNB_FLAT for flat-look notebooks on Windows CE. - Titlebar OK button on PocketPC now sends command set by SetAffirmativeId. You can also override wxDialog::DoOK if you need more flexibility. - Dialog size now takes into account SIP or menubar. - Panels more naturally white on PocketPC. - wxDIALOG_EX_CONTEXTHELP ignored on WinCE since it interferes with correct titlebar style. - Frames have Ctrl+Q accelerator set automatically, as per the PocketPC guidelines - Documented issues in manual under wxWinCE topic. - Made (Un)RegisterHotKey WinCE-aware. - Sends wxEVT_HIBERNATE event. - Now fakes wxEVT_ACTIVATE_APP to be symmetrical with wxEVT_HIBERNATE. - Added wxTE_CAPITALIZE for CAPEDIT controls. - wxDialog::GetToolBar can be used if you need to add buttons to the dialog's toolbar. 2.5.4 ----- All: - wxEvent and derived classes don't have public members any more, you must use accessors methods now (Mart Raudsepp) - new classes for reading and writing ZIP files (M.J.Wetherell) - large files support for wxFFile (M.J.Wetherell) - classes in the manual are now cross-referenced (Zbigniew Zagórski) - Norwegian (Bokmål) translation added (Hans F. Nordhaug) - wxDynamicLibrary::HasSymbol() added - added wxEXEC_NODISABLE flag to be used with wxExecute(wxEXEC_SYNC) - added wxTextInputStream::operator>>(wchar_t) for compilers which support this - added wxURI, a class for dealing with Uniform Resource Identifiers - changed wxURL to inherit from wxURI and provide assignment and comparison - implemented wxConvUTF7 (modified patch from Fredrik Roubert) - added versions of MB2WC and WC2MB for wxMBConv that works for embedded null chars - Unicode support in wxODBC is now fully implemented - A new data type specific to wxWidgets called SQL_C_WXCHAR has been introduced. SQL_C_WXCHAR should be used rather than SQL_C_CHAR to ensure transparent behavior between Unicode and non-unicode builds - BLOB example added to samples/db (thanks to Casey O'Donnell) - use wxStream::GetLength() instead of deprecated GetSize() - wxGetOsDescription() is now more precise (Olly Betts) - XRC supports system fonts and colours (Ray Gilbert) - Added flags argument to wxKill/wxProcess::Kill to kill child processes. - Added wxPrintFactory classes so that it is possible to add a new print system backend at run-time. This was required by the new GNOME printing stuff in the GTK port. - Deprecated print setup dialog. - Added support to the wxODBC classes for Firebird 1.5 database - The samples/db sample program now includes an optional example of using a BLOB datatype (if BLOB support is enabled and supported by the database) - added wxDynamicLibrary::ListLoaded() - wxGetPowerType() and wxGetBatteryState() addition - wxSystemSettings::GetSystem*() members deprecated and replaced with wxSystemSettings::Get*() - wxWindowBase::DoGetBestSize now includes the difference (if any) between the client size and total size of the window. Code that sets the client size using the best size, or that added extra space to sizers to compensate for this bug may need to be changed. - Changed calculation of scrolling area to not clip away some bits due to a rounding error. - Changed GetVirtualSize() to return client size by default until SetVirtualSize() gets called. From then on it will only return that. - Various changes to how wxListCtrl and wxTreeCtrl react to right mouse clicks and left mouse click for starting a drag operation. - "Alt" key (VK_MENU) now results in WXK_ALT keyboard event, not WXK_MENU - wxFFile::ReadAll() now takes an optional wxMBConv parameter - wxCommandProcessor::MarkAsSaved() and IsDirty() added (Angela Wrobel) - added wxStackWalker and related classes (Win32 and some Unix versions only) All (GUI): - added wxMediaCtrl - added wxDatePickerCtrl - wxHtmlWindow now supports background images given in tag - wxSplitterWindow now supports gravity parameter (Zbigniew Zagórski) - recursive wxSizer::GetItem returns item of given window, sizer or nth index - wxLayoutConstraints now use best size, not current size, for AsIs() condition - wxSizer::Add/Insert etc. now returns pointer to wxSizerItem just added and this item remembers its wxRect area (Brian A. Vanderburg II) - wxBookCtrl renamed to wxBookCtrlBase, wxBookCtrl is reserved for most native book control (for now wxChoicebook for MSSmartphone, wxNotebook for others). Necessary event macros, types and styles mapped accordingly. - new wxBrush::IsHatch() checking for brush type replaces IS_HATCH macro - wxProgressDialog accepts smooth gauge again (wxPD_SMOOTH style) - wxProgressDialog new style: wxPD_CAN_SKIP which provides skipping some parts of the progress (with new "Skip" button in dialog) - wxGenericListCtrl::SetItemState(-1) now changes the state of all items as in wxMSW version (Gunnar Roth) - added wxImage::InitAlpha() Unix: - wxPuts() now correctly outputs trailing new line in Unicode build wxGTK: - Added printing support by way of using libgnomeprint. The library now checks at runtime, if the library is installed and will use it if it is. Otherwise, it will fall back to the old PostScript printing code, from which the Pango drawing code was removed. - Implemented/improved wxDC::DrawRotatedText() - fixed wxFileDialog::SetWildcard() - native file dialog is now used if available (Zbigniew Zagorski) - implemented wxTextCtrl::Freeze() and Thaw(). The GtkTextBuffer is not a valid one during frozen state. Get a pointer to it right after wxTextCtrl creation if you really need to. (Mart Raudsepp) - Changed calls to GTK+ 2.4.x functions so that the code checks at runtime, which library version is installed so that these functions are only called with GTK+ 2.4.x installed and should yield linker errors otherwise. - wxTextCtrl text insertion efficiency fixed. (Mart Raudsepp) - Added wxRawBitmap support - Corrected Input method handler code (for Chinese etc.) and its interaction with wxWidgets' events. - wxTE_AUTO_URL implemention for wxGTK2 multiline wxTextCtrls (Mart Raudsepp) wxMac: - Vertical sliders oriented consistent with MSW/GTK (0 at top) (Kevin Hock) - wxDynamicLibrary::GetDllExt() now returns ".bundle", not ".dylib" - wxDynamicLibrary::GetSymbol() now prepends underscore to the symbol name - wxJoystick now works on OSX wxMSW: - fixed enhanced metafiles loading from files (Andreas Goebel) - wxRadioButtons no longer have to be consecutive in a group - fixed spurious selection of combobox text during resize - pass correct tool id (and not always -1) to EVT_TOOL_RCLICKED() handler - added wxRegKey::Export(file) wxWinCE: - Added support for MS Handheld PC 2000. This was done before 2.5.4, but not mentioned anywhere. - Added (preliminary) support for sockets wxUniv: - wxBU_... button align flags support - vertical notebook orientation support - 3rd state support for checkboxes - wxLB_SORT and wxCB_SORT now cause case-insensitive sorting wxPalmOS: - William Osborne has won and new port was born (see: "wxPalmOS porting challenge") - polishing of the port (unnecessary 2.4 API compatibility, removed all wxMSW specific code which was base for the new port) - enumeration of available volumes - native wxPrefConfig around Preferences database - native wxProgressDialog implementation - native wxColourDialog implementation - native wxSystemSettings colours - native wxButton implementation - native wxCheckBox implementation - native wxSlider implementation - native wxToggleButton implementation - native wxRadioButton implementation - native wxStaticText implementation - native wxDatePickerCtrl implementation 2.5.3 ----- All: - support for large (>2 Gb) files in wxFile (Tim Kosse) - number of fixes to wxPluginManager (Rick Brice, Hans Van Leemputten) - fixed memory leak in wxURL when using a proxy (Steven Van Ingelgem) - fixed bug in wxDateTime::Set(jdn) when DST was in effect - fixed fatal bug in wxString when wxUSE_STL==1 (Kurt Granroth) - support msgids in charsets other than C and languages other than English (based on patch by Stefan Kowski) - added wxMicroSleep() and wxMilliSleep() replacing deprecated wxUsleep() - basic UDP sockets support (Lenny Maiorani) - fixed wxDateTime::GetWeekDayName() for some dates (Daniel Kaps) - deprecated wxDateTime::SetToTheWeek() in favour of SetToWeekOfYear() - active mode support in wxFTP (Randall Fox) - sped up wxHTTP and wxFTP - added wxStringInput/OutputStreams - added wxFileConfig::Save(wxOutputStream) - fixed wxString's behavior with inserted null characters All (GUI): - added wxWindow::MoveBefore/AfterInTabOrder() to change tab navigation order - added wxTaskBarIcon::CreatePopupMenu which is now the recommended way of showing a popup menu; calling wxTaskBarIcon::PopupMenu directly is discouraged - added ..._CMD_...(id) variants for wxGrid event table entry macros - added wxWindow::Navigate for programmatic navigation to the next control - wxTextCtrl::OnChar now inserts a tab character if wxTE_PROCESS_TAB is set - added wxKeyEvent::GetUnicodeKey() - added wxKeyEvent::CmdDown() and wxMouseEvent::CmdDown() - implemented wxListCtrl::FindItem() for non-MSW (Robin Stoll) - added status bar fields styles support (Tim Kosse) - added convenience functions wxSizer::AddSpacer() and wxSizer::AddStretchSpacer() (as well as Prepend and Insert variants) - added samples/splash - added support for stock buttons - added wxTopLevelWindow::RequestUserAttention() - support for comma in contrib gizmo wxLEDNumberCtrl (Grant Likely) - recursive wxSizer::Show for subsizer and return value if element was found - added wxChoicebook control - smoother time estimation updates in wxProgressDialog (Christian Sturmlechner) - the XRC contrib library was moved to the core - wx(Choice/List/Note)book controls send CHANG(ED/ING) events in SetSelection - it is now possible to create a wxFont with given size in pixels (d2walter) - added wxTopLevelWindow::IsActive() - wxSystemSettings::GetMetric now returns -1 for metrics that are not supported, instead of zero. - IMPLEMENT_DYNAMIC_CLASS2 macro compilation fixed (Serge Bakkal) Unix: - wxTaskBarIcon now supports freedesktop.org System Tray protocol - security fixes to wxSingleInstanceChecker - wx-config script was modified to allow choosing from multiple installed builds of wxWidgets and to return flags/libs for selected libraries only - wx-config has new --version-full option wxCocoa: - added Unicode compatibility layer for OSX 10.2 - fixed so that wxCocoa runs in OSX 10.2 - Tooltips now supported - wxSound now supported - wxDisplay now supported - Some stock cursors now supported wxMac: - fixed MLTE text control GetLineText and GetLineLength on OSX - added OSX wxTaskBarIcon implementation for the OSX Dock - added Unicode compatibility layer for OSX 10.2 - wxGetKeyState now works with nearly all wx key codes wxGTK: - wxGTK uses GTK+ 2.x by default now, you have to pass --disable-gtk2 to configure if you want to use GTK+ 1.2 - fixed many rendering artifacts and wrong colours with lots of GTK+ themes - implemented wxColourDialog as native dialog - implemented wxTextCtrl::HitTest() (GTK+ >= 2) - implemented wxTextCtrl::ScrollLines() and ScrollPages for GTK+ 2.x - wxTreeCtrl::GetCount() counts root as well now (compatible with MSW) - added support for wxCHK_3STATE style (GTK2 only) - implemented text underlining under GTK2 - implemented wxFRAME_NO_TASKBAR style (GTK >= 2.2) - implemented support for wxSYS_DCLICK_?, wxSYS_DRAG_? and wxSYS_CURSOR_? in wxSystemSettings::GetMetric (Mart Raudsepp) - implemented wxTopLevel::IsMaximized() for GTK+2 and WMs that implement freedesktop.org's wm-spec (Mart Raudsepp) - wxEVT_CONTEXT_MENU is now generated for right mouse press, not release - implemented alpha channel support in wxBitmap - added native GTK+2 wxArtProvider implementation with ability to load icons from icon theme in addition to recognized stock art - fixed crash on 64 bit platforms (Paul Cornett) wxMotif: - added support for wxCHK_3STATE style (3 state checkbox) wxMSW: - fixed UNC paths handling in wxFileSystem (Daniel Nash) - set wxKeyEvent::m_uniChar in Unicode build - support for alpha channel in toolbar bitmaps (Jurgen Doornik) - wxFileDialog can now be moved and centered (Randall Fox) - restored (and improved) possibility to use wx with MFC broken in 2.5.2 - fixed wxTextCtrl::SetMaxLength for rich edit controls - fixed flat style for toolbars under XP, Windows Classic style - fixed truncation of transferred data in wxConnection under unicode build - wxChoice and wxComboBox dropdown background can be set now too (Adrian Lupei) - fixed wxMaximizeEvent generation in wxFrame - don't send duplicate EVT_COMBOBOX events whenever selection changes any more - implemented support for selecting printer bin (Steven Van Ingelgem) - fixed wxListCtrl::SetSingleStyle() which was broken since a few releases - fixed print setup problem (always uses default printer) in Unicode build wxUniv/X11: - fixed fatal crash when opening a menu wxWinCE: - added native WinCE driven smartphone wxTextCtrl implementation using spinners - added native WinCE driven smartphone wxChoice implementation using spinners - added automated but customizable handling of native WinCE driven smartphone menus - fixed wxRadioBox and wxStaticBox wxHTML: - added support for nested index entries and index entries pointing to more than one page to wxHtmlHelpController 2.5.2 ----- All: - Hindi translation added (Dhananjaya Sharma) - Brazilian Portuguese translation added (E. A. Tacao) - wxDynamicCast() now uses static_cast internally and so using it with anything not deriving from wxObject will fail at compile time (instead of run-time) now - when wxUSE_STL == 1 and STL provides quasi-standard hash_map/hash_set, wxHashMap/wxHashSet are just typedefs for them. This makes impossible to forward declare these classes. All (GUI): - wxHtmlWindow now delays image scaling until rendering, resulting in much better display of scaled images - Added UpdateSize to wxSplitterWindow to allow layout while hidden - implemented Freeze/Thaw() for wxGenericTreeCtrl (Kevin Hock) - support for KOI8-U encoding added (Yuriy Tkachenko) - The old wxADJUST_MINSIZE behaviour is now the default behaviour for sizer items that are windows. This means that GetAdjustedBestSize will now be called by default to determine the minimum size that a window in a sizer should have. If you want to still use the initial size (and not the BestSize) then use the wxFIXED_MINSIZE flag. When windows are added to a sizer their initial size is made the window's min size using SetSizeHints, and calls to wxSizer::SetItemMinSize are also forwarded to SetSizeHints for window items. - added wxRegEx::GetMatchCount() - it is now possible to display images in wxHtmlListBox wxMSW: - wxWindow::Freeze()/Thaw() can now be nested - Added wxSP_NO_XP_THEME style to wxSplitterWindow to switch off XP theming (some applications look bad without 3D borders) - wxMenuBar::GetLabelTop() doesn't include '&'s in the label any more - wxRegConf couldn't read global settings without admin privileges and didn't even try to do it by default -- now it does - wxTaskBarIcon must be explicitly destroyed now, otherwise the application won't exit even though there are no top level windows - wxFileName::GetModificationTime() works with opened files too now - wxDC::GetClippingBox() now works even for clipping regions created by Windows - fixed wxFileDataObject in Unicode build (Alex D) - subindented paragraphs support (Tim Kosse) wxGTK: - added support for wxTE_RIGHT and wxTE_CENTRE styles under GTK2 (Mart Raudsepp) wxMotif: - removed wxMenuItem::DeleteSubMenu() - wxButtons use Motif default size, which is smaller than it used to be and closer to wxMSW/wxGTK look. This can be disabled by setting motif.largebuttons system option to 1 (see wxSystemOptions). wxUniv/X11: - implemented DrawRoundedRectangle() (clawghoul) wxHTML: - improved tables and lists layout algorithms (Tim Kosse) -
handling fix (Xavier Nodet) Unix: - fixed priorities of mailcap entries (David Hart) - added "wx-config --libs=std," syntax (i.e. support for "std") wxODBC: - Full Unicode support is now available - BLOB support is working 2.5.1 ----- All: - event table macros now do some minimal type safety checks (Michael Sögtrop) - added wxGzipInput/OutputStream, bug fixes in wxZlibStreams (M.J.Wetherell) - wxDateTime::ParseDateTime() implemented (Linus McCabe) - wxHTTP::GetResponse() added (David Nock) - added conversions to/from UTF 16/32 LE/BE (Andreas Pflug) - added wxTextInputStream::ReadChar() (M.J.Wetherell) - added translation to Afrikaans (Petri Jooste) - Spanish translations updated (Javier San Jose) - added gettext plural forms support to wxLocale (Michael N. Filippov) - wxFileName::Normalize(wxPATH_NORM_ALL) doesn't lower filename case any more - wxFileName::Normalize(wxPATH_NORM_ENV_VARS) now works - check if file exists in wxFileConfig::DeleteFile() (Christian Sturmlechner) - when wxUSE_STL == 1 wxHashTable will not be implemented using wxHashMap (as in 2.5.0). - added some extra convenience functions to wxRect such as GetBottomRight (Hajo Kirchhoff) - changed built-in regex library to a Unicode-compatible version based on TCL sources (Ryan Norton, M. J. Wetherell) - added extra convenience functions to wxPoint for adding a wxSize (Wlodzimierz Skiba) - intermediate wxIPaddress class added to prepare for wxIPV6address (Ray Gilbert) - added overloaded constructors and Create() methods taking wxArrayString for wxChoice, wxComboBox, wxListBox, wxRadioBox, wxCheckListBox, wxSingleChoiceDialog, wxMultipleChoiceDialog - renamed wxWave class to wxSound All (GUI): - added 3-state checkboxes for MSW/Mac (Dimitri Schoolwerth) - added some support for C++ exceptions in the library (do read the manual!) - added wxListCtrl::GetViewRect() - added wxTextCtrl::MarkDirty() - wxToolBar::ToggleTool() now works for radio buttons (Dag Ågren) - wxListCtrl now sends an END_LABEL event if editing was cancelled, too - bug in wxRect ctor from two [out of order] wxPoints fixed (Steve Cornett) - status text is now restored after wxMenu help is shown in it - bug in wxWindow::RemoveEventHandler() fixed (Yingjun Zhang) - make it possible to use wxRTTI macros with namespaces (Benjamin I. Williams) - wxColourDatabase API now uses objects instead of pointers - added resolution option to JPEG image handler (Jeff Burton) - added wxCalendarEvent::SetDate, wxCalendarEvent::SetWeekDay - wxGenericDirCtrl now accepts multiple wildcards - added focus event forwarding to wxGrid (Peter Laufenberg) - fixed scrollbar problem in wxGrid (not showing scrollbars when sizing smaller) (Shane Harper) - dbbrowse demo fixed for Unicode (Wlodzimierz Skiba) - added wxStatusBar support to XRC (Brian Ravnsgaard Riis) - wxMenu::Append and etc. return a pointer to the wxMenuItem that was added or inserted, or NULL on failure. - using a -1 (wxID_ANY) for menu or toolbar item IDs will now generate new id - added option to generate C++ headers to wxrc utility (Eduardo Marques) - added wxDC::DrawPolyPolygon() for MSW/PS (Carl-Friedrich Braun) - wxBufferedDC now allows to preserve the background and is documented - added wxDC::GetPartialTextExtents wxMSW: - wxWidgets now builds under Win64 - fixed DDE memory leaks - fixed wxTE_*WRAP styles handling - wxTextCtrl::GetValue() works with text in non default encoding - changed wxCrashReport to generate minidumps instead of text files - wxRadioButtons are now checked when they get focus (standard behaviour) - several fixes to owner drawn menu items (Christian Sturmlechner) - wxGauge now supports full 32 bit range (Miroslav Rajcic) - make it possible to give focus to the notebook tabs (Hajo Kirchhoff) - MDI child frames are not always resizeable any more (Andrei Fortuna) - fixed enumerating of entries/groups under '/' in wxRegConfig - added wxSYS_ICONTITLE_FONT (Andreas Pflug) - added wxPATH_NORM_SHORTCUT to wxFileName - wxComboBox::GetValue within a wxEVT_COMMAND_TEXT_UPDATED event should now pass the correct value even if the handler for wxEVT_COMMAND_COMBOBOX_SELECTED changed the selection - wxFileDialog now returns correct filter index for multiple-file dialogs - added wxTextCtrl::HitTest() - experimental wxURL implementation using WinInet functions (Hajo Kirchhoff) - fixed several bugs in wxNotebook with wxNB_MULTILINE style - accelerators are now initially hidden if appropriate (Peter Nielsen) - background colour of a wxComboBox may now be set - fixed wxListCtrl::GetItemText/BackgroundColour() - Esc can now be used to close menus in the dialogs (Hartmut Honisch) - Added msw.remap system option so colourful toolbar buttons aren't mangled if you set it to 0. The default is 1 - Toolbar buttons are now centred if the bitmap size is smaller than the specified default size - Fixed a bug in wxSpinCtrl::DoGetBestSize that would make wxSpinCtrl too tall wxGTK: - fixes to wxTextCtrl scrolling under GTK2 (Nerijus Baliunas) - fix for crash when using user-dashed lines (Chris Borgolte) - fixed wxChoice::Delete() in presence of client data - allow calling wxWindow::SetFont if window not yet created - use same average character width as other ports when calculating dialog units - fixed mouse wheel handling under GTK2 (Hugh Fisher) - wxNotebook::HitTest() implemented (Daniel Lundqvist) - memory leaks fixes in wxFileDialog (John Labenski) - don't drop click events from triple clicks (Frode Solheim) wxMac: - use same average character width as other ports when calculating dialog units - implemented handling of mouse wheel - fix for long file names (longer than 32 characters) in file dialogs - use Unix sockets for Mach-o builds wxMotif: - look for Motif 2.1 headers before Motif 1.2 ones in configure wxHTML: - wxHtmlHelpController now supports compressed MS HTML Help files (*.chm) on Unix (Markus Sinner) Unix: - added XFree86 resolution changing using xf86vidmode extensions (Ryan Norton) - implemented asynchronous playback in wxSound and added SDL backend in addition to existing OSS one - it is now possible to send PostScript to any output stream (Zoltan Kovacs) 2.5.0 ----- All: - It is now possible to build several smaller libraries instead of single huge wxWidgets library; wxBase is now dependency of GUI ports rather then separately compiled library - added wxDateSpan::operator==() and !=() (Lukasz Michalski) - added wxFileName::GetForbiddenChars() (Dimitri Schoolwerth) - use true/false throughout the library instead of TRUE/FALSE - wxStopWatch::Start() resumes the stop watch if paused, as per the docs - added wxDirTraverser::OnOpenError() to customize the error handling - added wxArray::SetCount() - wxFile, wxFFile, wxTextFile and wxTempFile now all use UTF-8 encoding by default in Unicode mode - bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed - added wx/math.h (John Labenski) - added Catalan translations (Pau Bosch i Crespo) - added Ukrainian translations (Eugene Manko) - fixed bug with deleting entries at root level in wxFileConfig - chkconf.h now includes platform-specific versions (for MSW and Mac) which contain some tests that were in setup.h - added event sink argument to wxEvtHandler::Connect() - added support for POST method and alt ports to wxHTTP (Roger Chickering) - added wxSocket::IPAddress() (Chris Mellon) - wxDataStreams can read/write many elements at once (Mickael Gilabert) - added wxRecursionGuard class - added wxThreadHelper class (Daniel Howard) - Added STL support (--enable-stl for configure, wxUSE_STL in setup.h). When enabled, wxString will derive from std::string, wxArray from, std::vector, wxList from std::list. In addition wxHashTable will be implemented in terms of wxHashMap. - Added wxList::compatibility_iterator. Can be used like wxNode* (except it can't be delete()d). It permits writing code which will work both with wxUSE_STL==1 and wxUSE_STL==0. wxBase: - added Watcom makefiles - fixed bug with searching in sorted arrays (Jürgen Palm) All GUI ports: - added wxVScrolledWindow, wxVListBox and wxHtmlLbox classes - added wxListbook control - added alpha channel support to wxImage - added wxRenderer class allowing to customize the drawing of generic controls - added wxCLOSE_BOX style for dialogs and frames - added wxSplitterWindow and wxWizard handlers to XRC - wxWizard is now sizer-friendly and may be made resizeable (Robert Vazan) - added proportion to wxFlexGridSizer::AddGrowableRow/Col (Maxim Babitski) - added wxFlexGridSizer::SetFlexibleDirection() (Szczepan Holyszewski) - implemented GetEditControl for wxGenericTreeCtrl (Peter Stieber) - improved contrib/utils/convertrc parsing (David J. Cooke) - fixed handling of URLs and filenames in wxFileSystem - implemented alignment for wxGrid bool editor and renderer - support wxListCtrl columns alignment for all platforms and not just MSW - added wxToolBar Add/InsertTool(tool) (Janusz Piwowarski) - added wxTB_HORZ_TEXT style for MSW and GTK (Axel Schlueter) - fixed user dash handling for MSW and GTK (Ken Edwards) - WXR resources can now be used in Unicode builds - it is now possible to use several wxFileHistory objects in the same menu by giving them different base IDs (Dimitri Schoolwerth) - Added wxTLW::SetShape with implementations for wxMSW and wxGTK (so far) - FL: removed const from EnableTool parameters - FL: signal child window when toolbar is closed - In various places, changed tests for pathsep on last char of string to call wxEndsWithPathSeparator(s) - Added to defs.h a couple of macros (wxPtrToULong & wxULongToPtr) - Minor improvements to document/view framework, including delayed deletion of a document (until after the user has chosen a new document), and more intelligent addition of filenames to the file history, including not adding filenames if not using the default extension for the template - sped up wxImage::Scale using fixed point arithmetic (Wade Brainerd) - Added BLOB support to wxDB (John Skiff) - wxWizard now validates when pressing Back or Next - Implemented wxNotebook::DoGetBestSize so Fit now works - Added FindItemByPosition to wxMenu - wxTimer now derives from wxEvtHandler and is its own owner object by default - Extended wxTextAttr and added wxTextCtrl::GetStyle stub to allow better rich text support. - implemented wxFlexGridSizer::Show() (Wade Brainerd) - Added m_ prefix to wxColourData and wxFontData members - Added wxHtmlPrintout::AddFilter so HTML printing can be subject to custom filters as well as HTML viewing. - Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code. - wxWindow::OnInternalIdle is now used in all ports, and ensures that user OnIdle events do not interfere with crucial internal processing. - wxWindow::UpdateWindowUI is now a documented function that sends wxUpdateUIEvents, and can be overridden. It has a helper function DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action. - Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval, CanUpdate, to assist with optimising update event frequency. - Added functions to wxIdleEvent: Set/GetMode, CanSend, to determine whether a window should receive idle events. - Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window styles for use with conservative idle and update event modes. - send menu update events only when a menu is about to be used (MSW/GTK) - improved event processing performance (Hans Van Leemputten) - added wxMirrorDC class - printing improvements: GetPageInfo() gets called after the DC has been set and after OnPreparePrinting() has been called so it can report the number of pages accurately; doesn't try to set number of pages in print dialog, in common with other Windows apps; wxHTML easy printing's preview shows number of pages correctly; preview scrollbars are set correctly; keyboard navigation improved Unix: - fixed compilation on systems with zlib installed but < 1.1.3 version - fixed compilation on Solaris 7 with large files support enabled - added wxTaskBarIcon implementation for X11 - added support for GNU/Hurd in configure - wxLocale::Init now tries to set .utf8 locale in Unicode mode (Andreas Pflug) Generic controls: - implemented wxListCtrl::Refresh() (Norbert Berzen) - support adding/removing columns dynamically (Donald C. Taylor) - wxToolBarSimple, property list classes, wxTreeLayout moved to contrib/src/deprecated wxGTK: - added support for label mnemonics to GTK+2 build (Michael Moss) - added native wxMessageDialog implementation for GTK+2 build - fixed wxMenu::Remove (John Skiff and Benjamin Williams) - made wxTextCtrl::EmulateKeyPress() work for Delete and Backspace - fixed wxTopLevelWindow::ShowFullScreen to work with kwin, IceWM and window managers that support _NET_WM_STATE_FULLSCREEN - added wxEVT_MENU_OPEN event generation - fixed bug in generic file selector causing incomplete file extensions to be appended to filenames with no extension - added wxTextCtrl::SetSelection implementation for GTK+ 2 - fixed wxTextCtrl::IsEditable() for GTK+ 2 - fixed wxStaticText alignment for GTK+ 2 (Kevin Hock) - don't consume 100% CPU when showing a popup menu wxMac: - generate wxEVT_SCROLL_THUMBRELEASE and wxEVT_SCROLLWIN_THUMBRELEASE events - generate wxEVT_MENU_OPEN and wxEVT_MENU_CLOSE events wxMSW: - possibility to use DIBs for wxBitmap implementation (Derry Bryson) - added wxCrashReport - wxStaticBitmap doesn't stretch its bitmap any longer (like other ports) - support for accelerator keys in the owner drawn menus (Derry Bryson) - wxCaret::SetSize() doesn't hide the caret any longer as it used to - wxCheckListBox::Check() doesn't send CHECKLISTBOX_TOGGLE event any more - fixed bugs in wxThread::Wait() and IsAlive() - fixed bug with wxTR_EDIT_LABELS not working with wxTR_MULTIPLE - fixes for compilation with OpenWatcom and DigitalMars compilers - fixed wxStaticText best size calculation (was wrong by '&' width) - fixed calling wxFrame::Maximize(FALSE) before the window is shown - added wxNotebook::HitTest() (Otto Wyss) - libraries built with makefile.g95 have a _min or _cyg suffix (MinGW/Cygwin) - when using DLL, wxLocalFSHandler was not being exported - fixed problem with wxEvtHandler object not removed from wxPendingEvents - Windows XP manifest is now included in wx.rc; it is no longer necessary to ship .exe.manifest file with applications to support XP themes - wxLocale::Init no longer reports error if trying to set Unicode-only locale or if user's default locale is Unicode-only - improved border handling under Windows XP - partial fix for wxNotebook pages looking bad under XP: wxUSE_UXTHEME enables XP theme engine code, and wxUSE_UXTHEME_AUTO tells wxWidgets to use the theme tab colour for control backgrounds. - disable wxNB_RIGHT, wxNB_LEFT, wxNB_BOTTOM notebook styles under Windows XP - fixed release mode build with VC 7.x (Martin Ecker) - added support for wxALWAYS_SHOW_SB style - you don't need to add opengl32.lib when using VC++ now (David Falkinder) wxMotif: - made wxFileDialog behaviour with complex wildcards more sensible (it still does not support all the features other ports do); refer to wxFileDialog documentation for a detailed explanation - implemented wxWakeUpIdle - for Motif 2.0, used the native combobox widget instead of the GPL'd xmcombo; xmcombo is still used for Motif 1.x and Lesstif when compiled with Motif 1.x compatibility - implemented wxToggleButton - wxRadioBox and wxStaticBox now use the default shadow (border) style instead of a sunken border - implemented wxBitmapDataObject - finished wxClipboard implementation wxUniv: - controls in toolbars now supported wxHTML: - added text selection to wxHtmlWindow - added SetFonts to HTML printing classes (Adrian Philip Look) - it is now possible to force page break when printing by inserting
into the markup (Greg Chicares) - wxHtmlWindow now uses double buffering to prevent flicker OLD CHANGES =========== INCOMPATIBLE CHANGES SINCE 2.2.x ================================ Please take a few minutes to read the following list, especially paying attention to the most important changes which are marked with '!' in the first column. Also please note that you should ensure that WXWIN_COMPATIBILITY_2_2 is defined to 1 if you wish to retain maximal compatibility with 2.2 series -- however you are also strongly encouraged to try to compile your code without this define as it won't be default any longer in 2.6 release. NB: if you want to build your program with different major versions of wxWidgets you will probably find the wxCHECK_VERSION() macro (see the documentation) useful. wxBase: ! wxArray::Remove(size_t) has been removed to fix compilation problems under 64 bit architectures, please replace it with RemoveAt() in your code. ! wxArray macros have been changed to fix runtime problems under 64 bit architectures and as a side effect of this WX_DEFINE_ARRAY() can only be used now for the pointer types, WX_DEFINE_ARRAY_INT should be used for the arrays containing non-pointers. - wxObject::CopyObject() and Clone() methods were removed because they simply don't make sense for all objects - wxEvent now has a pure virtual Clone() method which must be implemented by all derived classes, if you have user-defined event classes please add "wxEvent *Clone() const { return new MyEvent(*this); }" line to them - small change to wxStopWatch::Pause() semantics, please see the documentation - unlikely but possible incompatibility: the definition of TRUE has changed from "1" to "(bool)1" (and the same thing for FALSE), so the code which could be erroneously compiled previously such as doing "return FALSE" from a function returning a pointer would stop compiling now (but this change is not supposed to have any effects on valid code) - another minor change: wxApp::OnAssert() has a new "cond" argument, you must modify YourApp::OnAssert() signature if you were using it to override the default assert handling. All (GUI): ! the event type constants are not constants any more but are dynamically allocated during run-time which means that they can't be used as case labels in the switch()es, you must rewrite them to use if()s instead You may also define WXWIN_COMPATIBILITY_EVENT_TYPES to get the old behaviour but this is strongly discouraged, please consider changing your code instead! ! wxDialog does not derive from wxPanel any longer - if you were using it in your code, please update it. The quick fix for the most cases is to replace the occurrences of wxPanel with wxWindow. ! if you handle (and don't skip) EVT_KEY_DOWN, the EVT_CHAR event is not generated at all, so you must call event.Skip() in your OnKeyDown() if you want to get OnChar() as well - in general, the key events sent for the various non ASCII key combinations have been changed to make them consistent over all supported platforms, please see the wxKeyEvent documentation for details - wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO have changed (to fix some unfortunate clashes), please check your code to ensure that no tests for wxYES or wxNO are broken: for example, the following will *NOT* work any longer: if ( flags & wxYES_NO ) ... do something ... if ( flags & wxYES ) ... do something else ... - static wxWizard::Create() doesn't exist any more, the wizards are created in the same way as all the other wxWindow objects, i.e. by directly using the ctor - wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow - wxGridCellAttrProvider class API changed, you will need to update your code if you derived any classes from it - wxImage::ComputeHistogram()'s signature changed to unsigned long ComputeHistogram(wxImageHistogram&) const - wxEvtHandler cannot be copied/assigned any longer - this never worked but now it results in compile-time error instead of run-time crashes - WXK_NUMLOCK and WXK_SCROLL keys no longer result in EVT_CHAR() events, they only generate EVT_KEY_DOWN/UP() ones - the dialogs use wxApp::GetTopWindow() as the parent implicitly if the parent specified is NULL, use wxDIALOG_NO_PARENT style to prevent this from happening - several obsolete synonyms are only retained in WXWIN_COMPATIBILITY_2_2 mode: for example, use wxScrolledWindow::GetViewStart() now instead of ViewStart() and GetCount() instead of Number() in many classes - wxCmdLineParser does not use wxLog to output messages anymore. to obtain the previous behaviour, add wxMessageOutput::Set(new wxMessageOutputLog); to your program (you will need to #include ) wxMSW: ! build system changed: setup.h is not a static file in include/wx any more but is created as part of the build process under lib//wx where is of the form (msw|univ)[dll][u][d]. You'll need to update the include path in your make/project files appropriately. Furthermore, xpm.lib is no longer used by wxMSW, it was superseded by the wxXPMDecoder class. You'll need to remove all references to xpm.lib from your make/project files. Finally, the library names have changed as well and now use the following consistent naming convention: wxmsw[ver][u][d].(lib|dll) where 'u' appears for Unicode version, 'd' -- for the debug one and version is only present for the DLLs builds. - child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR style to avoid it - all overloads of wxDC::SetClippingRegion() combine the given region with the previously selected one instead of replacing it - wxGetHomeDir() uses HOME environment variable and if it is set will not return the programs directory any longer but its value (this function has never been meant to return the programs directory anyhow) - wxHTML apps don't need to include wx/html/msw/wxhtml.rc in resources file anymore. The file was removed from wxMSW Unix ports: ! You should use `wx-config --cxxflags` in your makefiles instead of `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS and the compiler flags for C++ files only, CFLAGS should still be used to compile pure C files. wxThread and related classes: - The thread-related classes have been heavily changed since 2.2.x versions as the old code had many serious problems. This could have resulted in semantical changes other than those mentioned here, please review use of wxThread, wxMutex and wxCondition classes in your code. ! wxCondition now *must* be used with a mutex, please read the (updated) class documentation for details and revise your code accordingly: this change was unfortunately needed as it was impossible to ensure the correct behaviour (i.e. absence of race conditions) using the old API. - wxMutex is not recursive any more in POSIX implementation (it hasn't been recursive in 2.2.x but was in 2.3.1 and 2.3.2), please refer to the class documentation for the discussion of the recursive mutexes. - wxMutex::IsLocked() doesn't exist any more and should have never existed: this is was unique example of a thread-unsafe-by-design method. OTHER CHANGES ============= 2.4.0 ----- wxMSW: - fixed loss of client data in wxChoice::SetString() 2.3.4 ----- All: - added (partial) Indonesian translations (Bambang Purnomosidi D. P.) - added wxSizer::Show()/Hide() (Carl Godkin) - fixed bugs in wxDateTime::SetToWeekDay()/GetWeek() Unix (Base/GUI): - minor OpenBSD compilation/linking fixes, now builds OOB under OpenBSD 3.1 - don't include -I/usr/include nor -I/usr/local/include in wx-config output - shared library symbols are now versioned on platforms that support it (Linux) wxGTK: - Further work for GTK 2.0 and Unicode support. - Addition of native frame site grip. wxX11: - Unicode support through Pango library. wxMSW: - fixed crashes in wxListCtrl under XP - added context menu for rich edit wxTextCtrl wxHTML: - fixed wxHTML to work in Unicode build 2.3.3 ----- wxBase: - building wxBase with Borland C++ is now supported (Michael Fieldings) - wxSemaphore class added, many fixed to wxCondition and wxThread (K.S. Sreeram) - fixes to the command line parsing error and usage messages - modified wxFileName::CreateTempFileName() to open the file atomically (if possible) and, especially, not to leak the file descriptors under Unix - memory leak in wxHTTP fixed (Dimitri Schoolwerth) - fixes to AM_PATH_WXCONFIG autoconf macro - added wxHashMap class that replaces type-unsafe wxHashTable and is modelled after (non standard) STL hash_map - wxLocale now works in Unicode mode - wxLocale can now load message catalogs in arbitrary encoding - added wxShutdown() function (Marco Cavallini) - added wxEXPLICIT macro - IPC classes improved and memory leaks fixed (Michael Fielding). Global buffer removed, duplication in docs removed - debug new/free implementations made thread-safe Unix (Base/GUI): - wxWidgets may be built using BSD and Solaris (and possibly other) make programs and not only GNU make - wxTCP-based IPC classes now support communicating over Unix domain sockets - wxWidgets may be built as a dynamic shared library under Darwin / Mac OS X lazy linking issues have been solved by linking a single module (.o) into the shared library (two step link using distrib/mac/shared-ld-sh) - fixed thread priority setting under Linux All (GUI): - it is now possible to set the icons of different sizes for frames (e.g. a small and big ones) using the new wxIconBundle class - implemented radio menu items and radio toolbar buttons - added possibility to show text in the toolbar buttons - added wxArtProvider class that can be used to customize the look of standard wxWidgets dialogs - significantly improved native font support - wxImage::ComputeHistogram() now uses wxImageHistogram instead of type-unsafe wxHashTable - added IFF image handler - fixed using custom renderers in wxGrid which was broken in 2.3.2 - support for multiple images in one file added to wxImage (TIFF, GIF and ICO formats) - support for CUR and ANI files in wxImage added (Chris Elliott) - wxTextCtrl::GetRange() added - added wxGetFontFromUser() convenience function - added EVT_MENU_OPEN and EVT_MENU_CLOSE events - added Hungarian translations (Janos Vegh) - added wxImage::SaveFile(filename) method (Chris Elliott) - added wxImage::FloodFill and implemented wxWindowDC::DoFloodFill method for GTK+, Mac, MGL, X11, Motif ports (Chris Elliott) - added (platform-dependent) scan code to wxKeyEvent (Bryce Denney) - added wxTextCtrl::EmulateKeyPress() - Added wxMouseCaptureChangedEvent - Added custom character filtering to wxTextValidator - wxTreeCtrl now supports incremental keyboard search - wxMessageOutput class added - wxHelpProvider::RemoveHelp added and called from ~wxWindowBase so that erroneous help strings are no longer found as the hash table fills up - updated libpng from 1.0.3 to 1.2.4 - Added wxView::OnClosingDocument so the application can do cleanup. - generic wxListCtrl renamed to wxGenericListCtrl, wxImageList renamed to wxGenericImageList, so they can be used on wxMSW (Rene Rivera). - Added wxTreeEvent::IsEditCancelled so the application can tell whether a label edit was cancelled. - added static wxFontMapper::Get() accessor wxMSW: - small appearance fixes for native look under Windows XP - fixed the bug related to the redrawing on resize introduced in 2.3.2 - fixed multiple bugs in wxExecute() with IO redirection - refresh the buttons properly when the window is resized (Hans Van Leemputten) - huge (40*) speed up in wxMask::Create() - changing wxWidgets styles also changes the underlying Windows window style - wxTreeCtrl supports wxTR_HIDE_ROOT style (George Policello) - fixed flicker in wxTreeCtrl::SetItemXXX() - fixed redraw problems in dynamically resized wxStaticText - improvements to wxWidgets applications behaviour when the system colours are changed - choose implicit parent for the dialog boxes better - fixed wxProgressDialog for ranges > 65535 - wxSpinButton and wxSpinCtrl now support full 32 bit range (if the version of comctl32.dll installed on the system supports it) - wxFontEnumerator now returns all fonts, not only TrueType ones - bugs in handling wxFrame styles (border/caption related) fixed - showing a dialog from EVT_RADIOBUTTON handler doesn't lead to an infinite recursion any more - wxTextCtrl with wxTE_RICH flag scrolls to the end when text is appended to it - the separators are not seen behind the controls added to the toolbar any more - wxLB_SORT style can be used with wxCheckListBox - wxWindowDC and wxClientDC::GetSize() works correctly now - Added wxTB_NODIVIDER and wxTB_NOALIGN so native toolbar can be used in FL - Multiline labels in buttons are now supported (simply use "\n" in the label) - Implemented wxMouseCaptureChangedEvent and made wxGenericDragImage check it has the capture before release it. - fixed bugs in multiple selection wxCheckListBox - default button handling is now closer to expected - setting tooltips for wxSlider now works - disabling a parent window also disables all of its children (as in wxGTK) - multiple events avoided in wxComboBox - tooltip asserts avoided for read-only wxComboBox - fixed a race condition during a thread exit and a join - fixed a condition where a thread can hang during message/event processing - increased space between wxRadioBox label and first radio button - don't fail to register remaining window classes if one fails to register - wxFontDialog effects only turned on if a valid colour was provided in wxFontData - Added wxTE_LEFT, wxTE_CENTRE and wxTE_RIGHT flags for text control alignment. - Bitmap printing uses 24 bits now, not 8. wxGTK: - wxDirDialog now presents the file system in standard Unix way - wxButton now honours wxBU_EXACTFIT - wxStaticBox now honours wxALIGN_XXX styles - added support for non alphanumeric simple character accelerators ('-', '=') - new behaviour for wxWindow::Refresh() as it now produces a delayed refresh. Call the new wxWindow::Update() to force an immediate update - support for more SGI hardware (12-bit mode among others) - fixed wxDC::Blit() to honour source DC's logical coordinates - implemented wxIdleEvent::RequestMore() for simple background tasks - implemented wxChoice::Delete() - fixed bad memory leak in wxFileDialog (Chris Elliott) - made internal GC pool dynamically growable - added GTK+ 2 and Unicode support wxMotif: - improved colour settings return values (Ian Brown) - improved border style handling for wxStaticText (Ian Brown) - improved toolbar control alignment - implemented wxSpinButton - implemented wxCheckListBox - fixed wxSpinCtrl and wxStaticLine when used with sizers - wxStaticBitmap now shows transparent icons correctly wxX11: - added generic MDI implementation (Hans Van Leemputten) - first cut at wxSocket support (not yet working) wxMac: - Many improvements wxOS2: - First alpha-quality release wxHTML: - fixed wxHtmlHelpController's cache files handling on big endian machines - added blocking and redirecting capabilities to wxHtmlWindow via wxHtmlWindow::OnOpeningURL() - fixed alignment handling in tables - fixed handling to be case insensitive 2.3.2 ----- New port: wxUniv for Win32/GTK+ is now included in the distribution. wxBase: - wxRegEx class added - wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber) - wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen) - more fixes to wxMBConv classes. Conversion to and from wchar_t now works with glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s capabilities at runtime instead of in the configure script. All (GUI): - support for virtual list control added - column images in report mode of the list control - wxFindReplaceDialog added (based on work of Markus Greither) - wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK) - polygon support in wxRegion (Klaas Holwerda) - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added - fixed bug with using wxExecute() to capture huge amounts of output - new wxCalendarCtrl styles added (Søren Erland Vestø) - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh) - wxDirSelector() added (Paul A. Thiessen) - wxGrid cell editing veto support (Roger Gammans) - wxListCtrl ITEM_FOCUSED event added - support for ICO files in wxImage added (Chris Elliott) - improvements to wxDragImage (Chuck Messenger) wxMSW: - support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook) - new library naming convention under VC++ -- please change your application project files wxGTK: - fixed popup menu positioning bug - fixed the edit function for wxListCtrl (Chuck Messenger) - fixed the key-hitting events for wxListCtrl and wxTreeCtrl, so they correctly return the key which was pressed (Chuck Messenger) wxMac: - support for configuration and build under Mac OS X using the Apple Developer Tools wxHTML: - new HTML parser with correct parsing of character entities and fixes to tags parsing - added support for animated GIFs 2.3.1 ----- wxBase: - Fixes for gcc 3.0 - Fixed new charset detection code - ODBC Informix fixes (submitted by Roger Gammans) - Added ODBC date support to wxVariant - Added wxDir::Traverse - Added wxSingleInstanceChecker class - Removed redundant wxDebugContext functions using C++ streams, so now standard stream usage should be unnecessary All (GUI): - Added wxDbGrid class for displaying ODBC tables - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the user code can get access to the edit control when it is created, (to push on a custom event handler for example) - Added wxTextAttr class and SetStyle, SetDefaultStyle and GetDefaultStyle methods to wxTextCtrl - Added wxSingleInstanceChecker - Improvements to Tex2RTF - Added Paul and Roger Gammans' grid controls - Bug in wxDocument::Save logic corrected, whereby Save didn't save when not first-time saved - Fixed memory leak in textcmn.cpp - Various wxXML enhancements - Removed wxCLIP_CHILDREN style from wxSplitterWindow - Fixed memory leak in DoPrint, htmprint.cpp - Fixed calendar sample bug with using wxCommandEvent::GetInt() instead of GetId() - Added wxDbGrid combining wxODBC classes with wxGrid - Added more makefiles and project files for contrib hierarchy wxMSW: - Fixed wxApp::ProcessMessage so controls don't lose their accelerators when the accelerators are redefined elsewhere - Accelerators consisting of simple keystrokes (without control, alt or shift) now work - Compile fixes for Watcom C++ added - Compile fixes for Cygwin 1.0 added - Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop() - Replaced wxYield() call in PopupMenu() by a much safer wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones - Enter processing in wxSpinCtrl fixed - Fixed bug in determining the best listbox size - Fix for wxFrame's last focus bug - We now send iconize events - Fixed wxFrame::SetClientSize() with toolbar bug - Added mousewheel processing - Added wxSystemSettings::Get/SetOption so we can configure wxWidgets at run time; used this to implement no-maskblt option in wxDC - Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI child frame styles are honoured wxGTK: - Fixed slider rounding bug - Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding() - We now send iconize events - Fix for discrepancies between wxNotebookEvent and wxNotebook GetSelection() results 2.3.0 ----- wxBase: - fixed problem with wxURL when using static version of the library - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories - wxMimeTypesManager now can create file associations too (Chris Elliott) - wxCopyFile() respects the file permissions (Roland Scholz) - wxFTP::GetFileSize() added (Søren Erland Vestø) - wxDateTime::IsSameDate() bug fixed - wxTimeSpan::Format() now behaves more as expected, see docs - wxLocale now provides much more convenient API for setting language and detecting current system language. New API is more abstracted and truly cross-platform, independent of underlying C runtime library. All (GUI): - new wxToggleButton class (John Norris, Axel Schlueter) - wxCalendarCtrl not highlighting the date with time part bug fixed - wxADJUST_MINSIZE sizer flag added - FindOrCreateBrush/Pen() bug fix for invalid colour values - new wxXPMHandler for reading and writing XPM images - added new (now recommended) API for conversion between wxImage and wxBitmap (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of wxImage methods and ctor) - ODBC classes now support DB2, Interbase, and Pervasive SQL - ODBC documentation complete!! - ODBC classes have much Unicode support added, but not complete - ODBC experimental BLOB support added, but not completely tested - ODBC NULL column support completed (Roger/Paul Gammans) - ODBC All "char *" and char arrays removed and replaced with wxString use wxMSW: - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen) - fixed bug in MDI children flags (mis)handling - it is possible to compile wxCHMHelpController with compilers other than Visual C++ now and hhctrl.ocx is loaded at runtime wxGTK: - added support for wchar_t (wxUSE_WCHAR_T) under Unix wxHTML: - mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup - visual enhancements to contents panel of wxHtmlHelpController 2.2.0 ----- wxBase: - Fixed bug with directories with trailing (back)slashes in wxPathExists - wxString: added wxArrayString::operator==() and !=() - Fixes for wxCmdLineParser - Added wxGetLocalTimeMillis - Completed Czech translations - Some stream corrections - added missing consts to wxPoint operators - wxDateTime ParseFormat fixes - wxFile::Open(write_append) will create file if it doesn't exist - small fixes to MIME mailcap test command handling, more MIME tests in the sample All (GUI): - wxGenericDragImage now allows virtual image drawing, and flicker-free dragging is now possible - Added wxPrinter::GetLastError - Fixed wxLogGui reentrancy problem - Paper names now translated - wxGrid fixes - Generic validator now caters for more cases (integers in wxTextCtrl, strings in wxChoice, wxComboBox) - Fixed crash when docview On... functions return FALSE. Show error message when an non-existent filename is typed into the Open File dialog. - Corrected Baltic font encoding handling - wxImage: enhanced TIFF code, added new platform-independent BMP writing code - wxKeyEvent::GetKeyCode() and HasModifiers() added and documented - Fixed wxPropertyForm crashes in sample - wxWizard now calls TransferDataFromWindow() before calling wxWizardPage::GetNext() fixing an obvious bug wxMSW: - wxWindow::GetCharWidth/Height now calculated accurately. This will affect all .wxr dialog resources, so for backward compatibility, please set wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h - wxListCtrl: set item text in LIST_ITEM_ACTIVATED events - wxTextCtrl: implemented setting colours for rich edit controls - wxColour now accepts both grey and gray - BC++ DLL compilation fixed - Watcom C++ makefiles improved for JPEG and TIFF compilation - Fixed submenu accelerator bug - Fixed dialog focus bug (crash if the previous window to have the focus was destroyed before the dialog closed) - Too-small default wxTextCtrl height fixed - fixed "missing" initial resize of wxMDIChildFrame - wxFrame restores focus better - Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to frames and dialogs, interferes with other window styles otherwise (sometimes you'd get a thick frame in a subwindow) - wxTextCtrl insertion point set to the beginning of the control by SetValue - Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called. - wxFileDialog: adjusts struct size if there's an error (struct sizes can be different on different versions of Windows) - wxImageList::GetSize() documented and added to wxMSW - fixed default dialog style to make them non resizeable again - fixed wxFrame::IsShown() which always returned TRUE before wxGTK: - Please see docs/gtk/changes.txt. wxMotif: - Small compilation fixes Documentation: - wxCaret documented 2.1.16 ------ wxBase: All (GUI): wxMSW: - Various bug fixes - Added wxCHMHelpController, for invoking MS HTML Help files. This works under VC++ only - Modal dialog handling improved - Printer dialog now modal wxGTK: - Various bug fixes wxMotif: - Various bug fixes 2.1.15 ------ Documentation: - Added docs/tech for technical notes File hierarchy: - Started new contrib hierarchy that mirrors the main lib structure; moved OGL and MMedia into it wxBase: - wxSocket support - wxDateTime replaces and extends old wxDate and wxTime classes (still available but strongly deprecated) with many new features - wxLongLong class provides support for (signed) 64 bit integers - wxCmdLineParser class for parsing the command line (supporting short and long options, switches and parameters of different types) - it is now possible to build wxBase under Win32 (using VC++ only so far) and BeOS (without thread support yet) - wxThread class modified to support both detached and joinable threads, also added new GetCPUCount() and SetConcurrency() functions (useful under Solaris only so far) - wxDir class for enumerating files in a directory - wxLog functions are now (more) MT-safe - wxStopWatch class, timer functions have more chances to return correct results for your platform (use ANSI functions where available) - wxString::ToLong, ToULong, ToDouble methods and Format() static one added - buffer overflows in wxString and wxLog classes fixed (if snprintf() function is available) - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index) all (GUI): - Added wxImage::Rotate. - new wxCalendarCtrl class for picking a date interactively - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu management - wxToolBar supports arbitrary controls (not only buttons) and can be dynamically changed (Delete/Insert functions) - vertical toolbars supported by MSW and GTK native wxToolBar classes - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items - "file open" dialog allows selecting multiple files at once (contributed by John Norris) - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the MIME types if available (Unix only) - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader) - TIFF support added (libtiff required and included in the distribution) - PCX files can now be written (256 and 24 bits) - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set - wxScrolledWindow now has keyboard interface - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD) - added wxEncodingConverter and improved wxFontMapper for dealing with conversions between different encodings, charsets support in wxLocale and wxHTML - wxDragImage class added - samples/help improved to show standard and advanced HTML help controllers, as well as native help - moved wxTreeLayout class to main lib wxMSW: - wxFrame::MakeFullScreen added. - support for enhanced metafiles added, support for copying/pasting metafiles (WMF and enhanced ones) fixed/added. - implemented setting colours for push buttons - wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be positioned along the top of the screen and not only at the bottom - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun) - loading/saving big (> 32K) files in wxTextCtrl works - tooltips work with wxRadioBox - wxBitmap/wxIcon may be constructed from XPM included into a program, as in Unix ports - returning FALSE from OnPrintPage() aborts printing - VC++ makefiles and project files made (mostly) consistent - wxSetCursorEvent added wxGTK: - wxFontMapper endless recursion bug (on some systems) fixed - wxGTK synthesizes wxActivateEvents - UpdateUI handlers may be used with wxTextCtrl wxMotif: - wxMenu::Enable works - wxToolBar bugs fixed - OGL samples made to work again wxHTML: - almost complete rewrite of wxHtmlHelpController, including faster search, bookmarks, printing, setup dialog and cross-platform binary compatible .cached files for faster loading of large helpbooks, case insensitive search split into 3 parts: wxHtmlHelpData, Frame and Controller - added support for charsets and tag - added support for font faces and justified paragraphs, taken some steps to prepare wxHTML for frames - added dynamic pushing/popping of wxHtmlParser tag handlers - improved HTML printing - added extensive table of HTML characters substitutions (  etc.) - fixed wxHtmlWindow flickering, several minor bugfixes - added some tags:
, , , , , , fixed handling of relative and absolute font sizes in NOTE: for changes after wxWidgets 2.1.0 b4, please see the CVS change log. 2.1.0, b4, May 9th 1999 ----------------------- wxGTK: - JPEG support added. - Many fixes and changes not thought worth mentioning in this file :-) wxMSW: - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added; SetTabSize added. - JPEG support added. - Fixes for Cygwin compilation. - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles. - Many fixes people didn't tell this file about. wxMotif: General: - Some changes for Unicode support, including wxchar.h/cpp. 2.0.1 (release), March 1st 1999 ------------------------------- wxGTK: - wxGLCanvas fixes. - Slider/spinbutton fixes. wxMSW: - Fixed problems with in dialogs/panels. - Fixed window cursor setting. - Fixed toolbar sizing and edge-clipping problems. - Some makefile fixes. wxMotif: - None. General: - Added wxUSE_SOCKETS. - More topic overviews. - Put wxPrintPaperType, wxPrintPaperDatabase into prntbase.h/cpp for use in non-PostScript situations (e.g. Win16 wxPageSetupDialog). Beta 5, February 18th 1999 -------------------------- wxGTK: - wxExecute improved. wxMSW: - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as expected). - Changed VC++ makefiles (.vc) so that it's possible to have debug/release/DLL versions of the library available simultaneously, with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll). - Added BC++ 5 IDE files and instructions. - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation). - Fixed focus-related crash. wxMotif: - Cured asynchronous wxExecute crash. - Added repaint event handlers to wxFrame, wxMDIChildFrame. General: - wxLocale documented. - Added include filenames to class reference. - wxHelpController API changed: SetBrowser becomes SetViewer, DisplaySection works for WinHelp, help sample compiles under Windows (though doesn't display help yet). Beta 4, February 12th 1999 -------------------------- wxGTK: - Miscellaneous fixes. wxMSW: - Makefiles for more compilers and samples; Cygwin makefiles rationalised. - Added VC++ project file for compiling wxWidgets as DLL. wxMotif: - Added OnEraseBackground invocation. - Added wxRETAINED implementation for wxScrolledWindow. - Cured scrolling display problem by adding XmUpdateDisplay. - Tried to make lex-ing in the makefile more generic (command line syntax should apply to both lex and flex). - Changed file selector colours for consistency (except for buttons: crashes for some reason). - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead of malloc, which causes memory problems). General: - Further doc improvements. - wxGenericValidator added. - Added wxImageModule to image.cpp, so adds/cleans up standard handlers automatically. Beta 3, January 31st 1999 ------------------------- wxGTK: - wxClipboard/DnD API changes (still in progress). - wxToolTip class added. - Miscellaneous fixes. wxMSW: - wxRegConfig DeleteAll bug fixed. - Makefiles for more compilers. - TWIN32 support added. - Renamed VC++ makefiles from .nt to .vc, and factored out program/library settings. - Fixed wxIniConfig bug. wxMotif: - A few more colour fixes. - wxGLCanvas and OpenGL samples working. - Some compiler warnings fixed. - wxChoice crash fix. - Dialog Editor starting to work on Motif. General: - wxBusyCursor class added. - Added samples/dde. - More doc improvements, incl. expanding docs/html/index.htm. Beta 2, January 1999 -------------------- wxGTK: wxMSW: - 16-bit BC++ compilation/linking works albeit without the resource system. wxMotif: - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at the right place. - Cured some widget table clashes. - Added thread support (Robert). - wxPoem sample now works. General: - Rearranged documentation a bit. - Sash window uses area of first frame/dialog to paint over when drawing the dragged sash, not just the sash window itself (it clipped to the right or below). - Made resource sample use the correct Cancel button id. - Moved wxProp to main library (generic directory), created proplist sample. - Added bombs and fractal samples. Beta 1, December 24th 1998 -------------------------- wxGTK: - Various wxMSW, wxMotif: not in sync with this release. Alpha 18, December 29th 1998 ---------------------------- wxMSW: - Win16 support working again (VC++ 1.5) - Win16 now uses generic wxNotebook, wxListCtrl, wxTreeCtrl -- more or less working now, although a little work on wxNotebook is still needed. Under 16-bit Windows, get assertion when you click on a tab. - Wrote 16-bit BC++ makefiles: samples don't yet link. - Added CodeWarrior support to distribution courtesy of Stefan Csomor. wxMotif: - Cured scrolling problem: scrollbars now show/hide themselves without (permanently) resizing the window. - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars that disabled scrollbar paging. - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl colours correctly. - Removed major bug whereby dialogs were unmanaged automatically when any button was pressed. - Fixed colours of wxWindow scrollbars, made list and text controls have a white background. - Fixed dialog colour setting. - Added settable fonts and colours for wxMenu/wxMenuBar. Now they have sensible colours by default. - Fixed a bug in wxStaticBox. - Cured wxTreeCtrl bug: now works pretty well! - Debugged DrawEllipticArc (a ! in the wrong place). - Added SetClippingRegion( const wxRegion& region ). - Added wxPoint, wxSize, wxRect versions of SetSize etc. Alpha 17, November 22nd 1998 ---------------------------- wxMSW: - More documentation updates, especially for wxLayoutWindow classes and debugging facilities. - Changed wxDebugContext to use wxDebugLog instead of wxTrace. - Now supports VC++ 6.0, and hopefully BC++ 5.0. However, DLL support may be broken for BC++ since VC++ 6 required changing of WXDLLEXPORT keyword position. - Numerous miscellaneous changes. wxMotif: - Reimplemented MDI using wxNotebook instead of the MDI widgets, which were too buggy (probably not design for dynamic addition/removal of child frames). - Some improvements to the wxNotebook implementation. - wxToolBar now uses a bulletin board instead of a form, in an attempt to make it possible to add ordinary wxControls to a toolbar. - Cured problem with not being able to use global memory operators, by defining two more global operators, so that the delete will match the debugging implementation. - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using global memory operators (usually OK) and #defining new to be WXDEBUG_NEW (sometimes it might not be OK). - Added time.cpp to makefile; set wxUSE_DATETIME to 1. - Added a parent-existence check to popup menu code to make it not crash. - Added some optimization in wxWindow::SetSize to produce less flicker. It remains to be seen whether this produces any resize bugs. It's a long time since I updated this file. Previously done: - wxFrame, wxDialog done. - wxScrolledWindow done (but backing pixmap not used at present). - wxBitmap done though could be tidied it up at some point. - Most basic controls are there, if not rigorously tested. - Some MDI support (menus appear on child frames at present). - wxNotebook almost done. - wxToolBar done (horizontal only, which would be easy to extend to vertical toolbars). More recently: - Colour and font changing done (question mark over what happens to scrollbars). - Accelerators done (for menu items and buttons). Also event loop tidied up in wxApp so that events are filtered through ProcessXEvent. - wxWindow::GetUpdateRegion should now work. Alpha 16, September 8th 1998 ---------------------------- wxMSW: - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest sample. - Guilhem's socket classes added, plus wxsocket sample. - A few more makefiles added. - GnuWin32/BC++ compatibility mods. - Further doc updates. - wxProp updates for correct working with wxGTK. wxMotif: - First start at Motif port. - Made makefiles for wxMotif source directory and minimal sample. - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont, wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText, wxMenu, wxMenuItem, wxMenuBar Alpha 15, August 31st 1998 -------------------------- wxMSW: - wxBitmap debugged. - wxDC::GetDepth added. - Contribution added whereby wxBitmap will be converted to DC depth if they don't match. - wxConfig API improved, documentation updated. - Printing classes name conventions cleaned up. - wxUpdateUIEvent now derives from wxCommandEvent so event can travel up the window hierarchy. Alpha 14, July 31st 1998 ------------------------ wxMSW: - Toolbar API has been simplified, and now wxFrame::GetClientArea returns the available client area when toolbar, status bar etc. have been accounted for. wxFrame::CreateToolBar added in line with CreateStatusBar. - Documentation updates, incl. for wxToolBar. - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable. - Various additions from other folk, e.g. streams, wxConfig changes, wxNotebook. - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view. Alpha 13, July 8th 1998 ----------------------- wxMSW: - Implemented wxPoint as identical to POINT on Windows, and altered wxDC wxPoint functions to use wxPoint directly in Windows functions, for efficiency. - Cured wxASSERT bug in wxStatusBar95. - #ifdefed out some bits in oleutils.cpp for compilers that don't support it. - Added some operators to wxPoint, wxSize. - Added inline wxDC functions using wxPoint, wxSize, wxRect. Alpha 12, July 7th 1998 ----------------------- wxMSW: - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can have flat toolbars on Win98 or Win95 with IE >= 3 installed. Alpha 11, July 3rd 1998 ----------------------- wxMSW: - Added thread.h, thread.cpp. - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu, wxMenuBar. - Changed wxMenuItem::SetBackColor to SetBackgroundColour, SetTextColor to SetTextColour, and added or made public several wxMenuItem accessors. - Added two overloads to wxRegion::Contains. Added wxRegion::IsEmpty for a more consistent naming convention. - Added Vadim's wxDataObject and wxDropSource. - ENTER/LEAVE events now work. - Cured wxMemoryDC bug where the DC wasn't being deleted. - Cured wxGauge SetSize major bugginess. - Cured problem where if a GDI object was created on the stack, then went out of scope, then another object was selected into the DC, GDI objects would leak. This is because the assignment to e.g. wxDC::m_pen would delete the GDI object without it first being selected out of the DC. Cured by selecting the old DC object first, then doing the assignment. - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95 - Various other bug fixes and additions. Generic: - Major work on Dialog Editor (still plenty to go). - Expanded documentation a bit more. Alpha 10, May 7th 1998 ---------------------- wxMSW: - Added desiredWidth, desiredHeight parameters to wxBitmapHandler and wxIcon functions so that you can specify what size of icon should be loaded. Probably will remain a Windows-specific thing. - wxStatusBar95 now works for MDI frames. - Toolbars in MDI frames now behave normally. They still require application-supplied positioning code though. - Changed installation instructions, makefiles and batch files for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp change to support Mingw32/EGCS. Bison now used by default. Alpha 9, April 27th 1998 ------------------------ wxMSW: - Cured bug in wxStatusBar95 that caused a crash if multiple fields were used. - Added Gnu-Win32 b19/Mingw32 support by changing resource compilation and pragmas. - Cured wxMenu bug introduced in alpha 8 - didn't respond to commands because VZ changed the id setting in wxMenu::MSWCommand. Generic: - Corrected some bugs, such as the wxModule compilation problem. - Added Gnu-Win32 b19/Mingw32 support by changing resource compilation and pragmas. - Changed SIZEOF to WXSIZEOF. Alpha 8, April 17th 1998 ------------------------ wxMSW: - Added IsNull to wxGDIObject to check if the ref data is present or not. - Added PNG handler and sample - doesn't work for 16-bit PNGs for some reason :-( - Added wxJoystick class and event handling, and simple demo. - Added simple wxWave class. Needs Stop() function. - Added wxModule (module.h/module.cpp) to allow definition of modules to be initialized and cleaned up on wxWidgets startup/exit. - Start of Mingw32 compatibility (see minimal and dialogs samples makefile.m95 files, and install.txt). - Note: Windows printing has stopped working... will investigate. VADIM'S CHANGES: - Updated wxString: bug fixes, added wxArrayString, some compatibility functions. - Updated log.h/cpp, added wxApp::CreateLogTarget. - file.h: new wxTempFile class. - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95 - statbr95: wxStatusBar95 control. - registry.h/cpp: wxRegKey class for Win95 registry. - listbox.cpp: corrected some bugs with owner-drawn listboxes. - wxConfig and wxFileConfig classes. Generic: - Added src/other/png, src/other/zlib directories. - Added samples/png. - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros. Porters, please check particularly your wxTreeCtrl and wxListCtrl header files. - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h. Alpha 7, March 30th 1998 ------------------------ wxMSW: - Added tab classes, tab sample. - Now can return FALSE from OnInit and windows will be cleaned up properly before exit. - Improved border handling so panels don't get borders automatically. - Debugged MDI activation from Window menu. - Changes to memory debug handling, including checking for memory leaks on application exit - but see issues.txt for unresolved issues. - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar) to allow maintenance of an icon in the Windows 95 taskbar tray area. - Got MFC sample working (MFC and wxWidgets in the same application), partly by tweaking ntwxwin.mak settings. - Got DLL compilation working again (VC++). - Changed wxProp/Dialog Editor filenames. Generic: - Added tab classes, tab sample. - Revised memory.cpp, memory.h slightly; memory.h now #defines new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp now checks for leaks on exit. Added memcheck sample. See src/msw/issues.txt for more details. - resource.h, resource.cpp changed to make wxDefaultResourceTable a pointer. Now initialize resource system with wxInitializeResourceSystem and wxCleanUpResourceSystem, to allow better control of memory. - wxString now derives from wxObject, to enable memory leak checking. - Added some #include fixes in various files, plus changed float to long in wxToolBar files. Alpha 6, March 10th 1998 ------------------------ wxMSW: - Found stack error bug - stopped unwanted OnIdle recursion. - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5. - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will check if the number of top-level windows is zero before exiting. Also, wxApp::GetTopWindow will return either m_topWindow or the first member of wxTopLevelWindows, so you don't have to call wxApp::SetTopWindow. - Added dynarray.h/dynarray.cpp (from Vadim). - Added first cut at OLE drag and drop (from Vadim). dnd sample added. Drop target only at this stage. See src/msw/ole/*.cpp, wx/include/msw/ole/*.h. WIN32 only because of UUID usage. Doesn't work with GnuWin32 - no appropriate headers e.g. for IUnknown. Doesn't work with BC++ either - crashes on program startup. - Added Vadim's owner-draw modifications - will probably remain Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample. - Added wxLB_OWNERDRAW for owner-draw listboxes. - Vadim's wxCheckListBox derives from wxListBox. See checklst sample. Doesn't entirely work for WIN16. - Vadim has added wxMenuItem as a separate file menuitem.cpp. It can also be used as an argument to wxMenu::Append, not just for internal implementation. - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS in makeg95.env, together with mingw32.bat). However, resource binding is not working yet so most apps with dialogs crash. Generic: - Added Vadim's dynarray.h, dynarray.cpp. - Added Vadim's menuitem.cpp. - Added Windows-specific wxCheckListBox, owner-draw wxListBox, and drag-and-drop (see docs/msw/changes.txt). Alpha 5, 14th February 1998 -------------------------- wxMSW: - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE DISTRIBUTIONS. This change log will therefore now refer to the Windows-specific code only. See docs/changes.txt for generic changes. - Removed Windows-specific reference counting system (GDI resources were cleaned up in idle time) - minimal advantages now we have a wxWin reference counting system. - Added missing WXDLLEXPORT keywords so DLL compilation works again. - Removed most warnings for GnuWin32 compilation. - Added wxRegion/wxRegionIterator, but haven't yet used it in e.g. wxDC. Generic: - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE DISTRIBUTIONS. This change log will therefore now refer to the generic code only. See docs/msw/changes.txt for Windows-specific changes. - Readmes, change logs and installation files now go in platform-specific directories under docs, e.g. docs/msw, docs/gtk. - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets created dynamically, not as a global object. - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp. - Changed names of some include/wx/generic headers to be consistent and to conform to gcc pragma conventions. Also changed choicesg.cpp to choicdgg.cpp. - Added gcc pragmas. - Added gtk inclusion in include/wx headers. - Added consistent file headings to source and headers. - Removed lang.cpp, lang.h and references to wxSTR_... variables; added a few references to wxTransString. - Added operator to wxTransString that converts automatically to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...). - samples/internat now works (minimally). - Added wxMouseEvent::GetPosition and wxMouseEvent::GetLogicalPosition, both returning wxPoints. - Made wxSize and wxRect contain longs not ints. - Cured some memory leaks (thanks Vadim). - Tidied up OnIdle and introduced RequestMore/MoreRequested so will only keep processing OnIdle if it returns TRUE from MoreRequested. Alpha 4, 31st January 1998 -------------------------- All: - Changed wxDC functions to take longs instead of floats. GetSize now takes integer pointers, plus a version that returns a wxSize. - const keyword added to various wxDC functions. - Under Windows, wxDC no longer has any knowledge of whether an associated window is scrolled or not. Instead, the device origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC. - wxScrolledWindow applications can optionally override the virtual OnDraw function instead of using the OnPaint event handler. The wxDC passed to OnDraw will be translated by PrepareDC to reflect scrolling. When drawing outside of OnDraw, must call PrepareDC explicitly. - wxToolBarBase/wxToolBarSimple similarly changed to allow for scrolling toolbars. - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze, to help printing with multiple pages. - IPC classes given base classes (wxConnectionBase etc.) which define the API used by different implementations. DDE implementation updated to use these base classes. - wxHelpInstance now separated into wxHelpControllerBase (base for all implementations), wxWinHelpController (uses standard WinHelp), wxXLPHelpController (talks to wxHelp by DDE or TCP/IP). There will be others eventually, such as wxHTMLHelpController for Microsoft (and Netscape?) HTML Help. - Added Vadim Zeitlin's wxString class plus internationalization code (gettext simulation, wxLocale, etc.). New files from Vadim: include\wx\string.h include\wx\debug.h include\wx\file.h include\wx\log.h include\wx\intl.h src\common\string.cpp src\common\log.cpp src\common\intl.cpp src\common\file.cpp No longer use GNU wxString files. - Split off file-related functions into include\wx\filefn.h and src\common\filefn.cpp. - Borland C++ support (WIN32) for main library and samples, using makefile.b32 files. - Preparation done for allowing BC++ to compile wxWin as a DLL, including changes to defs.h. - wxIntPoint removed, wxPoint is now int, and wxRealPoint introduced. - Added wxShowEvent (generated when window is being shown or hidden). - Got minimal, docview, mdi samples working for 16-bit VC++ and cured 16-bit problem with wxTextCtrl (removed global memory trick). - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples. Alpha 3, September 1997 ----------------------- All: - wxListCtrl, wxTreeCtrl, wxImageList classes done. - Instigated new file hierarchy, split files and classes up more logically. - PrologIO and some other utils now put into core library. - Revamped print/preview classes, added wxPageSetupDialog. - Started documentation. Alpha 2, 30th April 1997 ------------------------ All: - EVT_... macros now have at least one argument, for conformance with MetroWerks compiler. - Added ids to .wxr file format. - Got Dialog Editor compiled and running again but need to extend functionality to be in line with new controls. Added dialoged\test app to allow dynamic loading of .wxr files for testing purposes. - Rewrote wxBitmap to allow installable file type handlers. - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa. - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it fully). - Added back wxRadioBox. - Tidied up wx_main.cpp, wxApp class, putting PenWin code in a separate file. Alpha 1, 5th April 1997 ----------------------- Generic: At this point, the following has been achieved: - A lot, but not all, of the code has been revamped for better naming conventions, protection of data members, and use of wxString instead of char *. - Obsolete functionality deleted (e.g. default wxPanel layout, old system event system) and code size reduced. - Class hierarchy changed (see design doc) - base classes such as wxbWindow now removed. - No longer includes windows.h in wxWin headers, by using stand-in Windows types where needed e.g. WXHWND. - PrologIO revised. - wxScrolledWindow, wxStatusBar and new MDI classes added. MDI is now achieved using separate classes, not window styles. - wxSystemSettings added, and made use of to reflect standard Windows settings. - SetButtonFont/SetLabelFont replaced by SetFont; font and colour settings mucho rationalised. - All windows are now subclassed with the same window proc to make event handling far more consistent. Old internal wxWnd and derived classes removed. - API for controls revised, in particular addition of wxValidator parameters and removal of labels for some controls. - 1 validator written: see examples/validate. - Event table system introduced (see most samples and wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler made more flexible, with Push/PopEventHandler allowing a chain of event handlers. - wxRadioBox removed - will be added back soon. - Toolbar class hierarchy revised: wxToolBarBase wxToolBarSimple (= old wxToolBar) wxToolBar95 (= old wxButtonBar under Win95) wxToolBarMSW (= old wxButtonBar under WIN16/WIN32) - Constraint system debugged somewhat (sizers now work properly). - wxFileDialog, wxDirDialog added; other common dialogs now have class equivalents. Generic colour and font dialogs rewritten to not need obsolete panel layout. - .wxr resource system partially reinstated, though needs an integer ID for controls. Hopefully the resource system will be replaced by something better and more efficient in the future. - Device contexts no longer stored with window and accessed with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack variables instead. - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag determines whether labels are shown. Other Win95-specific flags introduced, e.g. for showing ticks. - Styles introduced for dealing with 3D effects per window, for any window: all Win95 3D effects supported, plus transparent windows. - Major change to allow 3D effect support without CTL3D, under Win95. - Bitmap versions of button and checkbox separated out into new classes, but unimplemented as yet because I intend to remove the need for Fafa - it apparently causes GPFs in Win95 OSR 2. - utils/wxprop classes working (except maybe wxPropertyFormView) in preparation for use in Dialog Editor. - GNU-WIN32 compilation verified (a month or so ago).