]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/menuitem.h
avoid truncating the colour channels values, this results in warnings when using...
[wxWidgets.git] / include / wx / gtk1 / menuitem.h
index e73231828592a40b13e43195f4af6390455fa648..565cb5620d55f2fbd192b4643b5988461ee96245 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        menuitem.h
+// Name:        wx/gtk1/menuitem.h
 // Purpose:     wxMenuItem class
 // Author:      Robert Roebling
 // RCS-ID:      $Id$
@@ -25,7 +25,7 @@ public:
                const wxString& help = wxEmptyString,
                wxItemKind kind = wxITEM_NORMAL,
                wxMenu *subMenu = (wxMenu *)NULL);
-    ~wxMenuItem();
+    virtual ~wxMenuItem();
 
     // implement base class virtuals
     virtual void SetText( const wxString& str );
@@ -58,7 +58,7 @@ public:
 
 private:
     // common part of all ctors
-    void Init(const wxString& text);
+    void Init();
 
     // DoSetText() transforms the accel mnemonics in our label from MSW/wxWin
     // style to GTK+ and is called from ctor and SetText()