--------------------------------------------------------------- wxWidgets Change Log - For more verbose changes, see the manual --------------------------------------------------------------- 2.6.3 ----- All: - Fixed crash when loading message catalogs in Unicode build. - Spurious error message from wxLaunchDefaultBrowser fixed. - Compilation fixes for (more strict) g++ 4.1 - 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. - wxCondition::WaitTimeout() now returns correct value when timeout occurs. - Bug in wxLogStream::DoLogString in Unicode builds fixed. - Fixed Unicode builds using SunPro compiler by defining__WCHAR_TYPE__. - wxFileName now also looks for TMPDIR on Unix. - Fixed occasional wxThread cleanup crash. - Fixed build error in list.h with VC++ 2005. - wxImage::Copy() forgot the alpha channel. - Fixed wxSocketBase::InterruptWait on wxBase All (GUI): - Added space after list item number in wxHTML. - wxCalendarCtrl drawing, positioning and hit-testing fixes. - More checking of image validity before loading into wxImage. - Added double-buffering to wxVListBox and fixed a scrolling issue. - More than one filter allowed in in wxDocTemplate filter. wxGTK: - Fixed problem with choice editor in wxGrid whereby the editor lost focus when the combobox menu was shown. - 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 (reverted) - Fixed wxNotebook::HitTest when the leftmost visible tab is not the actual first tab (has arrows for scrolling and is scrolled). - Send wxSetCursorEvent - Fix RequestMore for idle events. - Implement user dashes for PS and GNOME printing. - Correct update region code. Don't always invalidate the whole window upon resize. Reenable support for the wxNO_FULL_REPAINT_ON_RESIZE flag. Also disable refreshing custom controls when focusing in and out. - Change wxMimeTypesManager code to ignore /etc/mailcap and to just read the MIME-types. Modifiying the MIME-types is not allowed under GNOME anyways, so make it a no-op. - Speed up reading MIME database. - wxClipboard fixes (thanks to Timothée Lecomte). wxMSW: - Fixed crash with ownerdrawn menu items accelerators (Perry Miller) - wxFileDialog respects absence of wxCHANGE_DIG flag under NT (Brad Anderson). - Fixed MDI context menu problem. - 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. - 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. - 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. - Fall back to unthemed wxNotebook if specified orientation not available. wxWinCE: - ::wxGetUserName() implemented. - Fixed wxFileDialog breakage on WinCE in previous version. - Checkable items in wxToolMenuBarTool supported. - Fixed date formatting and mktime. - Fixed getting standard folder paths on WinCE. - Backported wxCheckListBox implementation from 2.7. - 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. 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/how 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. wxX11: - Bitmap clipping with masks and scaling improved. wxODBC: - wxDb::DBMS() was incorrectly indicating that DB2 databases were dBase databases. - Fixed buffer overflow problem in Unicode builds. 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, , , , ,
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).