X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac398c14e979e455766dd53180536b7016adfe69..7b108a5e8cae8552840b532e364536e2dbe47dc7:/include/wx/mac/menuitem.h diff --git a/include/wx/mac/menuitem.h b/include/wx/mac/menuitem.h index 6a35c72294..4594525961 100644 --- a/include/wx/mac/menuitem.h +++ b/include/wx/mac/menuitem.h @@ -12,7 +12,7 @@ #ifndef _MENUITEM_H #define _MENUITEM_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "menuitem.h" #endif @@ -43,7 +43,7 @@ public: int id = wxID_SEPARATOR, const wxString& name = wxEmptyString, const wxString& help = wxEmptyString, - bool isCheckable = FALSE, + wxItemKind kind = wxITEM_NORMAL, wxMenu *subMenu = (wxMenu *)NULL); virtual ~wxMenuItem();