diff --git a/src/generic/odcombo.cpp b/src/generic/odcombo.cpp index 71cc3ad5f8..1f7c923839 100644 --- a/src/generic/odcombo.cpp +++ b/src/generic/odcombo.cpp @@ -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; }