Fix owner drawn dropdown row height.

While m_combo->GetFont(); sets the proper font, the size of that font did not affect the character height.
This commit is contained in:
Mikko P
2016-11-15 14:09:17 +02:00
committed by VZ
parent 5ffb8de44d
commit 2326ca72f1

View File

@@ -85,7 +85,7 @@ bool wxVListBoxComboPopup::Create(wxWindow* parent)
wxVListBox::SetItemCount(m_strings.GetCount());
// TODO: Move this to SetFont
m_itemHeight = GetCharHeight() + 0;
m_itemHeight = m_combo->GetCharHeight();
return true;
}