From 424d08955c01e2e59521ca86a5b093fcdc1f3d45 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 2 Jun 2005 07:53:49 +0000 Subject: [PATCH] Compile fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/appbase.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index f06ec4facd..894d6a9772 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -45,6 +45,7 @@ #if defined(__WXMSW__) #include "wx/msw/wrapwin.h" // includes windows.h for MessageBox() + #include "wx/msw/debughlp.h" // includes windows.h for MessageBox() #endif #if wxUSE_FONTMAP @@ -715,7 +716,7 @@ static wxString GetAssertStackTrace() { wxString stackTrace; -#ifdef __WXMSW__ +#if wxUSE_DBGHELP // check that we can get the stack trace before trying to do it if ( !wxDbgHelpDLL::Init() ) return stackTrace; -- 2.45.2