Add an icon to the autosave dialog
This commit is contained in:
parent
59a165f022
commit
c41f2ff343
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
||||||
#include "dialog_autosave.h"
|
#include "dialog_autosave.h"
|
||||||
|
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
|
#include "libresrc/libresrc.h"
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "standard_paths.h"
|
#include "standard_paths.h"
|
||||||
|
|
||||||
|
@ -33,6 +34,8 @@
|
||||||
DialogAutosave::DialogAutosave(wxWindow *parent)
|
DialogAutosave::DialogAutosave(wxWindow *parent)
|
||||||
: wxDialog(parent, -1, _("Open autosave file"), wxDefaultPosition, wxSize(800, 350))
|
: wxDialog(parent, -1, _("Open autosave file"), wxDefaultPosition, wxSize(800, 350))
|
||||||
{
|
{
|
||||||
|
SetIcon(GETICON(open_toolbutton_16));
|
||||||
|
|
||||||
wxSizer *files_box = new wxStaticBoxSizer(wxVERTICAL, this, _("Files"));
|
wxSizer *files_box = new wxStaticBoxSizer(wxVERTICAL, this, _("Files"));
|
||||||
file_list = new wxListBox(this, -1);
|
file_list = new wxListBox(this, -1);
|
||||||
file_list->Bind(wxEVT_COMMAND_LISTBOX_SELECTED, &DialogAutosave::OnSelectFile, this);
|
file_list->Bind(wxEVT_COMMAND_LISTBOX_SELECTED, &DialogAutosave::OnSelectFile, this);
|
||||||
|
|
Loading…
Reference in a new issue