]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fix for when wxUSE_STACKWALKER == 0
authorRobin Dunn <robin@alldunn.com>
Thu, 2 Jun 2005 02:38:07 +0000 (02:38 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 2 Jun 2005 02:38:07 +0000 (02:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/appbase.cpp

index afea12306a004d4721e1c73f13b502c7e72daa58..f06ec4facd39329291c324c230cabf777acda876 100644 (file)
@@ -710,6 +710,7 @@ bool DoShowAssertDialog(const wxString& msg)
     return false;
 }
 
+#if wxUSE_STACKWALKER
 static wxString GetAssertStackTrace()
 {
     wxString stackTrace;
@@ -775,6 +776,7 @@ static wxString GetAssertStackTrace()
 
     return stackTrace;
 }
+#endif // wxUSE_STACKWALKER
 
 // show the assert modal dialog
 static