Jaakko Salli
|
1425eca550
|
Added virtual wxPGProperty::ValueToString(). In derived property classes, now it must be implemented instead of GetValueAsString (assertion failure is raised at run-time if you fail to do so). This change is needed to properly support wxEVT_PG_CHANGING for nested composite string properties. wxPGProperty::GenerateComposedValue() partially updated to support this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-16 17:19:50 +00:00 |
|
Jaakko Salli
|
2fd4a52415
|
wxPGProperty::AddChild() can now be used to add normal child properties (previously it was only used to add private children of derived property classes such as wxFontProperty and wxFlagsProperty). However, to allow backwards compatibility, SetParentalStyle(wxPG_PROP_MISC_PARENT) needs to be called before doing so. Also done: merged property initialization code from PrepareToAddItem() and PrepareSubProperties() to InitAfterAdded().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-14 17:15:59 +00:00 |
|
Jaakko Salli
|
68bcfd2c10
|
Eliminate (or at least reduce) 64-bit build warnings (as described in wxPG sourceforge bug report #2156069)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-12 12:23:48 +00:00 |
|
Jaakko Salli
|
9b5bafcf38
|
Removed dysfunctional wxPGPropery::PrepareValueForDialogEditing(); Replaced its functionality with wxPropertyGrid::GetPendingEditedValue(); Added wxPropertyGrid::PerformValidation() flags so it can be called in generic context.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-08 18:15:10 +00:00 |
|
Jaakko Salli
|
d61d8cffa9
|
Eliminated last property generation macros from props.h (colour property gen ones, now use subclassing facilities present in wx(System)ColourProperty)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-07 17:28:05 +00:00 |
|
Jaakko Salli
|
3a89adc1f0
|
Removed wxLongStringProperty derived property creator macros (just subclass and implement OnButtonClick()); Partially fixed wxPGProperty::PrepareValueForDialogEditing()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-07 16:56:43 +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
|
9e6bebdcac
|
Tweaked wxPGProperty::StringToValue() and IntToValue() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-03 17:11:00 +00:00 |
|
Jaakko Salli
|
17e3ad2ae1
|
Minor clarification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-29 15:49:09 +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
|
bb6720bb9e
|
Document revisioning (including more wx-like formatting and internal function removal)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-23 17:37:27 +00:00 |
|
Jaakko Salli
|
40924780ea
|
Remove doc references to 'common value' (which is unfinished feature)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-23 15:35:32 +00:00 |
|
Jaakko Salli
|
a6162a3eaf
|
'wx(U)LongLong << variant' type safety improved (now works even if variant has plain long value). Added << operator and WXVARIANT template specialization for wx(U)LongLong_t as well. Changed WX_PG_DECLARE/IMPLEMENT_VARIANT_DATA so that classname << variant can be customized.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-21 16:54:22 +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
|
35f6f7de48
|
Removed unused comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-18 17:47:19 +00:00 |
|
Jaakko Salli
|
e342075f46
|
Document struct wxPGPaintData in function docs of only function that uses it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-18 17:43:15 +00:00 |
|
Jaakko Salli
|
15cbcd00da
|
Fixed typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-17 18:11:49 +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 |
|