X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94f0292941b6520afbabc999da698ef5fe576a46..8cbc59fe84f046685b873cf58f6c56debe59de1c:/src/propgrid/manager.cpp diff --git a/src/propgrid/manager.cpp b/src/propgrid/manager.cpp index d844503d38..096228ac54 100644 --- a/src/propgrid/manager.cpp +++ b/src/propgrid/manager.cpp @@ -657,6 +657,8 @@ wxPropertyGridPageState* wxPropertyGridManager::GetPageState( int page ) const void wxPropertyGridManager::Clear() { + m_pPropGrid->ClearSelection(false); + m_pPropGrid->Freeze(); int i; @@ -1479,7 +1481,7 @@ void wxPropertyGridManager::SetSplitterLeft( bool subProps, bool allPages ) else { wxClientDC dc(this); - dc.SetFont(m_pPropGrid->m_font); + dc.SetFont(m_pPropGrid->GetFont()); int highest = 0; unsigned int i;