]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/menuitem.mm
need to include wx/msw/private.h to get GetHwnd() which is used here
[wxWidgets.git] / src / cocoa / menuitem.mm
index c1248355e83151afaef4b19b7abf57afe8ee6ab2..140e2ead441e98b323076ad265bf430ce8856e0f 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        menuitem.cpp
+// Name:        src/cocoa/menuitem.mm
 // Purpose:     wxMenuItem implementation
 // Author:      David Elliott
 // Modified by:
 // ----------------------------------------------------------------------------
 
 #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 <AppKit/NSCell.h> // NSOnState, NSOffState
 #import <AppKit/NSEvent.h> // modifier key masks
 
-#if wxUSE_MENUS
-
 // ----------------------------------------------------------------------------
 // functions prototypes
 // ----------------------------------------------------------------------------