]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/menuitem.h
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / include / wx / motif / menuitem.h
index f6580cdad01ce97500b5994ef19e98e44fec11f9..b871308031fcfdd82d25ecdae34ad47b181cc95c 100644 (file)
@@ -29,11 +29,11 @@ class wxMenuItem : public wxMenuItemBase
 public:
     // ctor & dtor
     wxMenuItem(wxMenu *parentMenu = (wxMenu *)NULL,
-        int id = wxID_SEPARATOR,
-        const wxString& text = wxEmptyString,
-        const wxString& help = wxEmptyString,
-        bool isCheckable = FALSE,
-        wxMenu *subMenu = (wxMenu *)NULL);
+               int id = wxID_SEPARATOR,
+               const wxString& text = wxEmptyString,
+               const wxString& help = wxEmptyString,
+               wxItemKind kind = wxITEM_NORMAL,
+               wxMenu *subMenu = (wxMenu *)NULL);
     ~wxMenuItem();
     
     // accessors (some more are inherited from wxOwnerDrawn or are below)