X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20e05ffbd3eff02a4c643e412d4f600cdea26952..674ac8b919eecbc201b5f23b470a567cd0565e10:/include/wx/menuitem.h diff --git a/include/wx/menuitem.h b/include/wx/menuitem.h index 22bfd7c36b..b804976522 100644 --- a/include/wx/menuitem.h +++ b/include/wx/menuitem.h @@ -18,17 +18,6 @@ #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 // ---------------------------------------------------------------------------- @@ -45,9 +34,6 @@ class WXDLLEXPORT wxMenu; 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, @@ -120,6 +106,10 @@ protected: 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() + { } }; // ----------------------------------------------------------------------------