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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user