diff --git a/src/mac/app.cpp b/src/mac/app.cpp index e238e4f740..6d077eb60d 100644 --- a/src/mac/app.cpp +++ b/src/mac/app.cpp @@ -21,6 +21,7 @@ #include "wx/pen.h" #include "wx/brush.h" #include "wx/cursor.h" +#include "wx/intl.h" #include "wx/icon.h" #include "wx/palette.h" #include "wx/dc.h" @@ -356,6 +357,7 @@ bool wxApp::Initialize() #endif +#ifndef __UNIX__ // test the minimal configuration necessary long theSystem ; @@ -392,6 +394,7 @@ bool wxApp::Initialize() } } */ +#endif // if we encountered any problems so far, give the error code and exit immediately diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index e238e4f740..6d077eb60d 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -21,6 +21,7 @@ #include "wx/pen.h" #include "wx/brush.h" #include "wx/cursor.h" +#include "wx/intl.h" #include "wx/icon.h" #include "wx/palette.h" #include "wx/dc.h" @@ -356,6 +357,7 @@ bool wxApp::Initialize() #endif +#ifndef __UNIX__ // test the minimal configuration necessary long theSystem ; @@ -392,6 +394,7 @@ bool wxApp::Initialize() } } */ +#endif // if we encountered any problems so far, give the error code and exit immediately