]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appbase.cpp
'i' is already used in this scope so make it clearer.
[wxWidgets.git] / src / common / appbase.cpp
index c0af2ac2564d6427b09314cf8aef2401184eaf22..07732a2d9debfc9970fb42f6a7b206c772338f12 100644 (file)
 #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  <CoreServices/CoreServices.h>
     #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: