]> git.saurik.com Git - wxWidgets.git/blobdiff - src/propgrid/manager.cpp
move virtual GetPath() implementation out of line to work around an apparent Fedora...
[wxWidgets.git] / src / propgrid / manager.cpp
index d844503d3899f916ab129246cf0208b41646e91f..096228ac5481a64c1e9fe29d7062bcc79040f45c 100644 (file)
@@ -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;