From: Gilles Depeyrot Date: Sun, 21 Oct 2001 12:33:10 +0000 (+0000) Subject: added missing type for static variable X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0e03d1fac891342deb53e9a551ffaa4b168f8539 added missing type for static variable git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/combobox.cpp b/src/mac/carbon/combobox.cpp index a1410b1135..886177adac 100644 --- a/src/mac/carbon/combobox.cpp +++ b/src/mac/carbon/combobox.cpp @@ -23,7 +23,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl) // right now we don't support editable comboboxes -static nextPopUpMenuId = 1000 ; +static int nextPopUpMenuId = 1000 ; MenuHandle NewUniqueMenu() { MenuHandle handle = NewMenu( nextPopUpMenuId , "\pMenu" ) ; diff --git a/src/mac/combobox.cpp b/src/mac/combobox.cpp index a1410b1135..886177adac 100644 --- a/src/mac/combobox.cpp +++ b/src/mac/combobox.cpp @@ -23,7 +23,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl) // right now we don't support editable comboboxes -static nextPopUpMenuId = 1000 ; +static int nextPopUpMenuId = 1000 ; MenuHandle NewUniqueMenu() { MenuHandle handle = NewMenu( nextPopUpMenuId , "\pMenu" ) ;