]> 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 abb8f27c8d4fcca9aa90ae7f27d1d2f86389db58..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;