X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/478cde3220641d49cfbd492e799107d13ccdfeb3..8d0a7b563acf4bd7e75824ba2076a7ab4d81a650:/include/wx/debugrpt.h diff --git a/include/wx/debugrpt.h b/include/wx/debugrpt.h index 80f4e06782..92bb2287ee 100644 --- a/include/wx/debugrpt.h +++ b/include/wx/debugrpt.h @@ -54,11 +54,13 @@ public: // description is shown to the user in the report summary virtual void AddFile(const wxString& name, const wxString& description); +#if wxUSE_STACKWALKER // add an XML file containing the current or exception context and the // stack trace bool AddCurrentContext() { return AddContext(Context_Current); } bool AddExceptionContext() { return AddContext(Context_Exception); } virtual bool AddContext(Context ctx); +#endif #if wxUSE_CRASHREPORT // add a file with crash report @@ -90,11 +92,13 @@ public: void RemoveFile(const wxString& name); protected: +#if wxUSE_STACKWALKER // used by AddContext() virtual bool DoAddSystemInfo(wxXmlNode *nodeSystemInfo); virtual bool DoAddLoadedModules(wxXmlNode *nodeModules); virtual bool DoAddExceptionInfo(wxXmlNode *nodeContext); virtual void DoAddCustomContext(wxXmlNode * WXUNUSED(nodeRoot)) { } +#endif // used by Process() virtual bool DoProcess();