///////////////////////////////////////////////////////////////////////////////
-// Name: menuitem.h
+// Name: wx/gtk/menuitem.h
// Purpose: wxMenuItem class
// Author: Robert Roebling
// RCS-ID: $Id$
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
#if WXWIN_COMPATIBILITY_2_8
// compatibility only, don't use in new code
wxDEPRECATED(
+ inline
wxMenuItem(wxMenu *parentMenu,
int id,
const wxString& text,