// ----------------------------------------------------------------------------
// low level wxBusyCursor replacement: we use Win32 API directly here instead
-// of going through wxWindows calls as this could be dangerous
+// of going through wxWidgets calls as this could be dangerous
class BusyCursor
{
public:
#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;
#else // !wxUSE_DBGHELP
Output(_T("Support for crash report generation was not included ")
- _T("in this wxWindows version."));
+ _T("in this wxWidgets version."));
#endif // wxUSE_DBGHELP/!wxUSE_DBGHELP
return false;