]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/crashrpt.cpp
fixed small bug in operator=() (comparing equal but not identical objects were not...
[wxWidgets.git] / src / msw / crashrpt.cpp
index 8831a96f3232666cf7c74235b871f44aee1143b5..7762c9848a4c461c720b7c1c2309e2464d2c4f16 100644 (file)
@@ -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;