diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-05-30 19:08:35 +0300 |
---|---|---|
committer | Kirill Osenkov <KirillOsenkov@users.noreply.github.com> | 2019-05-30 19:08:35 +0300 |
commit | 76fc4601c1bcff4f77fca6a06b5eb96b03c29a46 (patch) | |
tree | 26d60db118159d5999e0851c7c0415631718a4e6 /main | |
parent | 855f8bd075ad32095015d544f840143c13665d26 (diff) |
Fix build error on Windows in AccessibilityElementProxy (#7726)
Diffstat (limited to 'main')
-rw-r--r-- | main/src/addins/MonoDevelop.SourceEditor2/Mono.TextEditor/Gui/TextViewMargin.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.SourceEditor2/Mono.TextEditor/Gui/TextViewMargin.cs b/main/src/addins/MonoDevelop.SourceEditor2/Mono.TextEditor/Gui/TextViewMargin.cs index cb59267c37..6754d0b0ce 100644 --- a/main/src/addins/MonoDevelop.SourceEditor2/Mono.TextEditor/Gui/TextViewMargin.cs +++ b/main/src/addins/MonoDevelop.SourceEditor2/Mono.TextEditor/Gui/TextViewMargin.cs @@ -138,7 +138,11 @@ namespace Mono.TextEditor public TextViewMarginAccessibilityProxy () { +#if MAC Accessible = AccessibilityElementProxy.TextElementProxy (GetContents, GetNumberOfCharacters, GetInsertionPointLineNumber, GetFrameForRange, GetLineForIndex, GetRangeForLine, GetStringForRange, GetRangeForIndex, GetStyleRangeForIndex, GetRangeForPosition, GetVisibleCharacterRange); +#else + Accessible = AccessibilityElementProxy.TextElementProxy(); +#endif } public void Dispose () |