guarding implementation against compilation under iOS SDK < 13
This commit is contained in:
parent
4455b6e784
commit
eff81745ba
@ -28,6 +28,8 @@
|
|||||||
|
|
||||||
#include "wx/menu.h"
|
#include "wx/menu.h"
|
||||||
|
|
||||||
|
#if wxUSE_MENUS
|
||||||
|
|
||||||
#include "wx/osx/private.h"
|
#include "wx/osx/private.h"
|
||||||
|
|
||||||
// other standard headers
|
// other standard headers
|
||||||
@ -322,3 +324,5 @@ wxMenuImpl* wxMenuImpl::Create( wxMenu* peer, const wxString& title )
|
|||||||
wxMenuImpl* c = new wxMenuCocoaImpl( peer, nil );
|
wxMenuImpl* c = new wxMenuCocoaImpl( peer, nil );
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -13,6 +13,8 @@
|
|||||||
#include "wx/menuitem.h"
|
#include "wx/menuitem.h"
|
||||||
#include "wx/stockitem.h"
|
#include "wx/stockitem.h"
|
||||||
|
|
||||||
|
#if wxUSE_MENUS
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/app.h"
|
#include "wx/app.h"
|
||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
@ -328,3 +330,5 @@ wxMenuItemImpl* wxMenuItemImpl::Create( wxMenuItem* peer, wxMenu *pParentMenu,
|
|||||||
c = new wxMenuItemCocoaImpl( peer, item );
|
c = new wxMenuItemCocoaImpl( peer, item );
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user