From 029f1018f53c237e4198c6fec276efca54c5f310 Mon Sep 17 00:00:00 2001 From: Vsevolod Kukol Date: Wed, 18 Dec 2019 09:05:33 -0500 Subject: [PATCH] [Mac] Seal internal ComboBox classes Co-Authored-By: Marius Ungureanu --- Xwt.XamMac/Xwt.Mac/ComboBoxEntryBackend.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Xwt.XamMac/Xwt.Mac/ComboBoxEntryBackend.cs b/Xwt.XamMac/Xwt.Mac/ComboBoxEntryBackend.cs index a037f2a45..eb4a2c5c0 100644 --- a/Xwt.XamMac/Xwt.Mac/ComboBoxEntryBackend.cs +++ b/Xwt.XamMac/Xwt.Mac/ComboBoxEntryBackend.cs @@ -106,7 +106,7 @@ public void SetTextColumn (int column) #endregion } - class MacComboBoxDelegate : TextFieldDelegate, INSComboBoxDelegate + sealed class MacComboBoxDelegate : TextFieldDelegate, INSComboBoxDelegate { WeakReference weakBackend; @@ -130,7 +130,7 @@ public void SelectionChanged (NSNotification notification) } } - class MacComboBox : NSComboBox, IViewObject + sealed class MacComboBox : NSComboBox, IViewObject { IComboBoxEventSink eventSink; ITextEntryEventSink entryEventSink; @@ -335,4 +335,3 @@ protected override void Dispose (bool disposing) } } } -