From 2326ca72f1666d674a83f6e5544d7c0a4298650b Mon Sep 17 00:00:00 2001 From: Mikko P Date: Tue, 15 Nov 2016 14:09:17 +0200 Subject: [PATCH] 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. --- src/generic/odcombo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }