Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Commit e5a85bb

Browse files
sevokuTherzok
andcommitted
[Mac] Seal internal ComboBox classes
Co-Authored-By: Marius Ungureanu <[email protected]>
1 parent 09fbba2 commit e5a85bb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Xwt.XamMac/Xwt.Mac/ComboBoxEntryBackend.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public void SetTextColumn (int column)
106106
#endregion
107107
}
108108

109-
class MacComboBoxDelegate : TextFieldDelegate, INSComboBoxDelegate
109+
sealed class MacComboBoxDelegate : TextFieldDelegate, INSComboBoxDelegate
110110
{
111111
WeakReference weakBackend;
112112

@@ -130,7 +130,7 @@ public void SelectionChanged (NSNotification notification)
130130
}
131131
}
132132

133-
class MacComboBox : NSComboBox, IViewObject
133+
sealed class MacComboBox : NSComboBox, IViewObject
134134
{
135135
IComboBoxEventSink eventSink;
136136
ITextEntryEventSink entryEventSink;
@@ -335,4 +335,3 @@ protected override void Dispose (bool disposing)
335335
}
336336
}
337337
}
338-

0 commit comments

Comments
 (0)