Fixed compile error on non-MSW platforms

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-06-02 02:31:22 +00:00
parent fe5c6c2306
commit 6d6a27b234

View 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: