]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/menu.h
don't try to build shared library on platforms not supporting it
[wxWidgets.git] / include / wx / gtk1 / menu.h
index 8d6f68db7ec288ce0113cc4b6718766c65cc0e24..dfa05697189c8f6a64cc5370ed4319e2d9f23dc4 100644 (file)
@@ -128,11 +128,11 @@ public:
 
     ~wxMenu();
 
-    // operations
-        // title
+    // title
     void SetTitle(const wxString& label);
     const wxString GetTitle() const;
-        // menu creation
+    
+    // menu creation
     void AppendSeparator();
     void Append(int id, const wxString &item,
                 const wxString &helpStr = "", bool checkable = FALSE);
@@ -141,6 +141,9 @@ public:
     void Append(wxMenuItem *pItem);
     void Break() { }
 
+    // delete item. don't delete the wxMenu if it's a submenu
+    void Delete( int id );
+
     // find item by name/id
     int FindItem( const wxString itemString ) const;
     wxMenuItem *FindItem( int id ) const;