From 6d6a27b234b570fa4d673c375158be654ff69b02 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 2 Jun 2005 02:31:22 +0000 Subject: [PATCH] Fixed compile error on non-MSW platforms git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/appbase.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: -- 2.45.2