]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed undeclared identifier compile error.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Sun, 14 Dec 2003 04:01:43 +0000 (04:01 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Sun, 14 Dec 2003 04:01:43 +0000 (04:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/crashrpt.cpp

index 26a9abb71137980049c48a6d6591018588cf300f..7762c9848a4c461c720b7c1c2309e2464d2c4f16 100644 (file)
@@ -1089,7 +1089,13 @@ wxString wxCrashReportImpl::GetExceptionString(DWORD dwCode)
 
 #endif // wxUSE_DBGHELP
 
 
 #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;
 {
     if ( m_hFile == INVALID_HANDLE_VALUE )
         return false;