From 57ba8fb85809cf56dc3a8b18428488a6a21276b6 Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Sun, 14 Dec 2003 04:01:43 +0000 Subject: [PATCH] Fixed undeclared identifier compile error. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/crashrpt.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/msw/crashrpt.cpp b/src/msw/crashrpt.cpp index 26a9abb711..7762c9848a 100644 --- a/src/msw/crashrpt.cpp +++ b/src/msw/crashrpt.cpp @@ -1089,7 +1089,13 @@ wxString wxCrashReportImpl::GetExceptionString(DWORD dwCode) #endif // wxUSE_DBGHELP -bool wxCrashReportImpl::Generate(int WXUNUSED(flags)) +bool wxCrashReportImpl::Generate( +#if wxUSE_DBGHELP + int flags +#else + int WXUNUSED(flags) +#endif +) { if ( m_hFile == INVALID_HANDLE_VALUE ) return false; -- 2.50.0