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-08-11 18:46 SJL, revision 652632010-08-11 18:45 SJL, revision 65262Tidy GaugeTestCase so no unspecified behaviour is tested.
2010-08-11 18:04 VZ, revision 65261Remove the negative focus call as this is unspecified behaviour.
2010-08-11 18:03 VZ, revision 65260Handle wxDefaultSize correctly in wxNonOwnedWindow under wxOSX. Creating a wxNonOwnedWindow with default size created tiny, practically invisible windows because the default size was only taken care of at wxTopLevelWindow level but not in wxNonOwnedWindow itself. In particular, this broke creation of wxMDIChildFrames with the default size as this class only derived from wxNonOwnedWindow and not from wxTopLevelWindow under OS X. It also probably wasn't intentional as the code did use {Width,Height}Default() functions but they were wxWindow methods and not the wxTopLevelWindow (confusingly and error-pronely) named the same. Fix this, remove the now redundant checks for the default size in wxTopLevelWindow itself and also rationalize and condense the checks for the default position and size components in wxNonOwnedWindow::Create().
2010-08-11 18:03 VZ, revision 65259Make wxTopLevelWindow::GetDefaultSize() public and document it. This method is/will be needed by wxNonOwnedWindow in wxOSX but couldn't be used as long as it was protected, so make it public. And as it seems that it might be useful outside of wx itself, document it as well.
2010-08-11 18:03 VZ, revision 65258Add wxPoint::IsFullySpecified() and SetDefaults(). These methods do the same thing as wxSize methods with the same names and are useful for the same reasons.
- M /wxWidgets/trunk/interface/wx/button.h
- M /wxWidgets/trunk/src/osx/button_osx.cpp
- M /wxWidgets/trunk/src/osx/cocoa/button.mm
2010-08-11 18:03 VZ, revision 65257Fix handling of help buttons with non-empty label under OS X. Creating a button with wxID_HELP and a non-empty label used to always show this label, even if it was just a standard "Help" or "&Help". This didn't work at all as the help buttons under OS X are too small to show any label. To fix this, use normal buttons, not help ones, if a really custom label is used to ensure that it can be seen. And to still use the correct help buttons in as many cases as possible, ignore the standard "Help" label and its variants and don't show it at all.
2010-08-11 17:50 JTN, revision 65256Use correct format specifiers in wxString::Printf(). Using %d with size_t argument resulted in asserts, fix it.
- M /wxWidgets/branches/wxQT/include/wx/qt/combobox_qt.h
- M /wxWidgets/branches/wxQT/src/qt/accel.cpp
- M /wxWidgets/branches/wxQT/src/qt/app.cpp
- M /wxWidgets/branches/wxQT/src/qt/combobox_qt.cpp
- M /wxWidgets/branches/wxQT/src/qt/gauge.cpp
- M /wxWidgets/branches/wxQT/src/qt/slider.cpp
2010-08-11 14:04 SJL, revision 65255Fix non-PCH build
2010-08-11 13:58 SJL, revision 65254Don't assume a default selection or lack of it in wxRadioButton as it is not specified.
2010-08-11 13:52 SJL, revision 65253Set first group member explicitly in group test.
2010-08-11 11:08 SJL, revision 65252Test against basic style rather than a constant as text colour can vary by platform.
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/bitmaptogglebuttontest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/notebooktest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/radioboxtest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/spinctrldbltest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/spinctrltest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/togglebuttontest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/windowtest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/test.bkl
2010-08-11 02:27 RAW, revision 65243Compilation fixes for non-MSW configurations.
- M /wxWidgets/branches/SOC2010_WIN7_UI/build/bakefiles/files.bkl
- M /wxWidgets/branches/SOC2010_WIN7_UI/build/msw/makefile.bcc
- M /wxWidgets/branches/SOC2010_WIN7_UI/build/msw/makefile.gcc
- M /wxWidgets/branches/SOC2010_WIN7_UI/build/msw/makefile.vc
- M /wxWidgets/branches/SOC2010_WIN7_UI/build/msw/makefile.wat
- M /wxWidgets/branches/SOC2010_WIN7_UI/build/msw/wx_core.dsp
- M /wxWidgets/branches/SOC2010_WIN7_UI/build/msw/wx_vc7_core.vcproj
- M /wxWidgets/branches/SOC2010_WIN7_UI/build/msw/wx_vc8_core.vcproj
- M /wxWidgets/branches/SOC2010_WIN7_UI/build/msw/wx_vc9_core.vcproj
- M /wxWidgets/branches/SOC2010_WIN7_UI/include/wx/generic/hyperlink.h
- M /wxWidgets/branches/SOC2010_WIN7_UI/include/wx/hyperlink.h
- A /wxWidgets/branches/SOC2010_WIN7_UI/include/wx/msw/hyperlink.h
- M /wxWidgets/branches/SOC2010_WIN7_UI/Makefile.in
- M /wxWidgets/branches/SOC2010_WIN7_UI/src/generic/hyperlinkg.cpp
- A /wxWidgets/branches/SOC2010_WIN7_UI/src/msw/hyperlink.cpp
2010-08-11 00:39 VZ, revision 65242Native MSW wxHyperlinkCtrl using SysLinks
2010-08-11 00:39 VZ, revision 65241Fix line indices translation in wxGrid::DoEndDragResizeLine(). We used the translation in wrong direction, i.e. interpreted x coordinates as rows and y coordinates as columns. This could result in passing invalid cell indices to GetCellSize() and was generally completely wrong. Closes #12311.
2010-08-11 00:38 VZ, revision 65240WIP
2010-08-10 23:48 VZ, revision 65239Don't set Unicode key code in key events to non-Unicode values in wxGTK. Only assign the wx key code wxKeyEvent::m_uniChar if it's a key corresponding to an ASCII symbol, don't do it for the values outside of ASCII range such as all the special WXK_ constants. It doesn't make sense to generate Unicode key codes for e.g. cursor key presses.
2010-08-10 23:48 VZ, revision 65238Use wxPanel as controls parent in wrapsizer sample. Follow our own advice about never creating controls directly on the frame and using an intermediate wxPanel in our own sample. This is better style and makes it look better under Windows.
- M /wxWidgets/trunk/include/wx/generic/panelg.h
- M /wxWidgets/trunk/include/wx/msw/notebook.h
- M /wxWidgets/trunk/include/wx/msw/window.h
- M /wxWidgets/trunk/samples/controls/controls.cpp
- M /wxWidgets/trunk/src/generic/panelg.cpp
- M /wxWidgets/trunk/src/msw/notebook.cpp
2010-08-10 20:58 VZ, revision 65236Inherit notebook background recursively under wxMSW. With MSWSetTransparentBackground() hack only the panel which was the immediate child of wxNotebook (i.e. its page) inherited the notebook background but not its children. This resulted in jarring background discontinuities when nested panels were used. Fix this by inheriting notebook background in all child panels by testing for the return value of the parents MSWHasInheritableBackground() method in wxPanel::HasTransparentBackground() recursively. Closes #12317.
2010-08-10 20:58 VZ, revision 65235Fix wxBitmapButton initial best size determination in wxMSW. This was broken during wxButton/wxBitmapButton merge and wxBitmapButton was not created with the correct initial size if the default size was specified when creating it any longer. Fix this by calling SetInitialSize() once again after setting the bitmap. See #12323.
2010-08-10 20:57 VZ, revision 65234Keep the button bitmap centered if the button has no label in wxMSW. We should only honour the bitmap alignment if the button shows both the bitmap and the label. If only the bitmap is shown (e.g. when wxBitmapButton is used), it should always be centered as it used to be done in 2.8. Closes #12323.
- D /wxWidgets/trunk/src/wxWindows.xcodeproj/project.pbxproj
2010-08-10 20:57 VZ, revision 65233Remove obsolete and out of date Xcode project file. The project files under build/osx should now be used, this Xcode project file was out of date and couldn't be updated automatically.
2010-08-10 20:57 VZ, revision 65232Revert MSW window classes uniquification patch. Making the class names unique doesn't seem to be necessary so revert the patch which appended unique pointer value to their names (r57030). See #9031.
2010-08-10 20:57 VZ, revision 65231Don't use bitmap still selected in wxMemoryDC in image sample. The bitmap must be deselected from wxMemoryDC before being used in any other way but the sample didn't do this. Fix this by simply destroying the DC as soon as we don't need it, this makes bitmap available for other use as well. Closes #12310.
2010-08-10 20:57 VZ, revision 65230Use window position in screen coordinates in wxDisplay::GetFromWindow(). To determine the display to which the window belongs we must use the window position in screen coordinates returned by wxWindow::GetScreenRect() and not the positioned returned by GetRect() which is the same only for the top level windows but not for the child ones. Closes #12318.
2010-08-10 20:57 VZ, revision 65229Correct documentation of majorDimension in wxRadioBox ctor. The default value of this parameter is 0, not 1. Also add the explanation of what using 0 actually means. Closes #12325.
- D /wxWidgets/trunk/src/stc/Makefile.in
2010-08-10 14:53 VZ, revision 65228Remove obsolete stc makefile. This makefile is not used any more since stc was integrated into wx core.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/dataview.h
- M /wxWidgets/trunk/include/wx/generic/dataview.h
- M /wxWidgets/trunk/include/wx/gtk/dataview.h
- M /wxWidgets/trunk/include/wx/osx/carbon/dataview.h
- M /wxWidgets/trunk/include/wx/osx/cocoa/dataview.h
- M /wxWidgets/trunk/include/wx/osx/core/dataview.h
- M /wxWidgets/trunk/include/wx/osx/dataview.h
- M /wxWidgets/trunk/interface/wx/dataview.h
- M /wxWidgets/trunk/samples/dataview/dataview.cpp
- M /wxWidgets/trunk/src/common/datavcmn.cpp
- M /wxWidgets/trunk/src/generic/datavgen.cpp
- M /wxWidgets/trunk/src/gtk/dataview.cpp
- M /wxWidgets/trunk/src/osx/carbon/dataview.cpp
- M /wxWidgets/trunk/src/osx/cocoa/dataview.mm
- M /wxWidgets/trunk/src/osx/dataview_osx.cpp
2010-08-09 23:17 VZ, revision 65226Add wxDataViewCtrl::{Set,Get}CurrentItem(). Current item is the same as the selected item in single selection mode but in multiple selection mode there was no way to neither get this item nor change it before so add the new functions to allow doing this now. The new methods are implemented for the generic, GTK and OS X/Cocoa versions but only stubs are provided for OS X/Carbon.
2010-08-09 15:47 SJL, revision 65225Don't lose selection in wxDataViewCtrl::Select() under Mac. Calling Select() for an item should not deselect the other selected items in multiple selection mode. This is consistent with the GTK and generic versions behaviour and also just makes more sense but also document that this is indeed the desired behaviour just in case.
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/config/config.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/bitmapcomboboxtest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/buttontest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/checkboxtest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/checklistboxtest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/choicebooktest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/choicetest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/comboboxtest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/gaugetest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/gridtest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/hyperlinkctrltest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/listbasetest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/listbooktest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/listboxtest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/listctrltest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/notebooktest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/pickertest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/radioboxtest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/radiobuttontest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/richtextctrltest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/slidertest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/spinctrltest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/textctrltest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/togglebuttontest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/toolbooktest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/treebooktest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/treectrltest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/html/htmlwindow.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/image/image.cpp
2010-08-09 14:20 SJL, revision 65224Add wxUSE_* checks to better allow building on minimal configurations.
2010-08-09 12:34 SJL, revision 65223Fix ShowHideEvent as the window is initially shown.
2010-08-09 12:27 SJL, revision 65222Test against the basic style rather than the default style.
2010-08-09 11:54 SJL, revision 65221Fix a pair of typos in RichTextCtrlTestCase, also test against the defaults correctly.
2010-08-09 10:36 SJL, revision 65220Fix a typo in RadioBoxTestCase that caused the test to incorrectly fail.
- M /wxWidgets/branches/SOC2010_GUI_TEST/interface/wx/combobox.h
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/comboboxtest.cpp
2010-08-09 10:35 SJL, revision 65219Note in the docs that wxComboBox::SetString() is case insensitive and fix the unit test.
2010-08-08 14:22 JMS, revision 65218Minor formatting fix to pickertest.cpp.
- M /wxWidgets/trunk/docs/doxygen/overviews/propgrid.h
- 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/samples/propgrid/tests.cpp
- M /wxWidgets/trunk/src/propgrid/props.cpp
2010-08-08 13:59 JMS, revision 65217Moved wxPGProperty::SetFlag() to protected API since it does not have any side-effects that are usually desired in the user code. Added wxPGProperty::SetAutoUnspecified() since wxPG_PROP_AUTO_UNSPECIFIED can no longer be set (conveniently) with SetFlag().
2010-08-08 13:41 JMS, revision 65216Removed spurious semicolon that prevented compilation
- M /wxWidgets/trunk/include/wx/propgrid/property.h
- M /wxWidgets/trunk/include/wx/propgrid/propgridiface.h
- M /wxWidgets/trunk/include/wx/propgrid/propgridpagestate.h
- M /wxWidgets/trunk/interface/wx/propgrid/property.h
- M /wxWidgets/trunk/interface/wx/propgrid/propgridiface.h
- M /wxWidgets/trunk/src/propgrid/property.cpp
- M /wxWidgets/trunk/src/propgrid/propgridiface.cpp
- M /wxWidgets/trunk/src/propgrid/propgridpagestate.cpp
2010-08-08 13:37 VZ, revision 65215Added wxPGProperty::Enable() for conveniency. Refactored related code and improved related documentation.
- M /wxWidgets/trunk/include/wx/generic/dataview.h
- M /wxWidgets/trunk/include/wx/gtk/dataview.h
- M /wxWidgets/trunk/include/wx/osx/dataview.h
- M /wxWidgets/trunk/src/generic/datavgen.cpp
- M /wxWidgets/trunk/src/gtk/dataview.cpp
- M /wxWidgets/trunk/src/osx/dataview_osx.cpp
2010-08-08 13:37 VZ, revision 65214Add name argument to wxDataViewCtrl ctor for consistency. As all the other wxWidgets controls take the parameter in their ctor/Create() it's unexpected that wxDataViewCtrl does not. Add the name parameter and pass it to wxWindowBase::CreateBase() as usual.
2010-08-08 13:37 VZ, revision 65213Don't export wxDataViewCtrlInternal unnecessarily. wxDataViewCtrlInternal is a private class used only inside wxWidgets itself and doesn't need to be exported from the shared library, so remove the unnecessary WXDLLIMPEXP_ADV from its declaration.
2010-08-08 13:37 VZ, revision 65212Fix dataview sample compilation with wxUSE_DRAG_AND_DROP==0. This allows to build it under wxX11. Unfortunately it still doesn't work at all there.
2010-08-08 13:37 VZ, revision 65211Use helper class instead of manually calling gtk_tree_path_free(). No real changes, just simplify the code and make it more obviously correct by ensuring that all temporary tree paths are always destroyed because they are assigned to a wxGtkTreePath object which does it in its dtor instead of calling gtk_tree_path_free() manually every time.
2010-08-08 13:35 VZ, revision 65210Add wxDataViewCtrl::GTKPathToItem() function and use it. No real changes, just refactor the code to use a function mapping GtkTreeIter to our wxDataViewItem and use it instead of duplicating its code everywhere.
2010-08-08 13:35 VZ, revision 65209Include wx/defs.h before testing for wxUSE_CHECKLISTBOX. We need to include wx/defs.h that (indirectly) defines wxUSE_CHECKLISTBOX before testing for it in wx/checklst.h, otherwise the test may fail if the latter header is the first wx header included by the user code. Closes #12306.
2010-08-08 03:46 MYA, revision 65208Correct a print format specifier mismatch in wxFileConfig::Parse(). Pass an int and not a size_t to a %d.
- M /wxWidgets/branches/SOC2010_RTC_IMAGES/include/wx/richtext/richtextbuffer.h
- M /wxWidgets/branches/SOC2010_RTC_IMAGES/include/wx/richtext/richtextimagedlg.h
- M /wxWidgets/branches/SOC2010_RTC_IMAGES/src/richtext/richtextbuffer.cpp
- M /wxWidgets/branches/SOC2010_RTC_IMAGES/src/richtext/richtextdialogs.pjd
- M /wxWidgets/branches/SOC2010_RTC_IMAGES/src/richtext/richtextimagedlg.cpp
2010-08-07 22:04 SJL, revision 65206Offset works and fix multiple issues 1. Draw floats correctly 2. Changing a float back to nomral image works 3. A correct line height calculation way 4. Offset works 5. Move image to previous/next paragraph in progress
- A /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/pickerbasetest.cpp
- A /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/pickerbasetest.h
- A /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/pickertest.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/test.bkl
2010-08-06 22:14 BP, revision 65205Add a new suite of tests for wxPicker base and related classes.
2010-08-06 18:28 VS, revision 65203Added the documentation for wxMemoryBuffer::AppendData(), it was lost in the Doxygen conversion.
2010-08-06 13:09 SJL, revision 65201Fix DnD in generic wxDataViewCtrl when scrolled. wxDataViewMainWindow drag and drop code incorrectly used Y coordinate where X axis should be used to check whether the mouse is inside columns area. This manifested itself as refusing to accept drops once the control was sufficiently scrolled down.
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/asserthelper.cpp
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/asserthelper.h
- M /wxWidgets/branches/SOC2010_GUI_TEST/tests/controls/windowtest.cpp
Add new wxWindow tests for children, focusing, positioning, showing / hiding, enabling / disabling and the static findwindowby functions. Also adds a helper function for wxPoint.