X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e85b547a56a9346c2bdd690b2885ab2ef520c2b..0ce986140a05c46a1d9deb8e8c056128d9ed201d:/src/cocoa/menuitem.mm diff --git a/src/cocoa/menuitem.mm b/src/cocoa/menuitem.mm index c1248355e8..140e2ead44 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,9 +18,13 @@ // ---------------------------------------------------------------------------- #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" @@ -36,8 +40,6 @@ #import // NSOnState, NSOffState #import // modifier key masks -#if wxUSE_MENUS - // ---------------------------------------------------------------------------- // functions prototypes // ----------------------------------------------------------------------------