]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/crashrpt.cpp
extending calculation of visible region
[wxWidgets.git] / src / msw / crashrpt.cpp
index 26a9abb71137980049c48a6d6591018588cf300f..7762c9848a4c461c720b7c1c2309e2464d2c4f16 100644 (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;