]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed unspecified property value rendering for various editor types (including check...
authorJaakko Salli <jaakko.salli@dnainternet.net>
Mon, 14 Dec 2009 15:12:29 +0000 (15:12 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Mon, 14 Dec 2009 15:12:29 +0000 (15:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/propgrid/property.cpp

index 09f4bc8ba86266680fcf094e64ff5bdba669cf2f..774d37b5807b646b20f05d9e9d7c3d8a6238e691 100644 (file)
@@ -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);