From: Robin Dunn <robin@alldunn.com>
Date: Thu, 2 Jun 2005 02:31:22 +0000 (+0000)
Subject: Fixed compile error on non-MSW platforms
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6d6a27b234b570fa4d673c375158be654ff69b02

Fixed compile error on non-MSW platforms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp
index c2c7b05bf7..afea12306a 100644
--- a/src/common/appbase.cpp
+++ b/src/common/appbase.cpp
@@ -714,10 +714,12 @@ static wxString GetAssertStackTrace()
 {
     wxString stackTrace;
 
+#ifdef __WXMSW__
     // check that we can get the stack trace before trying to do it
     if ( !wxDbgHelpDLL::Init() )
         return stackTrace;
-
+#endif
+    
     class StackDump : public wxStackWalker
     {
     public: