From 5900bb7c5f0c3c52585e8112d3dc8a5948f3fc6a Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Mon, 14 Dec 2009 15:12:29 +0000 Subject: [PATCH 1/1] Fixed unspecified property value rendering for various editor types (including check box) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/propgrid/property.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/propgrid/property.cpp b/src/propgrid/property.cpp index 09f4bc8ba8..774d37b580 100644 --- a/src/propgrid/property.cpp +++ b/src/propgrid/property.cpp @@ -216,10 +216,10 @@ void wxPGDefaultRenderer::Render( wxDC& dc, const wxRect& rect, if ( column == 1 ) { + editor = property->GetColumnEditor(column); + if ( !isUnspecified ) { - editor = property->GetColumnEditor(column); - // Regular property value wxSize imageSize = propertyGrid->GetImageSize(property, item); -- 2.45.2