-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAboutDialog.h
More file actions
39 lines (28 loc) · 806 Bytes
/
AboutDialog.h
File metadata and controls
39 lines (28 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//////////////////////////////////////////////////////////////////////////////
// About dialog containing author, version and link to homepage
//////////////////////////////////////////////////////////////////////////////
#ifndef __HEADER_ABOUT_DIALOG__
#define __HEADER_ABOUT_DIALOG__
#include "wx/wx.h"
// Declaration of the about dialog class
class CAboutDialog : public wxDialog
{
private:
DECLARE_EVENT_TABLE();
public:
// Constructor and destructor
CAboutDialog(wxWindow *parent);
virtual ~CAboutDialog();
private:
void OnClose(wxCloseEvent& event);
// Click on the Ok button closes the about box
void OnOk(wxCommandEvent& event);
private:
enum
{
ID_LINK = 1006,
ID_BUTTONOK = 1004,
};
private:
};
#endif