From: Vadim Zeitlin Date: Fri, 19 Oct 2012 22:03:47 +0000 (+0000) Subject: Update header control when wxPropertyGridManager is resized. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d57d0505d4c2186592833f18c3d40532d3a4bf0e?ds=inline Update header control when wxPropertyGridManager is resized. Closes #14762. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/propgrid/manager.cpp b/src/propgrid/manager.cpp index 100613581e..abb8f27c8d 100644 --- a/src/propgrid/manager.cpp +++ b/src/propgrid/manager.cpp @@ -1906,6 +1906,11 @@ void wxPropertyGridManager::OnResize( wxSizeEvent& WXUNUSED(event) ) } } } + +#if wxUSE_HEADERCTRL + if ( m_showHeader ) + m_pHeaderCtrl->OnColumWidthsChanged(); +#endif } // -----------------------------------------------------------------------