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:
authorVsevolod Kukol <sevo@sevo.org>2014-06-09 01:54:26 +0400
committerVsevolod Kukol <sevo@sevo.org>2014-06-09 01:54:26 +0400
commit2d99e55f93705f8369055d5fbc2ef48e604a892c (patch)
tree8860069f2730c7f5f595dd7325042d9889003722 /Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs
parent275f4248dc2efbbe9703989930c1af40775d5450 (diff)
[GTK] optimize BackgroundColor handling
Diffstat (limited to 'Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs')
-rwxr-xr-xXwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs b/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs
index 3a0372a6..a526d606 100755
--- a/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs
+++ b/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs
@@ -56,6 +56,11 @@ namespace Xwt.GtkBackend
protected new IButtonEventSink EventSink {
get { return (IButtonEventSink)base.EventSink; }
}
+
+ protected override void OnSetBackgroundColor (Color color)
+ {
+ Widget.SetBackgroundColor (color);
+ }
public void SetContent (string label, bool useMnemonic, ImageDescription image, ContentPosition position)
{