Commit Graph

38 Commits

Author SHA1 Message Date
Paul Cornett
470f357fd2 make access for virtuals match base
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 18:20:21 +00:00
Jaakko Salli
e9cc4973ff Fixed various NULL reference issues. Also cleaned up wxPGComboBox code overall a bit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-15 10:34:36 +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
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
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
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
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
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
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
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
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
f7a094e1af Converted various wxArrayPtrVoids to wxVectors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 17:23:27 +00:00
Jaakko Salli
28fb19ef29 Try to make SetupChildEventHandling() more foolproof
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 16:33:43 +00:00
Jaakko Salli
47e343c6bf Added missing dllimpexp declaration, added missing GetFailureBehavior() implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 15:36:52 +00:00
Robert Roebling
0ca422ef4c Move body of SetFocusOnCanvas to .cpp file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 07:15:40 +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
704ceca8d2 Removed wxPG_EX_LEGACY_VALIDATORS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:52:57 +00:00
Jaakko Salli
9891e165c5 Added missing wxPGValidationInfo::SetFailureMessage() implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:34:07 +00:00
Jaakko Salli
458917e8de Removed wxPropertyGridEvent::HasProperty() (use GetProperty() != NULL instead)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:31:27 +00:00
Jaakko Salli
2a8312bced Make wxPGValidationInfo class instead of struct, re-document it (used at least by derived wxPGProperty::ValidateValue())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:23:38 +00:00
Jaakko Salli
6b03a638a4 Doc and comment cleanup, fixes, tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:07:00 +00:00
Jaakko Salli
7a344f1be4 Fixed wxPGMultiButton (event handling, FinalizePosition() -> Finalize(), no longer using PG specific class macros in its sample), other editors.h interface fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 14:03:10 +00:00
Jaakko Salli
d9fb481c56 Fixed and clarified editor control event handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 18:20:17 +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
c29e714c37 Added separate SetFocusOnCanvas() function so that m_editorFocused will be more reliable updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 17:34:22 +00:00
Jaakko Salli
f4bc1aa27c wxUSE_PROPGRID is now recognized by source and header files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 15:00:00 +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
23b4f32040 wxPropertyGrid member m_visPropArray removed, now always recreated from scratch in DoDrawItems()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 20:14:20 +00:00
Jaakko Salli
30595b81f2 Cleaned up wxPropertyGrid::SetCurrentCategory()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 19:43:44 +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