Add XRC handlers for wxDataViewCtrl and related classes

The same handler is also used for wxDataViewListCtrl and
wxDataViewTreeCtrl.

Closes #18424.
This commit is contained in:
Anton Triest
2019-06-27 12:39:53 +02:00
committed by Vadim Zeitlin
parent 6ee5184171
commit 584e2715eb
21 changed files with 315 additions and 0 deletions

View File

@@ -177,6 +177,9 @@ builtinWindowClasses =
| wxColourPickerCtrl
| wxComboBox
| wxComboCtrl
| wxDataViewCtrl
| wxDataViewListCtrl
| wxDataViewTreeCtrl
| wxDatePickerCtrl
| wxDialog
| wxDirPickerCtrl
@@ -274,6 +277,9 @@ builtinClassesNames =
| "wxColourPickerCtrl"
| "wxComboBox"
| "wxComboCtrl"
| "wxDataViewCtrl"
| "wxDataViewListCtrl"
| "wxDataViewTreeCtrl"
| "wxDatePickerCtrl"
| "wxDialog"
| "wxDirPickerCtrl"
@@ -849,6 +855,31 @@ wxComboCtrl =
}
wxDataViewCtrl =
element object {
attribute class { "wxDataViewCtrl" } &
stdObjectNodeAttributes &
stdWindowProperties
}
wxDataViewListCtrl =
element object {
attribute class { "wxDataViewListCtrl" } &
stdObjectNodeAttributes &
stdWindowProperties
}
wxDataViewTreeCtrl =
element object {
attribute class { "wxDataViewTreeCtrl" } &
stdObjectNodeAttributes &
stdWindowProperties &
[xrc:p="o"] element imagelist {_, t_imagelist }*
}
wxDatePickerCtrl =
element object {
attribute class { "wxDatePickerCtrl" } &