]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed compile error on non-MSW platforms
authorRobin Dunn <robin@alldunn.com>
Thu, 2 Jun 2005 02:31:22 +0000 (02:31 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 2 Jun 2005 02:31:22 +0000 (02:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/appbase.cpp

index c2c7b05bf7ac593cb7e49063394e92a4eeda92b1..afea12306a004d4721e1c73f13b502c7e72daa58 100644 (file)
@@ -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: