]> git.saurik.com Git - wxWidgets.git/commitdiff
Adding missing variable declaration
authorJulian Smart <julian@anthemion.co.uk>
Tue, 13 Nov 2007 12:48:53 +0000 (12:48 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 13 Nov 2007 12:48:53 +0000 (12:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/toolbar.cpp

index 0c35f4809afaf658ded58eb826fbe7f7ac9dd5e1..22731bfb8d199c943b604077b4f1c24dda4687ed 100644 (file)
@@ -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,