]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/menuitem.h
disable use of #pragma interface under Mac OS X
[wxWidgets.git] / include / wx / mac / menuitem.h
index 6a35c72294102e29bba6e4e5a3b4e1061a1a7773..459452596103a0cb24b853fc15d9423457724cf1 100644 (file)
@@ -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();