Vadim Zeitlin
|
18415eb5ca
|
use base class copy ctor in wxPGCell and wxPGChoiceEntry copy ctor implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-10 23:06:44 +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
|
23318a5358
|
declare all NameStr[] strings as const char using the correct WXDLLIMPEXP_DATA_ macros; in the process, change wxPropGrid window classes to take 'const wxString& name' arguments instead of 'const wxChar *name'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-02 22:16:14 +00:00 |
|
Jaakko Salli
|
d7e2b52235
|
Reworked wxPGCell. It is now reference counted, and therefore much more user friendly, and is used internally as basis for most property colour values instead of separate row text and bg colours.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-31 18:53:37 +00:00 |
|
Jaakko Salli
|
c724444f7e
|
Added similar assignment operator as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-27 16:50:45 +00:00 |
|
Jaakko Salli
|
1d882226f5
|
Added wxPropertyGridConstIterator(const wxPropertyGridIterator&) copy ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-27 16:47:35 +00:00 |
|
Jaakko Salli
|
cfcc02a8a4
|
Removed dummy wxFont == operator implementation (IIRC was needed to compile with some old version of wx)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-27 16:26:46 +00:00 |
|
Jaakko Salli
|
78f2d746a0
|
Merged wxBaseEnumPropertyClass (intermediate property class with obsolete purpose) to wxEnumPropertyClass
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-22 15:23:07 +00:00 |
|
Jaakko Salli
|
98c0463399
|
Removed deprecated functions wxPGChoices::HasValue(), HasValues()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-21 15:17:06 +00:00 |
|
Jaakko Salli
|
f275b5dbfd
|
User should no longer be able to modify disabled or read only child properties by editing their parent (wxPG sf bug #2181860)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-20 17:01:17 +00:00 |
|
Jaakko Salli
|
404b9c623a
|
Changed argument of wxPropertyGrid::OnCustomEditorEvent() from wxCommandEvent to wxEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-19 11:48:49 +00:00 |
|
Jaakko Salli
|
9bc1121429
|
In wxPropertyGridManager, alphabetic mode is now sorted even if wxPG_AUTO_SORT flag is absent (fixes wxPG sf bug #2162053)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-19 11:29:36 +00:00 |
|
Jaakko Salli
|
68f9e025b9
|
Simplistic tab support is now default (tab focuses editor if unfocused, otherwise goes out of grid), no longer recognizes wxTAB_TRAVERSAL, unified key handling code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-18 15:11:44 +00:00 |
|
Jaakko Salli
|
c82a80e81f
|
wxPGProperty::GenerateComposedValue() -> protected DoGenerateComposedValue(), added simple public GenerateComposedValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-17 16:46:38 +00:00 |
|
Jaakko Salli
|
102c9a42e8
|
Fixed broken wxMultiChoiceProperty::ValueToString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-16 17:36:07 +00:00 |
|
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
|
fedaff2f95
|
Removed unneeded wxPG_INHERITED_PROPFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-15 16:13:23 +00:00 |
|
Jaakko Salli
|
174b59acee
|
Remove old workarounds to get cut, copy, and paste working in embedded wxTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-15 16:07:26 +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 |
|
Robert Roebling
|
012b4a0790
|
Correct positioning of wxTextCtrl in wxPropertyGrid for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-14 12:32:01 +00:00 |
|
Robert Roebling
|
9861dc94bb
|
Use native closure buttons under GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-13 11:21:37 +00:00 |
|
Robert Roebling
|
1b895132c9
|
Correct spelling, now use Indices
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-13 10:52:38 +00:00 |
|
Robert Roebling
|
5acb9127c5
|
Correct spelling and signature of FixIndexesOfChildren
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-12 18:07:01 +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
|
4e7a37b4b0
|
Re-added GetSelectProperty() to wxPropertyGridManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-12 11:29:41 +00:00 |
|
Jaakko Salli
|
703ee9f5ec
|
GetPendingEditedValue() -> GetUncommittedPropertyValue() (more consistent API naming. Eg. there is also CommitChangesFromEditor())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-10 15:22:08 +00:00 |
|
Jaakko Salli
|
a57f24f97a
|
Removed '#ifndef DOXYGEN' sections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-08 18:19:02 +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
|
66db4345cf
|
Removed wxPropertyGridInterface::SetPropertyAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-08 17:02:02 +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
|
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
|
52cefafe7e
|
Minimize use of editor class macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-06 16:09:36 +00:00 |
|
Jaakko Salli
|
5a45dd6fd9
|
When registering editor, try wxRTTI class name in additon to result of wxPGEditor::GetName(). Allows creating custom editors without needing to implement GetName().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-06 15:48:27 +00:00 |
|
Jaakko Salli
|
c26873c8ef
|
Remove use of wxPG_EDITOR macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-06 15:38:30 +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
|
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
|
ea5af9c535
|
Fix RCS-IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-05 18:03:43 +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 |
|
Robert Roebling
|
a5d567622f
|
Removed wxNavigationKey code, new keyboard navigation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-04 09:28:31 +00:00 |
|
Jaakko Salli
|
b2c36e3549
|
Explicitly call wxObject ctor in wxColourPropertyValue ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-03 17:46:01 +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
|
7adf8bf391
|
Remove wxPGClipperWindow, use wxBORDER_NONE instead of wxNO_BORDER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-03 15:23:00 +00:00 |
|
Jaakko Salli
|
1766bf3453
|
SetButtonShortcut() merged with action system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-02 16:02:20 +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
|
89b4415803
|
Moved ClearModifiedStatus() to wxPropertyGridInterface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-02 15:36:24 +00:00 |
|
Jaakko Salli
|
fe6ee7ec10
|
Use wxPendingDelete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-01 17:43:06 +00:00 |
|
Jaakko Salli
|
0d4884cbf3
|
Unfocus text editor when enter is pressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-01 16:24:21 +00:00 |
|
Jaakko Salli
|
d8c74d044b
|
Use m_children as it were std::vector
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-01 15:13:00 +00:00 |
|