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:
authorBret Johnson <bret.johnson@microsoft.com>2019-09-16 06:42:00 +0300
committerBret Johnson <bret.johnson@microsoft.com>2019-09-16 06:42:00 +0300
commit38c889b41f9eedade1bfc1b434adc629dbcb1f70 (patch)
treee287f4c1810a3f179ce9d859b1371d40ad93d6fe
parenta45fcce5315bbc83ac32f89259d784c03f93fab4 (diff)
[Mac] Ignore, instead of erroring, when set Gtk ColorSelectorBackend.TextColormac-improve-a11y-support
-rw-r--r--Xwt.Gtk/Xwt.GtkBackend/ColorSelectorBackend.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Xwt.Gtk/Xwt.GtkBackend/ColorSelectorBackend.cs b/Xwt.Gtk/Xwt.GtkBackend/ColorSelectorBackend.cs
index f633c74d..a09799ce 100644
--- a/Xwt.Gtk/Xwt.GtkBackend/ColorSelectorBackend.cs
+++ b/Xwt.Gtk/Xwt.GtkBackend/ColorSelectorBackend.cs
@@ -74,12 +74,14 @@ namespace Xwt.GtkBackend
ApplicationContext.InvokeUserCode (EventSink.OnColorChanged);
}
+ ///
+ /// TextColor is not currently supported for Gtk.
+ ///
public Xwt.Drawing.Color TextColor {
get {
- throw new NotImplementedException ("Gtk ColorSelector doesn't currently support the TextColor property");
+ return default(Xwt.Drawing.Color);
}
set {
- throw new NotImplementedException ("Gtk ColorSelector doesn't currently support the TextColor property");
}
}