X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e85b547a56a9346c2bdd690b2885ab2ef520c2b..8d1547ef4697a49cf4f4b8f09f662705e064c416:/src/cocoa/menuitem.mm?ds=sidebyside diff --git a/src/cocoa/menuitem.mm b/src/cocoa/menuitem.mm index c1248355e8..e87f6b2aa6 100644 --- a/src/cocoa/menuitem.mm +++ b/src/cocoa/menuitem.mm @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: menuitem.cpp +// Name: src/cocoa/menuitem.mm // Purpose: wxMenuItem implementation // Author: David Elliott // Modified by: @@ -18,15 +18,18 @@ // ---------------------------------------------------------------------------- #include "wx/wxprec.h" + +#if wxUSE_MENUS + +#include "wx/menuitem.h" + #ifndef WX_PRECOMP #include "wx/menu.h" - #include "wx/menuitem.h" #include "wx/utils.h" #include "wx/frame.h" #include "wx/log.h" #endif -#include "wx/cocoa/ObjcPose.h" #include "wx/cocoa/autorelease.h" #include "wx/cocoa/string.h" @@ -36,8 +39,6 @@ #import // NSOnState, NSOffState #import // modifier key masks -#if wxUSE_MENUS - // ---------------------------------------------------------------------------- // functions prototypes // ----------------------------------------------------------------------------