From cb0f3ec17199b078f2d16565f944a5c83edc452a Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Sun, 3 Jan 2010 10:23:40 +0000 Subject: [PATCH] In wxPGEditor::SetControlAppearance() use GetClassDefaultAttributes() instead of GetDefaultAttributes() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/propgrid/editors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/propgrid/editors.cpp b/src/propgrid/editors.cpp index a0298fc790..8607c44f28 100644 --- a/src/propgrid/editors.cpp +++ b/src/propgrid/editors.cpp @@ -262,7 +262,7 @@ void wxPGEditor::SetControlAppearance( wxPropertyGrid* pg, } } - wxVisualAttributes vattrs = ctrl->GetDefaultAttributes(); + wxVisualAttributes vattrs = ctrl->GetClassDefaultAttributes(); // Foreground colour const wxColour& fgCol = cell.GetFgCol(); -- 2.45.2