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:
@@ -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" } &
|
||||
|
Reference in New Issue
Block a user