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.
(cherry picked from commit 2326ca72f1)
This commit is contained in:
Mikko P
2016-11-15 14:09:17 +02:00
committed by Paul Cornett
parent 29a514cfc6
commit c47837ea92

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;
}