X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47e94dedd98826720437695345e96a7c2a94a5d4..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/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