From b8ea299a7e88d570be50a05e0c7a80190d9b24b4 Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Tue, 25 May 2010 15:32:43 +0000 Subject: [PATCH] Draw wxPropertyGrid drop down items with consistent (non-bold) font (fixes #12088) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/propgrid/editors.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/propgrid/editors.cpp b/src/propgrid/editors.cpp index 950539a507..5867b53e1e 100644 --- a/src/propgrid/editors.cpp +++ b/src/propgrid/editors.cpp @@ -848,6 +848,10 @@ void wxPropertyGrid::OnComboItemPaint( const wxPGComboBox* pCb, else { renderFlags |= wxPGCellRenderer::ChoicePopup; + + // For consistency, always use normal font when drawing drop down + // items + dc.SetFont(GetFont()); } // If not drawing a selected popup item, then give property's