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-05-15 12:47 VZ, revision 643062010-05-13 17:31 VZ, revision 64302Remove wxGTK-specific text shift in wxRenderer::DrawHeaderButtonContents(). This was probably related to the code removed by r63947 and doesn't seem to be needed here neither (and could presumably result in the same problems as in the ticket #11780).
2010-05-13 17:31 VZ, revision 64301Never enable wxSpinCtrlGenericBase window itself at underlying toolkit level. We create wxSpinCtrlGenericBase window disabled at underlying toolkit level (but enabled at the level of wxWidgets API, of course), but calling Disable() and Enable() on it re-enabled it resulting in loss of mouse events under Windows. Don't re-enable it (again, at the low-level toolkit level only) in its Enable() any more but keep this window itself always disabled. Closes #12045.
- M /wxWidgets/trunk/samples/widgets/spinbtn.cpp
- M /wxWidgets/trunk/samples/widgets/widgets.cpp
- M /wxWidgets/trunk/samples/widgets/widgets.h
2010-05-13 16:37 VZ, revision 64300Use GetWidgets() in the widgets samples instead of GetWidget2(). Add a function which can be overridden to return an arbitrary number of widgets instead of having just GetWidget() and GetWidget2(): spin control page already uses 3 widgets (and defines GetWidget3() which is never called) and we could have even more in the future. Just use a generic solution which will always work. The practical consequence of this is that the "Enable/Disable" menu item now also enables and disables the wxSpinCtrlDouble in the spin page, see #12045.
- M /wxWidgets/trunk/samples/docview/doc.cpp
- M /wxWidgets/trunk/samples/docview/doc.h
- M /wxWidgets/trunk/samples/docview/docview.cpp
- M /wxWidgets/trunk/samples/docview/view.cpp
- M /wxWidgets/trunk/samples/docview/view.h
2010-05-13 16:37 VZ, revision 64299No changes, just cleanup the image part of the docview sample. Remove unnecessary, never used methods. Don't use pointers when objects or references can be used more safely. Don't name classes which are not part of wx with "wx" prefix to avoid confusing people. Don't define empty unnecessary event tables. Prefer wxScrolledWindow::SetVirtualSize() to SetScrollbars(). Stop using "protected" when "private" should be used.
- M /wxWidgets/trunk/include/wx/docview.h
- M /wxWidgets/trunk/interface/wx/docview.h
- M /wxWidgets/trunk/src/common/docview.cpp
2010-05-13 10:36 JMS, revision 64298Document wxDocument::DeleteContents(). This method purpose was not quite clear as it was only mentioned in passing in documentation of OnCloseDocument() but not really documented itself. Also don't call it from wxDocument dtor as this is useless: the user-defined overridden version will never be called from here and the base class version does nothing.
2010-05-13 10:22 JMS, revision 64297Make text drawn by wxGraphicsContext slightly less intrusive
- M /wxWidgets/trunk/include/wx/graphics.h
- M /wxWidgets/trunk/samples/printing/printing.cpp
- M /wxWidgets/trunk/src/common/graphcmn.cpp
- M /wxWidgets/trunk/src/msw/graphics.cpp
2010-05-13 08:25 VS, revision 64296Added wxGraphicsContext::Create(const wxEnhMetaFileDC& dc) so that wxPrintPreview can work with wxMSW's wxGraphicsContext (closes #12028)
2010-05-12 16:34 VZ, revision 64295Add missing check for wxUSE_FILE_HISTORY existence.
- M /wxWidgets/trunk/include/wx/docmdi.h
- M /wxWidgets/trunk/include/wx/docview.h
- M /wxWidgets/trunk/src/common/docmdi.cpp
- M /wxWidgets/trunk/src/common/docview.cpp
2010-05-12 10:18 VZ, revision 64294Refactor wxDocParentFrame and wxDocMDIParentFrame to share common base class. Use the same approach as for the child frames: add a base template class which allows wxDocParentFrame to inherit from wxFrame and wxDocMDIParentFrame from wxMDIParentFrame while still allowing to reuse the common code. This reduces code duplication and should make implementing parent AUI document frame easier as well, see #8945.
2010-05-11 23:25 FM, revision 64293Restore wxString::Printf() example showing position parameters in the docs. The example was lost during the translation of the manual to Doxygen. Closes #12038.
- M /wxWidgets/trunk/docs/doxygen/mainpages/manual.h
- M /wxWidgets/trunk/docs/doxygen/mainpages/samples.h
- M /wxWidgets/trunk/docs/doxygen/mainpages/utilities.h
2010-05-11 23:12 FM, revision 64292update the main page of the manual to be more consistent; update its date
- M /wxWidgets/trunk/interface/wx/datetime.h
- M /wxWidgets/trunk/interface/wx/ribbon/bar.h
- M /wxWidgets/trunk/interface/wx/ribbon/gallery.h
- M /wxWidgets/trunk/interface/wx/stc/stc.h
2010-05-11 23:10 FM, revision 64291fix errors/inconsistencies pointed out by ifacecheck
2010-05-11 21:44 FM, revision 64290better error message when an inconsistency has been found
- M /wxWidgets/trunk/docs/doxygen/mainpages/introduction.h
- M /wxWidgets/trunk/interface/wx/dcbuffer.h
- M /wxWidgets/trunk/interface/wx/debug.h
- M /wxWidgets/trunk/interface/wx/grid.h
- M /wxWidgets/trunk/interface/wx/toolbar.h
2010-05-11 21:39 FM, revision 64289minor fixes to reduce number of Doxygen warnings
2010-05-11 21:37 FM, revision 64288img tags need a final slash as they are empty tags; change <img> => <img/>
2010-05-11 12:40 JJ, revision 64287make H3 titles center-aligned (fixes the display of the manual version for HTML docs which currently appears left-aligned)
2010-05-11 12:39 VZ, revision 64286Update OpenVMS comiles support
2010-05-11 09:16 FM, revision 64285Fix position for wxKeyEvents in wxMSW. Use ScreenToClient() instead of painstakingly (and incorrectly) transforming the position in this function itself. Closes #12024.
2010-05-10 23:48 FM, revision 64283fix for non-PCH builds; also use wxMilliSleep instead of wxThread::Sleep since the former is more readable (it's clear that it takes milliseconds).
- M /wxWidgets/trunk/samples/console/console.cpp
- M /wxWidgets/trunk/tests/Makefile.in
- M /wxWidgets/trunk/tests/makefile.bcc
- M /wxWidgets/trunk/tests/makefile.gcc
- M /wxWidgets/trunk/tests/makefile.vc
- M /wxWidgets/trunk/tests/makefile.wat
- M /wxWidgets/trunk/tests/test.bkl
- M /wxWidgets/trunk/tests/test_test.dsp
- M /wxWidgets/trunk/tests/test_vc7_test.vcproj
- M /wxWidgets/trunk/tests/test_vc8_test.vcproj
- M /wxWidgets/trunk/tests/test_vc9_test.vcproj
- A /wxWidgets/trunk/tests/thread/misc.cpp
2010-05-10 23:28 VZ, revision 64282move code testing wxThread classes from the console sample to a new CppUnit test
2010-05-10 23:22 VZ, revision 64281Build fix: forgotten part of the previous commit. This commit should have been part of r64281. Also notice that the previous commit message mentioned a wrong ticket number, see #10572.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/generic/listctrl.h
- M /wxWidgets/trunk/include/wx/msw/listctrl.h
- M /wxWidgets/trunk/interface/wx/listctrl.h
- M /wxWidgets/trunk/src/generic/listctrl.cpp
- M /wxWidgets/trunk/src/msw/listctrl.cpp
- M /wxWidgets/trunk/tests/controls/listctrltest.cpp
2010-05-10 23:10 VZ, revision 64280Add column parameter to wxListCtrl::GetItemText(). Allow retrieving the text from columns other than the first one directly. Add implementations for MSW and generic versions, documentation and a unit test. Closes #11597.
2010-05-10 23:09 VZ, revision 64279Change wxDIALOG_NO_PARENT value to avoid clashing with wxCENTRE. Use a bit freed by removing wxTINY_CAPTION_HORIZ for wxDIALOG_NO_PARENT. This allows to move it out from the lower byte of the style word to avoid conflicts with the button selection flags which can be commonly combined with the dialog styles. More precisely, wxDIALOG_NO_PARENT used to clash with wxCENTRE, meaning that wxSingleChoiceDialog, for example, was always created without parent because its default style included wxCENTRE. This commit fixes this particular bug and probably more similar ones.
- M /wxWidgets/trunk/include/wx/gtk1/minifram.h
- M /wxWidgets/trunk/include/wx/motif/minifram.h
- M /wxWidgets/trunk/include/wx/osx/minifram.h
- M /wxWidgets/trunk/include/wx/toplevel.h
- M /wxWidgets/trunk/include/wx/x11/minifram.h
- M /wxWidgets/trunk/interface/wx/minifram.h
- M /wxWidgets/trunk/src/gtk1/minifram.cpp
- M /wxWidgets/trunk/src/motif/toplevel.cpp
- M /wxWidgets/trunk/src/msw/toplevel.cpp
- M /wxWidgets/trunk/src/os2/toplevel.cpp
- M /wxWidgets/trunk/src/osx/carbon/nonownedwnd.cpp
- M /wxWidgets/trunk/src/x11/toplevel.cpp
2010-05-10 23:09 VZ, revision 64278Replace wxTINY_CAPTION_{HORIZ,VERT} with a single wxTINY_CAPTION. These two styles were always equivalent so we can just as well replace them with a single one and stop wasting an extra bit.
- M /wxWidgets/trunk/include/wx/defs.h
- M /wxWidgets/trunk/include/wx/dialog.h
- M /wxWidgets/trunk/include/wx/frame.h
- M /wxWidgets/trunk/include/wx/toplevel.h
2010-05-10 23:02 VZ, revision 64277No changes, just added comments summarizing the use of style bits. Add comments allowing to see more clearly the styles allocation. Please make sure to amend them if you change any style values in the future.
2010-05-10 21:40 SJL, revision 64276Don't use wxWindow::ClearBackground() in the image sample and explain why. Painting on both wxPaintDC and wxClientDC simultaneously doesn't work well, e.g. under Windows the client DC can be actually erased after we finished painting the window contents, overwriting it. Simply use wxDC::Clear() instead of wxWindow::ClearBackground() to avoid this and document the danger of using ClearBackground() from EVT_PAINT handler. Closes #10700.
- M /wxWidgets/branches/SOC2010_GUI_TEST/src/osx/uiaction_osx.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/src/unix/uiactionx11.cpp
2010-05-10 21:38 SJL, revision 64275Update remaining wxUIActionSimulator files to use native line endings.
- M /wxWidgets/branches/SOC2010_GUI_TEST/interface/wx/uiaction.h
- M /wxWidgets/branches/SOC2010_GUI_TEST/samples/uiaction/uiaction.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/src/msw/uiaction.cpp
2010-05-10 16:16 JMS, revision 64274Treat a keycode passed to wxUIActionSimulator on MSW as a wxKeyCode, demonstrate in the sample and update the docs. Update line ending types to native.
2010-05-10 16:14 JMS, revision 64273Make text printed by wxGraphicsContext shorter
2010-05-10 15:54 JMS, revision 64272Use wxGraphicsContext to draw some text and a rectangle around it (so that GetTextExtent() can be verified to work correctly)
2010-05-10 15:52 JMS, revision 64271In wxGDIPlusContext::GetTextExtent(), return more accurate text height if possible
2010-05-10 14:40 SJL, revision 64270Set wxGraphicsContext page scale, which is required for printing to work properly
2010-05-10 09:51 SJL, revision 64269Add basic keyboard example to wxUIActionSimulator sample
2010-05-09 23:36 SJL, revision 64267Update wxUIActionSimulator sample to use screen position, now works correctly in MSW after the absolute positioning fix
2010-05-09 20:59 SJL, revision 64266Update wxUIActionSimulator::MouseMove on MSW to use absolute positioning in line with the documentation
2010-05-09 20:51 SJL, revision 64265Add basic MSW modifier key support to wxUIActionSimulator, as per OSX
- M /wxWidgets/branches/SOC2010_GUI_TEST/include/wx/uiaction.h
- M /wxWidgets/branches/SOC2010_GUI_TEST/interface/wx/uiaction.h
2010-05-09 16:55 VZ, revision 64264Tidy up spacing in wxUIActionSimulator
- M /wxWidgets/trunk/include/wx/event.h
- M /wxWidgets/trunk/interface/wx/event.h
- M /wxWidgets/trunk/interface/wx/window.h
- M /wxWidgets/trunk/src/common/event.cpp
- M /wxWidgets/trunk/src/common/wincmn.cpp
2010-05-09 16:55 VZ, revision 64263Replace public wxEvtHandler::ProcessEventHere() with private TryHere(). ProcessEventHere() doesn't have to be public any more now that we have ProcessEventLocally() which is safe to call from the outside (i.e. doesn't forget about the chained event handlers and validators). Still keep this function because it makes the code more modular and also because we might want to make it virtual for consistency with TryBefore() and TryAfter() later. Also rename it to TryHere() to make the symmetry with these functions more manifest.
- M /wxWidgets/trunk/include/wx/docview.h
- M /wxWidgets/trunk/src/common/docmdi.cpp
- M /wxWidgets/trunk/src/common/docview.cpp
2010-05-09 16:55 VZ, revision 64262Use ProcessEventLocally() instead of ProcessEventHere() in docview code. Use wxEvtHandler::ProcessEventLocally() instead of ProcessEventHere() when forwarding events in the docview code. This ensures that any event handlers chained with the objects involved (document manager, document, view) will be used. Incidentally the old code didn't work at all as ProcessEventHere() didn't even call TryBefore() where the (further) forwarding was implemented. Closes #10640.
- M /wxWidgets/trunk/include/wx/window.h
- M /wxWidgets/trunk/interface/wx/window.h
- M /wxWidgets/trunk/samples/mdi/mdi.cpp
- M /wxWidgets/trunk/samples/mdi/mdi.h
- M /wxWidgets/trunk/src/msw/mdi.cpp
2010-05-09 16:55 VZ, revision 64261Add wxWindow::ProcessWindowEventLocally() and use it in wxMSW MDI code. Add ProcessWindowEventLocally() which wraps ProcessEventLocally() in the same way as ProcessWindowEvent() wraps ProcessEvent(). I.e. it allows to process the event in this window only, without propagating it upwards, but taking into account any event handlers associated with it. Use the new method in wxMDIParentFrame code in wxMSW to ensure that event handlers pushed on MDI children frames are taken into account. Add a test for this to the MDI sample. Closes #11225.
- M /wxWidgets/trunk/include/wx/event.h
- M /wxWidgets/trunk/interface/wx/event.h
- M /wxWidgets/trunk/src/common/event.cpp
2010-05-09 16:55 VZ, revision 64260Refactor the event processing code to add ProcessEventLocally(). This new method can be used to only process the event in this handler or any handlers connected to it (unlike ProcessEventHere() which doesn't follow the chain at all), without propagating the event upwards (unlike ProcessEvent()). Unfortunately implementing this required a field to wxEvent but there doesn't seem to be any other way to do what we need. There should be no user-visible changes after this commit, it just paves the way for the upcoming fixes.
2010-05-09 12:48 JMS, revision 64259Call wxEvtHandler::TryBefore() only once from ProcessEvent(). The event pre-processing hooks associated with the window should be called only once during the event processing, we don't need to call TryBefore() for each and every event handler associated with the window too. This makes the code slightly simpler and faster and shouldn't change the behaviour of any existing code.
- M /wxWidgets/branches/WX_2_8_BRANCH/include/wx/odcombo.h
- M /wxWidgets/branches/WX_2_8_BRANCH/src/generic/odcombo.cpp
2010-05-09 12:29 JMS, revision 64258Suppress SetFocus() warning in wxVListBoxComboPopup
2010-05-09 12:27 VS, revision 64257Supress SetFocus() warning in wxVListBoxComboPopup
2010-05-09 12:27 VS, revision 64256Prevent idMenuTitle from being accidentally used as invalid wx ID.
2010-05-09 12:27 VS, revision 64255Whitelist wxID_NONE as valid menu item ID.
2010-05-09 11:36 SJL, revision 64254Fixed popup menu's title to be bold regardless of method used. Popup menus with title set via SetTitle() had bold font, but menus created by passing title as ctor argument used normal font. Fixed this by using the same code (SetTitle) in both cases, instead of having two independent (and out of sync) implementations of the same functionality.
- M /wxWidgets/branches/SOC2010_GUI_TEST/include/wx/uiaction.h
- M /wxWidgets/branches/SOC2010_GUI_TEST/interface/wx/uiaction.h
- M /wxWidgets/branches/SOC2010_GUI_TEST/src/common/uiactioncmn.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/src/msw/uiaction.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/src/osx/uiaction_osx.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/src/unix/uiactionx11.cpp
2010-05-08 17:31 VS, revision 64248Replace the bool modifier flags in wxUIActionSimulator with an int representing wxKeyModifier values
2010-05-08 17:31 VS, revision 64247wxMsgCatalog destructor should be public. Fixes #12031.
Fixed a test in wxTranslations::GetString() to use UINT_MAX instead of -1. See #12031.