Add XRC handler for wxSpinCtrlDouble

Create wxSpinCtrlDoubleXmlHandler class similar to the existing
wxSpinCtrlXmlHandler and update the XRC schema to account for it.
This commit is contained in:
Trylz
2018-01-10 17:26:24 +01:00
committed by Vadim Zeitlin
parent e2a31ef3db
commit 80f4c8cde3
5 changed files with 69 additions and 2 deletions

View File

@@ -214,6 +214,7 @@ builtinWindowClasses =
| wxSlider
| wxSpinButton
| wxSpinCtrl
| wxSpinCtrlDouble
| wxSplitterWindow
| wxSearchCtrl
| wxStatusBar
@@ -310,6 +311,7 @@ builtinClassesNames =
| "wxSlider"
| "wxSpinButton"
| "wxSpinCtrl"
| "wxSpinCtrlDouble"
| "wxSplitterWindow"
| "wxSearchCtrl"
| "wxStatusBar"
@@ -1413,6 +1415,18 @@ wxSpinCtrl =
}
wxSpinCtrlDouble =
element object {
attribute class { "wxSpinCtrlDouble" } &
stdObjectNodeAttributes &
stdWindowProperties &
[xrc:p="o"] element value {_, t_float }* &
[xrc:p="o"] element min {_, t_float }* &
[xrc:p="o"] element max {_, t_float }* &
[xrc:p="o"] element inc {_, t_float}*
}
wxSplitterWindow =
element object {
attribute class { "wxSplitterWindow" } &