From c41f2ff34326055c73d405a265ca7e066201a6f4 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 8 Nov 2012 14:33:41 -0800 Subject: [PATCH] Add an icon to the autosave dialog --- aegisub/src/dialog_autosave.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aegisub/src/dialog_autosave.cpp b/aegisub/src/dialog_autosave.cpp index 3a8ce4793..726c8ecaf 100644 --- a/aegisub/src/dialog_autosave.cpp +++ b/aegisub/src/dialog_autosave.cpp @@ -19,6 +19,7 @@ #include "dialog_autosave.h" #include "compat.h" +#include "libresrc/libresrc.h" #include "main.h" #include "standard_paths.h" @@ -33,6 +34,8 @@ DialogAutosave::DialogAutosave(wxWindow *parent) : wxDialog(parent, -1, _("Open autosave file"), wxDefaultPosition, wxSize(800, 350)) { + SetIcon(GETICON(open_toolbutton_16)); + wxSizer *files_box = new wxStaticBoxSizer(wxVERTICAL, this, _("Files")); file_list = new wxListBox(this, -1); file_list->Bind(wxEVT_COMMAND_LISTBOX_SELECTED, &DialogAutosave::OnSelectFile, this);