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
|
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
|
b50e81c696
|
Added workaround for wxGTK tab traversal problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-21 14:35:17 +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
|
2cbd2892e7
|
Connect wxEVT_KEY_DOWN for both editor controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-18 16:32:59 +00:00 |
|
Jaakko Salli
|
4d11369db6
|
Do not skip key events so eagerly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-18 16:09:48 +00:00 |
|
Jaakko Salli
|
b47d6bc416
|
Forgot event.Skip()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-18 15:27:58 +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
|
d35947a23f
|
Set focus back to canvas when child editors are being destroyed (fixes wxGTK property selection focus bug)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-12 11:13:21 +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
|
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
|
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 |
|
Stefan Csomor
|
3b211af168
|
switching away from angle brackets includes, deactivating OSX workaround
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-06 10:41:40 +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
|
cfb9736175
|
Also use F4 shortcut for textfield + button combination
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-04 19:34:53 +00:00 |
|
Jaakko Salli
|
d85423250a
|
Fixed use of erase() in wxPGChoices::RemoveAt()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-04 13:22:13 +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
|
14c140606b
|
Minor additional clipper window related code and comment tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-03 15:31:23 +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
|
c80f436e83
|
Recognize lack of wxTAB_TRAVERSAL style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-01 17:56:04 +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
|
474b0ba488
|
Added useful comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-01 17:20:11 +00:00 |
|
Jaakko Salli
|
0fd5c4019c
|
Fixed wxPG sourceforge tracker bug #2138858, applied other appropriate uses of GetEditorControl() as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-01 17:11:10 +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
|
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
|
6d24f9a939
|
Fix Connect() calls in SetupChildEventHandling()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-30 16:46:36 +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 |
|
Robert Roebling
|
7a8092229f
|
Make wxPGCanvas accept focus even with child windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-30 11:34:19 +00:00 |
|
Robert Roebling
|
1e6935a670
|
Add wxPGCanvas RTTI for debugging purpose
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-30 11:25:54 +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
|
c8074be06b
|
RegisterAdditionalEditors() to work even if no wxPropertyGrids created, in sample moved editor registration before first CreateGrid() call to prevent crash, removed wxPG_USE_WXMODULE support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-29 16:50:03 +00:00 |
|
Jaakko Salli
|
614fbbad61
|
wxPropertyGrid::RegisterEditorClass() now CHECK_MSG()s for duplicate editor names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-27 15:29:05 +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
|
7ce66351b7
|
Fixed a warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-27 13:13:08 +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
|
7de050ad3f
|
Fixed bug: wxPGProperty::OnEvent() was never called if primary editor window was NULL (as could be if limited editing was used)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-25 15:59:49 +00:00 |
|
Jaakko Salli
|
4b5d2be396
|
Revised #ifndef WX_PRECOMP headers, added missing #include wx/wxcrtvararg.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-21 17:06:44 +00:00 |
|
Jaakko Salli
|
472137baeb
|
Removed #include <typeinfo> (since C++ RTTI is no longer used)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-21 15:48:20 +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
|
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
|
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
|
e213da24b8
|
Try to improve focus problem situation by using more SetFocusIgnoringChildren() instead of SetFocus()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-17 15:36:32 +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 |
|