From 0bce7e240e2eb1330d213d97f5b11c5592d95b3c Mon Sep 17 00:00:00 2001 From: SDClowen Date: Sat, 28 May 2022 17:13:31 +0300 Subject: [PATCH] ... --- SDUI/Controls/ComboBox.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SDUI/Controls/ComboBox.cs b/SDUI/Controls/ComboBox.cs index 6118078..93c74c1 100644 --- a/SDUI/Controls/ComboBox.cs +++ b/SDUI/Controls/ComboBox.cs @@ -9,6 +9,8 @@ public class ComboBox : System.Windows.Forms.ComboBox { protected override void OnDrawItem(DrawItemEventArgs e) { + base.OnDrawItem(e); + var index = e.Index; if (index < 0 || index >= Items.Count) return;