X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/162999bfb7443d1ccffaa222561e48a8f38c5f94..d01cc696fca6de1e1fa3ebcd10eefc6596d629f9:/include/wx/menuitem.h diff --git a/include/wx/menuitem.h b/include/wx/menuitem.h index 74bbc43f3d..6fda4bd30d 100644 --- a/include/wx/menuitem.h +++ b/include/wx/menuitem.h @@ -45,12 +45,6 @@ class WXDLLEXPORT wxMenu; class WXDLLEXPORT wxMenuItemBase : public wxObject { public: - // some compilers need a default constructor here, do not use - wxMenuItemBase() {} - -/* This makes no sense (lots of asserts on MSW) so commenting out -- JACS - { wxFAIL_MSG( wxT("illegal call") ); } -*/ // creation static wxMenuItem *New(wxMenu *parentMenu = (wxMenu *)NULL, @@ -123,6 +117,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() + { } }; // ----------------------------------------------------------------------------