]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/crashrpt.cpp
do take the toolbar into account for Windows CE, otherwise the menus overlap with...
[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;