]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/menuitem.h
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / include / wx / univ / menuitem.h
index 4022b3311359e0dd385fde88a0ce833fb1a477c7..52049e5f716d8fbf509237b184eb8a22712b3112 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_UNIV_MENUITEM_H_
 
 #ifdef __GNUG__
-    #pragma interface "menuitem.h"
+    #pragma interface "univmenuitem.h"
 #endif
 
 // ----------------------------------------------------------------------------
@@ -28,7 +28,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();