From: Julian Smart Date: Tue, 13 Nov 2007 12:48:53 +0000 (+0000) Subject: Adding missing variable declaration X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/980807d10760de673c0df4667bfa79dd74501f86 Adding missing variable declaration git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/toolbar.cpp b/src/mac/carbon/toolbar.cpp index 0c35f4809a..22731bfb8d 100644 --- a/src/mac/carbon/toolbar.cpp +++ b/src/mac/carbon/toolbar.cpp @@ -1500,6 +1500,7 @@ bool wxToolBar::DoInsertTool(size_t WXUNUSED(pos), wxToolBarToolBase *toolBase) #if wxMAC_USE_NATIVE_TOOLBAR if (m_macHIToolbarRef != NULL) { + HIToolbarItemRef item; err = HIToolbarItemCreate( kHIToolbarSeparatorIdentifier, kHIToolbarItemCantBeRemoved | kHIToolbarItemIsSeparator | kHIToolbarItemAllowDuplicates,