X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d167489bdf17d55d9bd11be834bc17277661063..c51deffc32ff80f4ed13a1095bbf2ff44de89505:/include/wx/menuitem.h diff --git a/include/wx/menuitem.h b/include/wx/menuitem.h index 63b3137ec0..6fda4bd30d 100644 --- a/include/wx/menuitem.h +++ b/include/wx/menuitem.h @@ -45,7 +45,6 @@ class WXDLLEXPORT wxMenu; class WXDLLEXPORT wxMenuItemBase : public wxObject { public: - wxMenuItemBase() { } // creation static wxMenuItem *New(wxMenu *parentMenu = (wxMenu *)NULL, @@ -118,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() + { } }; // ----------------------------------------------------------------------------