X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71f2fb52d502537fcfa9a110c7ecb59d7f9a5b6b..a2d3a3d1d38ef64050ddcd9b2754c855167aad1f:/src/mac/carbon/menu.cpp diff --git a/src/mac/carbon/menu.cpp b/src/mac/carbon/menu.cpp index c31a56fb59..7b596771ad 100644 --- a/src/mac/carbon/menu.cpp +++ b/src/mac/carbon/menu.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "menu.h" #pragma implementation "menuitem.h" #endif @@ -21,6 +21,8 @@ // wxWidgets headers // ----------------- +#include "wx/wxprec.h" + #include "wx/app.h" #include "wx/menu.h" #include "wx/menuitem.h"