diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/html_dialog.cc | 6 | ||||
| -rw-r--r-- | src/wx/html_dialog.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/wx/html_dialog.cc b/src/wx/html_dialog.cc index 0f8fe22c1..0543a66d5 100644 --- a/src/wx/html_dialog.cc +++ b/src/wx/html_dialog.cc @@ -76,6 +76,12 @@ HTMLDialog::HTMLDialog (wxWindow* parent, wxString title, wxString html, bool ok } +HTMLDialog::~HTMLDialog() +{ + wxMemoryFSHandler::RemoveFile("me.jpg"); +} + + void HTMLDialog::link_clicked (wxHtmlLinkEvent& ev) { diff --git a/src/wx/html_dialog.h b/src/wx/html_dialog.h index c5a538a5c..46feba3eb 100644 --- a/src/wx/html_dialog.h +++ b/src/wx/html_dialog.h @@ -32,6 +32,7 @@ class HTMLDialog : public wxDialog { public: HTMLDialog (wxWindow* parent, wxString title, wxString html, bool ok = false); + ~HTMLDialog(); private: void link_clicked (wxHtmlLinkEvent& ev); |
