From: Jaakko Salli Date: Sun, 12 Oct 2008 11:25:18 +0000 (+0000) Subject: Also update description text when wxPG_DESCRIPTION window style is toggled X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f3932d5ac405f93d55ac876ad12e8862a69336fd?ds=inline Also update description text when wxPG_DESCRIPTION window style is toggled git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/propgrid/manager.cpp b/src/propgrid/manager.cpp index 9f203d91b0..34d7a7f3a9 100644 --- a/src/propgrid/manager.cpp +++ b/src/propgrid/manager.cpp @@ -1287,6 +1287,8 @@ void wxPropertyGridManager::RecreateControls() wxEmptyString,wxDefaultPosition,wxDefaultSize,wxALIGN_LEFT|wxST_NO_AUTORESIZE); m_pTxtHelpContent->SetCursor ( *wxSTANDARD_CURSOR ); } + + SetDescribedProperty(GetSelection()); } else {