From ed5b9811866b5c4e76432ae7592d6f5f8c14bfcb Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Tue, 20 Feb 2001 22:21:45 +0000 Subject: [PATCH] do not perform Gestalt tests under Mac OS X git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/app.cpp | 3 +++ src/mac/carbon/app.cpp | 3 +++ 2 files changed, 6 insertions(+) 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 -- 2.47.2