]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/menuitem.h
Automatically adjust toolbar's tool size if the provided bitmaps
[wxWidgets.git] / include / wx / gtk / menuitem.h
index c538d03819b5965e48b7bdaafe06d09b0f20a7d8..78d967612ae1ab1d3299e92f656600658e5ccf92 100644 (file)
 class WXDLLIMPEXP_CORE wxMenuItem : public wxMenuItemBase
 {
 public:
-    wxMenuItem(wxMenu *parentMenu = (wxMenu *)NULL,
+    wxMenuItem(wxMenu *parentMenu = NULL,
                int id = wxID_SEPARATOR,
                const wxString& text = wxEmptyString,
                const wxString& help = wxEmptyString,
                wxItemKind kind = wxITEM_NORMAL,
-               wxMenu *subMenu = (wxMenu *)NULL);
+               wxMenu *subMenu = NULL);
     virtual ~wxMenuItem();
 
     // implement base class virtuals
@@ -43,6 +43,7 @@ public:
 #if WXWIN_COMPATIBILITY_2_8
     // compatibility only, don't use in new code
     wxDEPRECATED(
+    inline
     wxMenuItem(wxMenu *parentMenu,
                int id,
                const wxString& text,