X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..8f494e5d878c7f11c6fd58f9172a95bfb9c03feb:/include/wx/menuitem.h diff --git a/include/wx/menuitem.h b/include/wx/menuitem.h index 5de85d5e24..5d32a5f426 100644 --- a/include/wx/menuitem.h +++ b/include/wx/menuitem.h @@ -12,10 +12,16 @@ #ifndef _MENUITEM_H #define _MENUITEM_H +#ifdef __GNUG__ +#pragma interface "menuitem.h" +#endif + // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- +#include "wx/setup.h" + // an exception to the general rule that a normal header doesn't include other // headers - only because ownerdrw.h is not always included and I don't want // to write #ifdef's everywhere... @@ -43,7 +49,7 @@ DECLARE_DYNAMIC_CLASS(wxMenuItem) public: // ctor & dtor wxMenuItem(wxMenu *pParentMenu = NULL, int id = ID_SEPARATOR, - const wxTString& strName = "", const wxTString& wxHelp = "", + const wxString& strName = "", const wxString& wxHelp = "", bool bCheckable = FALSE, wxMenu *pSubMenu = NULL); virtual ~wxMenuItem();