X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47e94dedd98826720437695345e96a7c2a94a5d4..702f5349c6468baae69ce6b7b2c780c3be57ee7c:/include/wx/msw/crashrpt.h?ds=sidebyside diff --git a/include/wx/msw/crashrpt.h b/include/wx/msw/crashrpt.h index 6e7b725512..6ee6e75205 100644 --- a/include/wx/msw/crashrpt.h +++ b/include/wx/msw/crashrpt.h @@ -24,7 +24,7 @@ struct _EXCEPTION_POINTERS; enum { - // we always report where the crash occured + // we always report where the crash occurred wxCRASH_REPORT_LOCATION = 0, // if this flag is given, the call stack is dumped @@ -94,10 +94,10 @@ struct WXDLLIMPEXP_BASE wxCrashReport { // set the name of the file to which the report is written, it is // constructed from the .exe name by default - static void SetFileName(const wxChar *filename); + static void SetFileName(const wxString& filename); // return the current file name - static const wxChar *GetFileName(); + static wxString GetFileName(); // write the exception report to the file, return true if it could be done // or false otherwise