35 wxStaticText* m_InfoTextCtrl;
36 wxTextCtrl* m_CrashEmailCtrl;
37 wxTextCtrl* m_CrashDescCtrl;
38 wxHyperlinkCtrl* m_DisplayInfoLinkCtrl;
39 wxString m_CrashDirectory;
41 void OnLinkClicked(wxHyperlinkEvent& event);
43 void _CreateControls();
46 lsCrashReport_DLG(wxWindow* parent,
const wxString& softname,
const wxString& tempdirectory,
47 wxWindowID
id = wxID_ANY,
const wxString& title = _(
"Fatal exception"),
48 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
49 long style = wxDEFAULT_DIALOG_STYLE);
55 wxString GetDescription();
66 wxString m_ReportZipName;
68 wxArrayString m_AddedFileNames;
69 wxDebugReportCompress* m_Report;
71 wxString _CreateStyleSheet();
73 wxString _CreateGeneralInfo();
75 wxString _CreateAddInfo(
const wxString& email,
const wxString& description);
82 void AddFileToReport(
const wxString& filename);
84 bool PrepareReport(wxDebugReport::Context ctx,
bool silent =
false);
86 bool SendReportWeb(
const wxString& serverurl,
const wxString& proxy = wxEmptyString);
88 bool SaveReportFile(
const wxString& directory);
89 wxString BuildReportBaseName()
const;