Jaakko Salli
9ceed261f8
Added wxPGProperty::Enable() for conveniency. Refactored related code and improved related documentation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-08 11:41:20 +00:00
Vadim Zeitlin
526954c596
Globally use "wxWindows licence" consistently.
...
Use "wxWindows licence" and not "wxWidgets licence" (the latter doesn't
exist) and consistently spell "licence" using British spelling.
See #12165 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 13:29:13 +00:00
Jaakko Salli
863d1ce7c2
Documented pythonic iterators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-13 08:46:30 +00:00
Jaakko Salli
f231df8aa8
Property removal and deletion done from wxPropertyGrid event handler is now postponed to idle event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-22 16:44:56 +00:00
Jaakko Salli
4279fdb44a
Added wxPropertyGridInterface::GetColumnProportion()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-16 15:38:12 +00:00
Jaakko Salli
fe01f16e53
Added wxPropertyGridInterface::SetColumnProportion(); wxPG_SPLITTER_AUTO_CENTER window style now supports column counts higher than two.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-14 14:09:06 +00:00
Jaakko Salli
c05fe84146
Added nominal wxPG_PROP_READONLY support for editor controls other than wxTextCtrl-based ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-31 18:15:17 +00:00
Jaakko Salli
e607eac25c
Changed 'bool recursively' to 'int flags' argument (with default value of wxPG_RECURSE) in wxPropertyGrid Set(Property)BackgroundColour() and Set(Property)TextColour() member functions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-15 16:39:19 +00:00
Jaakko Salli
fc72fab6c6
Added multiple selection feature to wxPropertyGrid (enabled by setting wxPG_EX_MULTIPLE_SELECTION style)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-17 18:36:00 +00:00
Jaakko Salli
01b5ad3b50
Do not generate wxEVT_PG_SELECTED with direct ClearSelection() and SelectProperty() calls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-11 16:53:05 +00:00
Jaakko Salli
c9cc9a2f3e
Fixed wxPropertyGridInterface::SetPropertyValues() documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-20 15:06:04 +00:00
Jaakko Salli
d85635c5d8
Improved documentation for GetProperty(), GetPropertyByName()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 18:36:35 +00:00
Jaakko Salli
0eb877f2c1
Reverted to old wxPG_AUTO_SORT behavior in which only root properties and immediate children of categories are (automatically) sorted; Added Sort flags; Applied slight optimization when sorting on propgridmanager page change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 15:16:03 +00:00
Jaakko Salli
433969811e
Added wxPropertyGrid::SetSortFunction(); moved Sort() and SortChildren() to wxPropertyGridInterface; default sorting is now case-insensitive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 18:53:09 +00:00
Jaakko Salli
f915d44b3f
Added wxPropertyGridInterface::RemoveProperty()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-11 17:11:35 +00:00
Vadim Zeitlin
088441b57c
fix parameter name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 08:39:42 +00:00
Jaakko Salli
1621f192d9
Removed property editor validation failure assertions when implicitly clearing selection. Added relevant notes into documentation of member functions that previously asserted.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-06 18:05:09 +00:00
Jaakko Salli
e2ca659906
Moved Get/SetPropertyText/BackgroundColour() member functions from wxPropertyGrid to wxPropertyGridInterface
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-03 17:02:04 +00:00
Francesco Montorsi
0ad10f3055
fixed doxygen warnings; also restyled (partially) the interface headers to conform to wx doc style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-22 20:48:31 +00:00
Jaakko Salli
ff1e1474ed
Removed SetPropertiesFlag() (high-level function using 'undocumented' wxPGProperty flags, IIRC was mostly used as poor-man's SetEditableState() and possibly for internal use until very recently)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 17:35:06 +00:00
Jaakko Salli
75b6c4ce92
Removed GetExpandedProperties() (used to act as poor man's GetEditableState())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:24:05 +00:00
Jaakko Salli
de0037976c
Fix RCS-IDs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:14:06 +00:00
Jaakko Salli
ba9ed9d0c6
Removed wxPropertyGridInterface::ClearPropertyValue() (use SetPropertyValue(defaultValue) instead)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:10:00 +00:00
Jaakko Salli
6280517046
Added Description Box Height to saveable/restoreable editable state
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-04 10:59:06 +00:00
Jaakko Salli
5ecd2ba500
Updated docs, removed SetPropertyModifiedStatus() (use wxPGProperty::SetModifiedStatus() instead)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-02 15:47:36 +00:00
Jaakko Salli
020b004113
Moved wxPropertyGrid::SetPropertyName() to wxPropertyGridInterface
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 17:01:04 +00:00
Jaakko Salli
effb029c30
wxPropertyGridInterface docs cleanup and fixes, removed some rarely needed member functions with simple workarounds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 15:09:33 +00:00
Jaakko Salli
1802a91dec
Fixed bug: Settings property attribute to wxNullVariant would cause GetAttribute() to fail (wxPG SourceForge bug #2128485 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:13:32 +00:00
Jaakko Salli
3c26d11be9
Moved SetPropertyAttributeAll() to wxPropertyGridInterface
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 15:42:08 +00:00
Jaakko Salli
bba3f9b5bc
A lot of documentation revision. Updated doctest code in propgrid sample to reflect sample code on overview page.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 14:13:32 +00:00
Jaakko Salli
939d936402
Moved wxPGChoices m_choices member from various property classes to base wxPGProperty. This allows any property to have choices without subclassing and therefore work with Choice and ComboBox editors. Also removed redundant choice manipulation functions from wxPropertyGridinterface (ie. now use ones in wxPGProperty).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 16:57:33 +00:00
Jaakko Salli
0372d42ea5
Eliminated C++ RTTI (typeid etc) use. Eliminated wxPGVariantData (default default value for new types is now Null variant). Re-created variantdata creator macros based on those found in variant.h. Using DECLARE/IMPLEMENT_VARIANT_OBJECT whenever possible.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 15:55:53 +00:00
Jaakko Salli
258ccb95f5
Updated documentation to acknowledge the fact that properties can have identical labels, and that they must have non-empty name that is unique under parent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 13:53:21 +00:00
Vadim Zeitlin
1c4293cb91
added wxPropertyGrid from Jaakko Salli ( #9934 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 20:57:41 +00:00