]> git.saurik.com Git - wxWidgets.git/blobdiff - src/propgrid/manager.cpp
Added ability to switch off more components of the size page UI
[wxWidgets.git] / src / propgrid / manager.cpp
index 100613581ef2f50a7fbafcd9e7510d7f8924b6e7..788af596d357ba10a09435e01ff49df440a596f3 100644 (file)
@@ -745,12 +745,14 @@ bool wxPropertyGridManager::DoSelectPage( int index )
             return false;
     }
 
+#if wxUSE_TOOLBAR
     wxPropertyGridPage* prevPage;
 
     if ( m_selPage >= 0 )
         prevPage = GetPage(m_selPage);
     else
         prevPage = m_emptyPage;
+#endif
 
     wxPropertyGridPage* nextPage;
 
@@ -1906,6 +1908,11 @@ void wxPropertyGridManager::OnResize( wxSizeEvent& WXUNUSED(event) )
             }
         }
     }
+
+#if wxUSE_HEADERCTRL
+    if ( m_showHeader )
+        m_pHeaderCtrl->OnColumWidthsChanged();
+#endif
 }
 
 // -----------------------------------------------------------------------