X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/121aea4614b46a02faa414e9067500f43a20130b..6fbf4a60fe7d1b293fabb200d43f4b8945fb522b:/src/common/appbase.cpp?ds=sidebyside diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index c0af2ac256..07732a2d9d 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -57,11 +57,8 @@ #endif #if defined(__WXMAC__) - // VZ: MacTypes.h is enough under Mac OS X (where I could test it) but - // I don't know which headers are needed under earlier systems so - // include everything when in doubt #ifdef __DARWIN__ - #include "MacTypes.h" + #include #else #include "wx/mac/private.h" // includes mac headers #endif @@ -714,12 +711,6 @@ static wxString GetAssertStackTrace() { wxString stackTrace; -#if wxUSE_DBGHELP - // check that we can get the stack trace before trying to do it - if ( !wxDbgHelpDLL::Init() ) - return stackTrace; -#endif - class StackDump : public wxStackWalker { public: