Kaydet (Commit) 83dbbfe5 authored tarafından Michael Meeks's avatar Michael Meeks

Make ListBox handier post dispose.

Change-Id: I98fcf119a1a7118b46482a43c5f8acb7f0044900
üst baca9020
......@@ -521,9 +521,15 @@ vcl::Window* ListBox::GetPreferredKeyInputWindow()
void ListBox::LoseFocus()
{
if( IsDropDownBox() )
mpImplWin->HideFocus();
{
if (mpImplWin)
mpImplWin->HideFocus();
}
else
mpImplLB->HideFocus();
{
if (mpImplLB)
mpImplLB->HideFocus();
}
Control::LoseFocus();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment