X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/717a57c2fabb054c8f00dc5dae70df1d03cfe532..c0d6c58bd0d7d6b7dae707b2a78c7f917f98da77:/include/wx/menuitem.h diff --git a/include/wx/menuitem.h b/include/wx/menuitem.h index 7860cd1097..6fda4bd30d 100644 --- a/include/wx/menuitem.h +++ b/include/wx/menuitem.h @@ -45,6 +45,7 @@ class WXDLLEXPORT wxMenu; class WXDLLEXPORT wxMenuItemBase : public wxObject { public: + // creation static wxMenuItem *New(wxMenu *parentMenu = (wxMenu *)NULL, int id = wxID_SEPARATOR, @@ -116,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() + { } }; // ----------------------------------------------------------------------------