aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/RadioButton.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-09-07 08:32:29 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-09-07 08:32:29 +0200
commitbacf29e47409c20292b6861e6ef40bfc2119eb7b (patch)
tree74227bab7821f2bca5337307f643e8d8eb99e090 /src/GraphicObjects/RadioButton.cs
parenteca898b0411ed562580f6fb7ed8151641fa0b588 (diff)
* XCursor.cs:
* move: * help: * hand: * cross: * arrow: * top_left_corner: * top_right_corner: * bottom_left_corner: * bottom_right_corner: Mouse xCursors * Window.goml: * Checkbox.goml: * Group.cs: * Popper.cs: * Checkbox.cs: * Expandable.cs: * RadioButton.cs: * GraphicObject.cs: * PrivateContainer.cs: * TemplatedControl.cs: Focus handling improvment * GOLib.csproj: * OpenTKGameWindow.cs: * Window.cs: cursors
Diffstat (limited to 'src/GraphicObjects/RadioButton.cs')
-rw-r--r--src/GraphicObjects/RadioButton.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/GraphicObjects/RadioButton.cs b/src/GraphicObjects/RadioButton.cs
index 8c8000e2..9d7ef83e 100644
--- a/src/GraphicObjects/RadioButton.cs
+++ b/src/GraphicObjects/RadioButton.cs
@@ -35,6 +35,12 @@ namespace go
_image.SvgSub = "unchecked";
}
+ [XmlAttributeAttribute()][DefaultValue(true)]//overiden to get default to true
+ public override bool Focusable
+ {
+ get { return base.Focusable; }
+ set { base.Focusable = value; }
+ }
[XmlAttributeAttribute][DefaultValue("RadioButton")]
public string Caption {