From 0ed8f52acdd4bb07c57f2da1683969285feca887 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 20 Jan 2013 02:09:27 +0000 Subject: [PATCH] Put "#if wxUSE_TOOLBAR" around a variable only used in this case. No real changes. Closes #14957. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/propgrid/manager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/propgrid/manager.cpp b/src/propgrid/manager.cpp index abb8f27c8d..788af596d3 100644 --- a/src/propgrid/manager.cpp +++ b/src/propgrid/manager.cpp @@ -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; -- 2.45.2