X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2072fbbbc9f9a7de5aa1d18e510162dcf1524fb1..99ab3e3f56ab43fe1127eb565cad1a619cad0499:/include/wx/mac/app.h diff --git a/include/wx/mac/app.h b/include/wx/mac/app.h index b62312527b..0241b2e649 100644 --- a/include/wx/mac/app.h +++ b/include/wx/mac/app.h @@ -12,7 +12,7 @@ #ifndef _WX_APP_H_ #define _WX_APP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "app.h" #endif @@ -109,6 +109,8 @@ public: static bool s_macDefaultEncodingIsPC ; static bool s_macSupportPCMenuShortcuts ; static long s_macAboutMenuItemId ; + static long s_macPreferencesMenuItemId ; + static long s_macExitMenuItemId ; static wxString s_macHelpMenuTitleName ; static bool s_macHasAppearance ; @@ -185,7 +187,9 @@ private: } ; // TODO: add platform-specific arguments +#ifndef __DARWIN__ int WXDLLEXPORT wxEntry( int argc, char *argv[] , bool enterLoop = TRUE); +#endif void wxMacConvertFromPCForControls( char * p ) ;