]> git.saurik.com Git - wxWidgets.git/commitdiff
Also update description text when wxPG_DESCRIPTION window style is toggled
authorJaakko Salli <jaakko.salli@dnainternet.net>
Sun, 12 Oct 2008 11:25:18 +0000 (11:25 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Sun, 12 Oct 2008 11:25:18 +0000 (11:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/propgrid/manager.cpp

index 9f203d91b00314ef1c1b89b1e45d3204ebbc3bf6..34d7a7f3a98b5aaeedd900755eed7605805f973c 100644 (file)
@@ -1287,6 +1287,8 @@ void wxPropertyGridManager::RecreateControls()
                 wxEmptyString,wxDefaultPosition,wxDefaultSize,wxALIGN_LEFT|wxST_NO_AUTORESIZE);
             m_pTxtHelpContent->SetCursor ( *wxSTANDARD_CURSOR );
         }
+
+        SetDescribedProperty(GetSelection());
     }
     else
     {