]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fix
authorJulian Smart <julian@anthemion.co.uk>
Thu, 2 Jun 2005 07:53:49 +0000 (07:53 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 2 Jun 2005 07:53:49 +0000 (07:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/appbase.cpp

index f06ec4facd39329291c324c230cabf777acda876..894d6a97725c6ff2cc8e8766a5d15303b9510712 100644 (file)
@@ -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;