diff options
author | Vsevolod Kukol <sevo@sevo.org> | 2014-06-09 01:54:26 +0400 |
---|---|---|
committer | Vsevolod Kukol <sevo@sevo.org> | 2014-06-09 01:54:26 +0400 |
commit | 2d99e55f93705f8369055d5fbc2ef48e604a892c (patch) | |
tree | 8860069f2730c7f5f595dd7325042d9889003722 /Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs | |
parent | 275f4248dc2efbbe9703989930c1af40775d5450 (diff) |
[GTK] optimize BackgroundColor handling
Diffstat (limited to 'Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs')
-rwxr-xr-x | Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs | 5 |
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) { |