X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d0089653228874c88553e9494d8077b27ea6cd3..823faac334c990b01975f8fcb91dc72595e6c42d:/src/msw/crashrpt.cpp?ds=sidebyside diff --git a/src/msw/crashrpt.cpp b/src/msw/crashrpt.cpp index 8831a96f32..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 flags) +bool wxCrashReportImpl::Generate( +#if wxUSE_DBGHELP + int flags +#else + int WXUNUSED(flags) +#endif +) { if ( m_hFile == INVALID_HANDLE_VALUE ) return false;