#include "wx/object.h" // base class
-// ----------------------------------------------------------------------------
-// constants
-// ----------------------------------------------------------------------------
-
-// id for a separator line in the menu (invalid for normal item)
-#define wxID_SEPARATOR (-1)
-
-#ifndef ID_SEPARATOR // for compatibility only, don't use in new code
- #define ID_SEPARATOR wxID_SEPARATOR
-#endif
-
// ----------------------------------------------------------------------------
// forward declarations
// ----------------------------------------------------------------------------
class WXDLLEXPORT wxMenuItemBase : public wxObject
{
public:
- // some compilers need a default constructor here, do not use
- wxMenuItemBase()
- { wxFAIL_MSG( wxT("illegal call") ); }
// creation
static wxMenuItem *New(wxMenu *parentMenu = (wxMenu *)NULL,
bool m_isCheckable; // can be checked?
bool m_isChecked; // is checked?
bool m_isEnabled; // is enabled?
+
+ // some compilers need a default constructor here, do not use
+ wxMenuItemBase()
+ { }
};
// ----------------------------------------------------------------------------