Fixed undeclared identifier compile error.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Dimitri Schoolwerth
2003-12-14 04:01:43 +00:00
parent ea6747c168
commit 57ba8fb858

View File

@@ -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;