Changelogs
Overview
These changelogs reflect the history of all files in the Subversion repository. The changelog has been generated at 2016-05-09 08:38:04
Changelog for wxWidgets (70435 changes):
2010-01-02 11:40 MBN, revision 630342009-12-31 14:37 VZ, revision 63032Fix method name in wxInfoBar interface.
- M /wxWidgets/branches/WX_2_8_BRANCH/src/common/wincmn.cpp
- M /wxWidgets/branches/WX_2_8_BRANCH/src/msw/version.rc
2009-12-31 14:36 VZ, revision 63031Change the year in copyright messages to 2010. Backport of r63031 from trunk. See #11584.
2009-12-31 14:32 VZ, revision 63030Change the year in copyright messages to 2010. Happy new year to all wx-ers! Closes #11584.
2009-12-31 09:39 SC, revision 63028Add wxWinVersion_7 to the private wxMSW wxWinVersion enum. Also correct wxWinVersion_2003 definition, it should have the same value as wxWinVersion_XP. And add wxWinVersion_XP_SP2 == wxWinVersion_2003_SP1.
- A /wxWidgets/trunk/src/osx/cocoa/combobox.mm
- A /wxWidgets/trunk/src/osx/combobox_osx.cpp
- A /wxWidgets/trunk/src/osx/iphone/scrolbar.mm
2009-12-31 00:40 KO, revision 63027adding placeholders and work in progress files
2009-12-30 18:44 MW, revision 63024Fix issue that was causing ShowWithoutActivating to indirectly call wxNonOwnedWindow::Show.
2009-12-30 18:41 KO, revision 63023Add another test for sparse file support so that the large file tests can run as part of the default suite for more platforms.
- M /wxWidgets/trunk/include/wx/osx/sound.h
- M /wxWidgets/trunk/src/osx/carbon/sound.cpp
- M /wxWidgets/trunk/src/osx/core/sound.cpp
- M /wxWidgets/trunk/src/osx/sound_osx.cpp
2009-12-30 18:39 MW, revision 63022To support playing async sounds on the stack on Mac, do not delete the wxSoundData when its wxSound object is destroyed if it's in the queue of sounds to be played. Instead, mark it to be deleted and delete it after it has played.
2009-12-30 18:38 MW, revision 63021Repair the stream tests.
2009-12-30 18:07 JMS, revision 63020Support large files with stdio on mingw.
2009-12-30 18:06 JMS, revision 63019wxOwnerDrawComboCtrl -> wxComboCtrl
2009-12-30 14:46 VZ, revision 63017Updated entries regarding wxPropertyGridManager
2009-12-30 14:38 VZ, revision 63016Don't create an invalid iterator in wxDateTime::ParseTime(). Creating an iterator pointing beyond the string end resulted in an assert from MSVC 9 CRT. Fix this by using wxString ctor taking length (which may be greater than the length of the string) instead of the one taking two iterators (which must both be valid).
2009-12-30 09:35 SC, revision 63015Explicitly mention MSVC std::fstream(wxString) incompatibility issue. The fact that std::fstream provides a non-standard constructor in MSVC CRT implementation is sufficiently confusing to merit a special mention.
2009-12-29 17:04 JMS, revision 63012fixing SetSubMenu for OSX_Cocoa, fixes #11581
- M /wxWidgets/trunk/include/wx/propgrid/property.h
- M /wxWidgets/trunk/interface/wx/propgrid/property.h
- M /wxWidgets/trunk/samples/propgrid/propgrid.cpp
- M /wxWidgets/trunk/src/propgrid/property.cpp
- M /wxWidgets/trunk/src/propgrid/propgrid.cpp
2009-12-28 21:01 VZ, revision 63008Changed wxPropertyCategory to use same cell rendering code as regular properties. This allows labels for category columns other than the first. Rendering code was heavily modified to allow 'merging' of cells when needed.
2009-12-28 17:18 VZ, revision 63007Use memmove() instead of memcpy() in wxString::AssignCopy(). This allows the code like "s = s.c_str()" to work correctly, although it doesn't fix all self-assignment-related bugs. See #11245.
2009-12-28 17:18 VZ, revision 63006Ensure that frame is re-laid out when its toolbar is deleted. The code in wxFrameBase::SetToolBar() didn't work correctly when toolbar was unset using SetToolBar(NULL) because the frame toolbar pointer was reset before layout was done resulting in the frame not recognizing its (still existing) toolbar child as one of its bars and so nothing was done at all when the frame had a single child, as in the toolbar sample. Correct this by carefully ensuring that the toolbar pointer is still set at the moment of the layout but hide the toolbar to ensure that no place is allocated for it. Also mention that it is not necessary to call SetToolBar(NULL) at all if the toolbar is being deleted anyhow in the sample as toolbar does this itself in its destructor.
2009-12-28 02:56 PC, revision 63003Correct initial value of "Toggle toolbar" check menu item in the sample. This item should initially be checked because the toolbar is initially shown.
2009-12-27 20:40 VZ, revision 63001don't use ==, fixes ##11580
2009-12-27 20:40 VZ, revision 63000Account for cells spanning multiple grid cells better when autosizing. The total size of a multi-span cell was accounted for each row/column it covered, resulting in too much space being allocated to them. Only take into account the average size of each row/column computed by dividing the total cell size by number of rows/columns it occupies to fix this. Closes #11498.
- M /wxWidgets/trunk/include/wx/generic/grid.h
- M /wxWidgets/trunk/interface/wx/grid.h
- M /wxWidgets/trunk/src/generic/grid.cpp
2009-12-27 20:40 VZ, revision 62999Return the kind of cells span from wxGrid::GetCellSize(). Behaviour of GetCellSize() may be very surprising for the unwary as it can return negative or null "size" of the cell. Add CellSpan return value to allow the caller to check what kind of cell are we dealing with easier. Also document the new return value as well as the function (and matching SetCellSize()) itself carefully as its behaviour is far from obvious.
2009-12-27 20:40 VZ, revision 62998Don't call SetMinSize() when creating the window if no initial size was given. Calling SetMinSize() is unnecessary in this case. It also results in GTK+ errors when creating wxFileDialog as it is not created yet when this is called (but it does take care to pass wxDefaultSize to this function as its size can't be set yet). See r62814 and r62817.
2009-12-27 20:40 VZ, revision 62997Avoid defining COMPILER_PREFIX for autoconf format. This fixes a fatal bakefile error due to undefined COMPILER variable when using wx presets with autoconf backend introduced in r62458.
2009-12-27 20:40 VZ, revision 62996Correct wxUSE_MACOSX_VERSION_MIN setting when running under OS X 10.4. sw_vers outputs e.g. 10.4.11 under 10.4 so comparing its result with just 10.4 is wrong, match it against "10.4*" using case instead to ensure that 10.4.11 is indeed recognized as 10.4. Closes #11579.
2009-12-27 20:39 VZ, revision 62995Document wxString::operator<<(wxUniChar). wxUniChar overload was somehow omitted from the list. Closes #11568.
2009-12-26 17:36 VZ, revision 62994Override some methods in wxF(F)ileStream to resolve ambiguities. Override virtual methods IsSeekable(), GetLength() and OnSysSeek/Tell() to forward to wxF(F)InputStream base class as otherwise it's impossible to use them at all because of ambiguity between the versions inherited from this class and wxF(F)OutputStream (even though the two versions should do the same thing as they operate on the same file descriptor/handle). Also improve documentation of these classes: provide a brief description, correct the base classes. Closes #11577.
2009-12-26 17:36 VZ, revision 62993Take into account the initial buttons state when creating wxGTK toolbar. With wxMSW it is possible to call e.g. wxToolBarTool::Enable(false) on a tool before calling wxToolBar::Realize() to create the tool in an initially disabled state but this wasn't done in wxGTK version. Override Realize() now under wxGTK to bring the native toolbar buttons state in sync with the internal state of the corresponding wxToolBarTools.
2009-12-26 17:36 VZ, revision 62992Don't forward declare wxSystemColour enum. Forward declaring enums is illegal in standard C++ and while MSVC allows this as an extension, it doesn't compile with g++. Just include wx/settings.h instead.
2009-12-26 11:51 JMS, revision 62991No changes, just fix a typo in and rephrase a comment. Comment in wxToolBarBase::Realize() was probably copied from some port-specific file but didn't make sense any more in common code.
2009-12-26 11:45 JMS, revision 62990Reduced unnecessary wxT usage
- M /wxWidgets/trunk/docs/doxygen/overviews/propgrid.h
- M /wxWidgets/trunk/include/wx/propgrid/property.h
- M /wxWidgets/trunk/include/wx/propgrid/propgrid.h
- M /wxWidgets/trunk/interface/wx/propgrid/property.h
- M /wxWidgets/trunk/samples/propgrid/propgrid.cpp
- M /wxWidgets/trunk/src/propgrid/editors.cpp
- M /wxWidgets/trunk/src/propgrid/property.cpp
- M /wxWidgets/trunk/src/propgrid/propgrid.cpp
2009-12-26 11:33 JMS, revision 62989Replaced 'InlineHelp' property attribute with 'Hint'; Use SetHint() wxTextCtrl and wxComboCtrl member function to set it; Added a small section about help string and hint text in propgrid overview
- M /wxWidgets/trunk/include/wx/combo.h
- M /wxWidgets/trunk/interface/wx/combo.h
- M /wxWidgets/trunk/src/common/combocmn.cpp
- M /wxWidgets/trunk/src/generic/odcombo.cpp
2009-12-25 21:43 KO, revision 62988Added wxComboCtrl::SetHint(), GetHint()
- M /wxWidgets/trunk/include/wx/osx/toolbar.h
- M /wxWidgets/trunk/src/osx/carbon/toolbar.cpp
- M /wxWidgets/trunk/src/osx/cocoa/toolbar.mm
- M /wxWidgets/trunk/src/osx/toolbar_osx.cpp
2009-12-25 21:40 KO, revision 62987Remove the native toolbar from the frame in Destroy() rather than the destructor, as removing it in the destructor causes resize / repaint events to fire on the native control, which then goes to wx controls being deleted.
2009-12-25 12:36 VZ, revision 62986Use NSTrackingArea when available (building for 10.5+) so that we can get mouse moved events for inactive / non-focused windows too.
2009-12-25 10:47 SC, revision 62985Always show hint in text entries, even when they have focus. It was impossible to show the hint for the initially focused child of a dialog before, as the hint was hidden from the very beginning. By showing it always we avoid this problem. We may want to add an option/flag for SetHint() to make this configurable later if somebody really needs to show hints only for as long as the control doesn't have focus.
- M /wxWidgets/trunk/include/wx/osx/carbon/private.h
- M /wxWidgets/trunk/include/wx/osx/cocoa/private.h
- M /wxWidgets/trunk/include/wx/osx/core/private.h
- M /wxWidgets/trunk/include/wx/osx/iphone/private.h
- M /wxWidgets/trunk/include/wx/osx/nonownedwnd.h
- M /wxWidgets/trunk/src/osx/carbon/nonownedwnd.cpp
- M /wxWidgets/trunk/src/osx/cocoa/nonownedwnd.mm
- M /wxWidgets/trunk/src/osx/iphone/nonownedwnd.mm
- M /wxWidgets/trunk/src/osx/nonownedwnd_osx.cpp
2009-12-25 10:18 JMS, revision 62984removing event handlers on non-owned windows when the destroy event is sent
2009-12-25 10:04 JMS, revision 62983Refactored a very confusing condition in wxPGComboBox item paint code
2009-12-25 09:39 SC, revision 62982Added wxComboCtrlBase::SetFore/BackgroundColour()
2009-12-25 09:33 JMS, revision 62981fixing parameter names
2009-12-23 22:42 VZ, revision 62980Added documentation for wxPGEditor::SetControlAppearance()
2009-12-23 14:56 VZ, revision 62977Erase toolbar background even if it doesn't contain any controls/spaces. Minor correction to changes in r62971: we still need to hook WM_ERASEBKGND in toolbar parent when painting the toolbar itself even when there are no dummy separators in it (and so we don't need to paint them over). Without this, the background of simple toolbars without controls was not erased correctly.
2009-12-22 22:22 MW, revision 62974Don't pass 0 timer ids to ::SetTimer(). Creating timers with 0 id failed because Windows SetTimer() function requires a non-zero id. Fix this by using a (impossible at wx API level) -1 id value in this case instead. Closes #11392.
- M /wxWidgets/trunk/include/wx/filefn.h
- M /wxWidgets/trunk/src/common/ffile.cpp
- M /wxWidgets/trunk/tests/streams/largefile.cpp
2009-12-22 17:12 JMS, revision 62973Add support for large stdio files for VC 8+. What versions of the other Windows compilers?
- M /wxWidgets/trunk/include/wx/propgrid/editors.h
- M /wxWidgets/trunk/include/wx/propgrid/property.h
- M /wxWidgets/trunk/include/wx/propgrid/propgrid.h
- M /wxWidgets/trunk/interface/wx/propgrid/propgrid.h
- M /wxWidgets/trunk/samples/propgrid/propgrid.cpp
- M /wxWidgets/trunk/src/propgrid/editors.cpp
- M /wxWidgets/trunk/src/propgrid/property.cpp
- M /wxWidgets/trunk/src/propgrid/propgrid.cpp
2009-12-22 16:37 VZ, revision 62972Added wxPropertyGrid::SetUnspecifiedValueAppearance(); Added wxPGEditor::SetControlAppearance() for applying wxPGCell attributes on a property editor.
2009-12-22 16:37 VZ, revision 62971Remove the test of erase background events from the toolbar sample. Handling erase background events for toolbars never worked for the ports other than wxMSW and now it doesn't work for MSW neither as we need to skip erasing the background in WM_ERASEBKGND handler to avoid flicker which would result from erasing the background twice, from there and from WM_PAINT handler which must do it. So don't even try to test if it works, it's unlikely to be very useful anyhow. This reverts the change to this file in r62805.
- M /wxWidgets/trunk/include/wx/msw/toolbar.h
- M /wxWidgets/trunk/include/wx/msw/window.h
- M /wxWidgets/trunk/src/msw/toolbar.cpp
- M /wxWidgets/trunk/src/msw/window.cpp
2009-12-22 16:37 VZ, revision 62970Finally really correct background erasing for wxMSW wxToolBar. Do use TBSTYLE_FLAT and TBSTYLE_TRANSPARENT (the former actually implies the latter) for MSW toolbar as it is the only way to avoid the flicker of toolbar buttons. These styles were disabled before because of lack of understanding about how they worked: with them, the toolbar supposes that its parent takes care of erasing its background but wx didn't do this (in fact wxFrame did accidentally erase toolbar background because of the use of Win32 client rectangle, including tool/status bars, instead of wx client rectangle, excluding them, in wxWindowMSW::DoEraseBackground(), but it didn't do it correctly). Now we allow hooking WM_ERASEBKGND events processing in a parent window by a child one and use this to handle toolbar background erasing in toolbar itself. We still prevent the native toolbar from drawing dummy separators and always erase the area occupied by them ourselves and thus avoid the flicker entirely. The only remaining flicker in the toolbar sample is that of embedded wxStaticText control. It does appear with correctly transparent background and bitmaps with alpha channel also (still) are drawn correctly in wxStaticBitmaps embedded in the toolbar. Finally, we still use solid background brush for toolbar but we can easily use a themed background if really desired, there is just a single function to change to do it (MSWGetToolbarBgBrush()).
2009-12-21 16:20 JMS, revision 62960Fix best size computation for buttons without image and with empty label. If a button was initially created with an empty label (but without image neither), its best size was computed and cached as being null. Correct this by giving the button the default size instead, as expected.
- M /wxWidgets/trunk/include/wx/msw/choice.h
- M /wxWidgets/trunk/include/wx/msw/combo.h
- M /wxWidgets/trunk/src/common/combocmn.cpp
- M /wxWidgets/trunk/src/msw/choice.cpp
- M /wxWidgets/trunk/src/msw/combo.cpp
2009-12-21 11:04 CE, revision 62959Added wxMSW wxChoice::GetClassDefaultAttributes(), initially used in wxComboCtrl
2009-12-20 16:07 FM, revision 62958remove ;
- M /wxWidgets/trunk/interface/wx/choice.h
- M /wxWidgets/trunk/interface/wx/clntdata.h
- M /wxWidgets/trunk/interface/wx/combobox.h
- M /wxWidgets/trunk/interface/wx/grid.h
- M /wxWidgets/trunk/interface/wx/html/htmltag.h
- M /wxWidgets/trunk/interface/wx/mousemanager.h
- M /wxWidgets/trunk/interface/wx/odcombo.h
- M /wxWidgets/trunk/interface/wx/stattext.h
- M /wxWidgets/trunk/interface/wx/textwrapper.h
- M /wxWidgets/trunk/interface/wx/tokenzr.h
- M /wxWidgets/trunk/interface/wx/toolbar.h
2009-12-20 15:50 FM, revision 62957fix miscellaneous Doxygen 1.6.1 warnings
- M /wxWidgets/trunk/interface/wx/ribbon/art.h
- M /wxWidgets/trunk/interface/wx/ribbon/buttonbar.h
- M /wxWidgets/trunk/interface/wx/ribbon/gallery.h
- M /wxWidgets/trunk/interface/wx/ribbon/toolbar.h
2009-12-20 15:24 FM, revision 62956fix a few doxygen warnings
2009-12-20 13:48 JMS, revision 62955add a detailed description to wxMenuItem::SetItemLabel() partially moving docs from wxMenu::Append; add usage examples; organize wxMenuItem functions in 3 sections (getters, setters, checkers) to make it easier to browse the docs; use @onlyfor tag where necessary instead of the (Windows only) text
- M /wxWidgets/trunk/include/wx/propgrid/propgrid.h
- M /wxWidgets/trunk/interface/wx/propgrid/propgrid.h
- M /wxWidgets/trunk/src/propgrid/editors.cpp
- M /wxWidgets/trunk/src/propgrid/property.cpp
- M /wxWidgets/trunk/src/propgrid/propgrid.cpp
2009-12-20 13:31 JMS, revision 62954Added wxPropertyGrid::GetUnspecifiedValueText(). Use it instead of assuming that the unspecified value text is always an empty string.
2009-12-19 16:07 JMS, revision 62948Added some missing SetupTextCtrlValue() calls
2009-12-19 15:47 JMS, revision 62947Suppress 'unused argument' warnings
- M /wxWidgets/trunk/include/wx/msw/window.h
- M /wxWidgets/trunk/src/msw/combo.cpp
- M /wxWidgets/trunk/src/msw/window.cpp
2009-12-19 13:08 JMS, revision 62946Added wxWindowMSW::MSWGetThemeColour(); initially use it in wxComboCtrl::OnThemeChange()
2009-12-19 13:00 VZ, revision 62945Properly notify active editor control when it receives the focus.
- D /wxWidgets/trunk/interface/wx/generic/spinctrg.h
- M /wxWidgets/trunk/interface/wx/spinctrl.h
2009-12-19 13:00 VZ, revision 62944Document wxSpinCtrlDouble in correct header file. The public header for this class is wx/spinctrl.h, but it was documented in wx/generic/spinctrg.h which didn't even correspond to an existing real header file (which is called spinctlg.h). Move the documentation to wx/spinctrl.h and remove the old file. Closes #11548.
2009-12-19 12:59 VZ, revision 62943Document wxSizerItem::Assign{Window,Sizer,Spacer}() methods. Also explain why SetSpacer() and SetSizer() are deprecated. Closes #11555.
2009-12-19 12:17 VZ, revision 62942Document wxDV_NO_HEADER style. Closes #11559.
2009-12-19 12:17 VZ, revision 62941Corrections to expander position calculations and drawing in generic wxDVC. Correct the calculation of the indent for the columns following the expander and the calculation of the position of the expander itself. See #11558.
2009-12-19 12:17 VZ, revision 62940Correct selection/drop highlight rectangles width in generic wxDataViewCtrl. The third parameter of wxRect ctor is the width, not the right edge. See #11558.
2009-12-19 12:17 VZ, revision 62939Always draw standard-sized checkboxes in generic wxDataViewToggleRenderer. The checkbox should be always shown in its normal size, otherwise it looks strange. And this also fixes the overflow of the checkbox in the next column which happened if the size passed to Render() had negative width before. See #11558.
2009-12-19 12:13 JMS, revision 62938Use correct width in wxDataViewCustomRendererBase::RenderText(). The text should be ellipsized to fit in the text rectangle, not the total cell one (which is larger). See #11558.
2009-12-18 23:31 VZ, revision 62935In wxPropertyGrid::HandleCustomEditorEvent(), also filter out excess wxEVT_COMMAND_TEXT_UPDATED events that originated from wxComboCtrl-derived editors.
2009-12-18 23:31 VZ, revision 62934Don't create labels with wxST_NO_AUTORESIZE flag with empty size by default. Since r57627 wxStaticText objects with wxST_NO_AUTORESIZE flag created with wxDefaultSize were created with zero width. This accounted for the disappearance of the labels for the toolbar controls (as could be seen in the toolbar sample where the combobox label was not shown any more). Fix this by explicitly setting the correct initial size after the correct label is set.
2009-12-18 21:49 VZ, revision 62933Don't draw over dummy separators in MSW toolbar, just don't draw them at all. Prevent the native toolbar from drawing the separators which we use simply as placeholders by excluding them from the update region when handling WM_PAINT. This reduces flicker by not redrawing the areas occupied by these separators twice and also prevents them from ever being shown (you could see them briefly appear before being erased before). The other toolbar tools still flicker though, there doesn't seem to be any simple way to prevent the control from entirely invalidating itself whenever it is resized.
2009-12-18 21:49 VZ, revision 62932Don't explicitly set the background colour for wxChoice. This is unnecessary and results in flicker when the control is resized because we explicitly erase its background ourselves and then it does it itself.
- M /wxWidgets/trunk/include/wx/msw/notebook.h
- M /wxWidgets/trunk/include/wx/msw/window.h
- M /wxWidgets/trunk/src/msw/control.cpp
- M /wxWidgets/trunk/src/msw/notebook.cpp
- M /wxWidgets/trunk/src/msw/statbox.cpp
- M /wxWidgets/trunk/src/msw/window.cpp
2009-12-18 21:49 VZ, revision 62931No real changes, just change type of MSWGetBgBrush() argument. Pass wxWindow instead of HWND to it as in most cases we already have wxWindow for the HWND we have and calling wxFindWinFromHandle() once more is unnecessary. This also makes the code of MSWGetBgBrushForChild() slightly simpler.
2009-12-18 18:28 JMS, revision 62930Don't force themed background for wxToolBar under MSW, just use the default. Native toolbars don't have themed background under Vista/7 and don't look good with rebar background (which is the same one as used for the menus) as toolbars don't appear on the top of the window. Erasing background ourselves also results in flicker and display problems and makes the code much more complicated. Simply don't do this to avoid all the problems.
2009-12-18 18:03 JMS, revision 62929Have wxComboCtrl honour any custom foreground and background colour.
- M /wxWidgets/branches/WX_2_8_BRANCH/src/common/combocmn.cpp
- M /wxWidgets/branches/WX_2_8_BRANCH/src/msw/combo.cpp
2009-12-18 17:42 JMS, revision 62928In wxComboCtrl, prefer focus rectangle colours over custom ones.
- M /wxWidgets/branches/WX_2_8_BRANCH/src/common/combocmn.cpp
- M /wxWidgets/branches/WX_2_8_BRANCH/src/msw/combo.cpp
2009-12-18 15:47 VZ, revision 62927Have wxComboCtrl honour any application-specified foreground and background colour.
2009-12-18 15:47 VZ, revision 62926Don't access the first character of a possible empty USEMAP parameter. This fixes an assert when using debug CRT in VC9.
2009-12-18 15:47 VZ, revision 62925Only call GetTextMetrics() in wxDC::GetTextExtent() if necessary. A micro-optimization: avoid ::GetTextMetrics() call if we don't use its results (as is the case if neither descent nor external leading were requested).
2009-12-18 15:46 VZ, revision 62924Call SymCleanup() in wxStackWalker to fix problem with next call to it. Calling SymInitialize() second and subsequent times failed (and hence so did wxStackWalker::WalkFrom() and other methods) as we didn't call SymCleanup() because of some problems with old versions of debughlp.dll. These problems don't seem to exist any more so do call SymCleanup() so that we can walk the stack more than once. Closes #11544.
2009-12-18 15:46 VZ, revision 62923Don't use "-I @" in ctags command line as cmd.exe handles '@' specially. Just use the file path instead as '@' is used for the "response files" by cmd.exe, at least under Windows 7.
2009-12-18 15:46 VZ, revision 62922No changes, just minor cleanup. Don't call wxWindow::PrepareDC() which doesn't do anything anyhow. Use wxBitmap::IsOk() instead of Ok().
2009-12-17 22:52 VZ, revision 62919Restore the use of the correct brush for toolbar background erasing. The call to SetBrush() was mistakenly removed in r62850 but it is needed because wxClientDC only inherits background colour but not the brush used by DrawRectangle() call in wxToolBar::MSWEraseRect(), so the wrong colour was used under systems < Vista. Restore this call now.
- M /wxWidgets/branches/wxSYMBIAN/build/symbian/ABLD.BAT
- M /wxWidgets/branches/wxSYMBIAN/build/symbian/wxSymLib.mmp
- M /wxWidgets/branches/wxSYMBIAN/include/wx/apptrait.h
- M /wxWidgets/branches/wxSYMBIAN/include/wx/chkconf.h
- M /wxWidgets/branches/wxSYMBIAN/include/wx/private/selectdispatcher.h
- M /wxWidgets/branches/wxSYMBIAN/include/wx/private/socket.h
- M /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/app.h
- M /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/chkconf.h
- M /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/control.h
- M /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/dcclient.h
- M /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/dcmemory.h
- M /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/dcprint.h
- M /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/dcscreen.h
- M /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/msgdlg.h
- M /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/private/sockunix.h
- M /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/region.h
- M /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/tls.h
- M /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/toplevel.h
- M /wxWidgets/branches/wxSYMBIAN/include/wx/tls.h
- M /wxWidgets/branches/wxSYMBIAN/src/common/filename.cpp
- M /wxWidgets/branches/wxSYMBIAN/src/common/intl.cpp
- M /wxWidgets/branches/wxSYMBIAN/src/common/selectdispatcher.cpp
- M /wxWidgets/branches/wxSYMBIAN/src/common/socket.cpp
- M /wxWidgets/branches/wxSYMBIAN/src/symbian/dir.cpp
- M /wxWidgets/branches/wxSYMBIAN/src/symbian/fdiounix.cpp
- M /wxWidgets/branches/wxSYMBIAN/src/symbian/mimetype.cpp
- M /wxWidgets/branches/wxSYMBIAN/src/symbian/sockunix.cpp
- M /wxWidgets/branches/wxSYMBIAN/src/symbian/thread.cpp
- M /wxWidgets/branches/wxSYMBIAN/src/symbian/timer.cpp
- M /wxWidgets/branches/wxSYMBIAN/src/symbian/utils.cpp
- M /wxWidgets/branches/wxSYMBIAN/src/symbian/utilsexc.cpp
2009-12-17 18:51 VZ, revision 62916Compilation fixes and cleanup for wxSymbian. Avoid duplicating Unix files, reuse the existing ones instead. Remove unnecessary gcc pragmas. Add Symbian-specific chkconf.h. Closes #11551.
2009-12-17 17:44 VZ, revision 62914Correct wxDateTime::GetWeekOfMonth() for days in the beginning of January. This function was implemented in terms of GetWeekOfYear() which made it tricky to get it right as GetWeekOfYear() can, correctly, return week number for the previous year for the first days of January (and also from the next one for the last days of December). Replace this implementation with a simple one directly counting the number of weeks since the first of the month, this seems to be much simpler and does pass the new unit test case which the old version failed. Also make the unit test failures more informative by using WX_ASSERT_EQUAL_MESSAGE() instead of CPPUNIT_ASSERT_EQUAL(). See #11561.
2009-12-17 17:44 VZ, revision 62913Add test of accelerators using both ASCII and non-ASCII keys to the sample. Test using 'Ctrl-A', just 'A' and 'Esc' as accelerators as all of them except the first one were reported not to work in some cases.
- M /wxWidgets/trunk/include/wx/msw/window.h
- M /wxWidgets/trunk/src/msw/accel.cpp
- M /wxWidgets/trunk/src/msw/window.cpp
2009-12-17 15:41 JMS, revision 62912Always use FVIRTKEY for the accelerators under MSW. Not using FVIRTKEY results in problems in non-US keyboard layouts and, in fact, we were already always using it because wxCharCodeWXToMSW() returned true in its output IsVirtual argument most of the time. Just do it always now and also remove IsVirtual parameter with badly (if at all...) defined meaning from wxCharCodeWXToMSW() as it's not used anywhere any longer.
2009-12-17 14:39 SC, revision 62911Allow wxPropertyGrid::RecalculateVirtualSize() execute even if pg is not completely initialized (otherwise virtual size calculations may go wrong)
2009-12-17 13:15 SC, revision 62909fix for sleep mode on displays, fixes #11557
2009-12-17 11:52 VZ, revision 62908supporting sleep mode properly, see #11557
2009-12-16 20:27 VZ, revision 62903Initialize all fields of EXCEPINFO object to avoid crashes later. We could call SysFreeString() on uninitialized pointers if IDispatch::Invoke() failed.
2009-12-16 19:59 JMS, revision 62902Correct typo in wxEVT_COMMAND_LISTBOX_DOUBLECLICKED. An underscore was omitted between LISTBOX and DOUBLECLICKED.
2009-12-16 19:48 JMS, revision 62901Fixed display of 'InlineHelp' attribute
2009-12-16 18:10 PC, revision 62900Slightly improved check whether or not to execute wxPropertyGrid::RecalculateVirtualSize()
2009-12-16 09:30 CE, revision 62899preserve type when loaded image is rescaled, #11543
2009-12-16 07:32 PC, revision 62898force rebuild of all docs
2009-12-15 23:44 VZ, revision 62896allow setting client size to work properly before window is shown
2009-12-15 22:12 VZ, revision 62895Avoid GTK+ errors when using AUI wxPseudoTransparentFrame hack. wxPseudoTransparentFrame is not a top level window at all and the code in wxGTK wxTopLevelWindow::DoSetSizeHints() fails for it when it is called from wxWindowBase::CreateBase() because of it and spits GTK+ errors as it calls gtk_window_set_geometry_hints() with NULL widget. Fix this by simply skipping wxTopLevelWindow implementation of this method in wxPseudoTransparentFrame. A better fix would be to get rid of this hack completely, of course.
2009-12-15 16:38 VS, revision 62894Remove asserts in wxChoicebook::Get/SetPageImage(). It's better to silently return an error code than assert when these methods are called as their failure is relatively harmless and the user code may call them via base class pointer without caring if it works with a control which supports images or not.
2009-12-15 16:38 VS, revision 62893define NDEBUG if not using debug CRT
2009-12-15 12:25 VS, revision 62891define NDEBUG if not using debug CRT
2009-12-15 12:24 VS, revision 62890compilation fix for wxUSE_IMAGE=0 case
compilation fix for wxUSE_IMAGE=0 caseinclude/wx/iconbndl.h