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:
authorLluis Sanchez <lluis@xamarin.com>2011-12-29 19:32:21 +0400
committerLluis Sanchez <lluis@xamarin.com>2011-12-29 19:32:21 +0400
commit8a61e71232ae420b878a45c3b4d2a89c46d22ef1 (patch)
tree6a1ee66660fc6cf0dddffa32fac654accbe86829 /Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs
parentfa6d8cc672e65fc22cceafdf199c1321420c6b8e (diff)
Fixed several size handling issues
Diffstat (limited to 'Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs')
-rwxr-xr-xXwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs b/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs
index 4dd0fa7c..c9e80017 100755
--- a/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs
+++ b/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs
@@ -136,7 +136,9 @@ namespace Xwt.GtkBackend
void HandleWidgetClicked (object sender, EventArgs e)
{
- EventSink.OnClicked ();
+ Toolkit.Invoke (delegate {
+ EventSink.OnClicked ();
+ });
}
}
}