]> git.saurik.com Git - wxWidgets.git/commitdiff
Set up default property grid unspecified value colour
authorJaakko Salli <jaakko.salli@dnainternet.net>
Tue, 23 Feb 2010 15:29:10 +0000 (15:29 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Tue, 23 Feb 2010 15:29:10 +0000 (15:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/propgrid/propgrid.cpp

index 389e7a88f2259b95b10e5d768ae44e60b29c9ba3..0ba675584e21cd2a2d27c81bfe6aebf855ae2b9c 100644 (file)
@@ -348,8 +348,8 @@ void wxPropertyGrid::Init1()
     m_mouseSide = 16;
     m_editorFocused = 0;
 
-    // Must set empty but valid data
-    m_unspecifiedAppearance.SetEmptyData();
+    // Set up default unspecified value 'colour'
+    m_unspecifiedAppearance.SetFgCol(*wxLIGHT_GREY);
 
     // Set default keys
     AddActionTrigger( wxPG_ACTION_NEXT_PROPERTY, WXK_RIGHT );