1
#ifndef _ABOUTDIALOG_H_
2
#define _ABOUTDIALOG_H_
4
#define VERSION_STRING _("AppArmor Profile Editor version 0.9")
5
#define GPL_STRING _(" \
6
Portions of this software (C) 1998-2003 by Neil Hodgson <neilh@scintilla.org>\n\n \
7
This rest of this program is free software; you can redistribute it and/or modify \
8
it under the terms of the GNU General Public License as published by \
9
the Free Software Foundation; either version 2 of the License, or \
10
(at your option) any later version. \
12
This program is distributed in the hope that it will be useful, \
13
but WITHOUT ANY WARRANTY; without even the implied warranty of \
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \
15
GNU General Public License for more details. \
17
You should have received a copy of the GNU General Public License \
18
along with this program; if not, write to the Free Software \
19
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA \
25
class AboutDialog: public wxDialog
27
DECLARE_DYNAMIC_CLASS(AboutDialog)
32
AboutDialog(wxWindow* parent,
33
wxWindowID id = wxID_ANY,
34
const wxString& caption = _T("About"),
35
const wxPoint& pos = wxDefaultPosition,
36
const wxSize& size = wxSize(400, 300),
37
long style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX);
38
bool Create(wxWindow* parent,
39
wxWindowID id = wxID_ANY,
40
const wxString& caption = _T("About"),
41
const wxPoint& pos = wxDefaultPosition,
42
const wxSize& size = wxSize(400, 300),
43
long style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX);
44
void CreateControls();
47
wxStaticBitmap* mpLogoBitmap;
48
wxStaticText* mpVersionStaticText;
49
wxStaticText* mpCopyrightStaticText;
50
wxStdDialogButtonSizer* mpOkButtonSizer;
51
wxTextCtrl* mpLicenseTextCtrl;