Skip to content

Commit e206ed6

Browse files
authored
Merge pull request #192 from gmono/develop
Update ForeverListBox.cs
2 parents 9338b3b + ee80e4c commit e206ed6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ReaLTaiizor/Controls/ListBox/ForeverListBox.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ public void AddItem(object item)
146146

147147
public ForeverListBox()
148148
{
149+
ListBx = new ListBox();
149150
SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.OptimizedDoubleBuffer, true);
150151
DoubleBuffered = true;
151152

@@ -202,4 +203,4 @@ private void UpdateColors()
202203
}
203204

204205
#endregion
205-
}
206+
}

0 commit comments

Comments
 (0)