Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Corrado <alexc@xamarin.com>2013-10-26 00:43:59 +0400
committerAlex Corrado <alexc@xamarin.com>2013-10-26 00:43:59 +0400
commit7e669def2120a9a0c980ab2e8585a9392a3b6e38 (patch)
treeecc367e9b4b21e0b497db5b96ece4706fd8cd38f /Xwt.Mac
parent4b0970039983644acdecc85ff30699bc627a4bab (diff)
[Mac] Fix LinkLabel
Diffstat (limited to 'Xwt.Mac')
-rw-r--r--Xwt.Mac/Xwt.Mac/LabelBackend.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xwt.Mac/Xwt.Mac/LabelBackend.cs b/Xwt.Mac/Xwt.Mac/LabelBackend.cs
index 0a711e4c..b45cc8ee 100644
--- a/Xwt.Mac/Xwt.Mac/LabelBackend.cs
+++ b/Xwt.Mac/Xwt.Mac/LabelBackend.cs
@@ -35,13 +35,13 @@ namespace Xwt.Mac
public class LabelBackend: ViewBackend<NSView,IWidgetEventSink>, ILabelBackend
{
public LabelBackend ()
- : this (new CustomAlignedContainer (new TextFieldView ()))
+ : this (new TextFieldView ())
{
}
protected LabelBackend (IViewObject viewObject)
{
- ViewObject = viewObject;
+ ViewObject = new CustomAlignedContainer ((NSView)viewObject);
Widget.Editable = false;
Widget.Bezeled = false;
Widget.DrawsBackground = false;