-
Notifications
You must be signed in to change notification settings - Fork 6
/
TestMain.h
54 lines (40 loc) · 1.16 KB
/
TestMain.h
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
TerminalWx - A wxWidgets terminal widget
Copyright (C) 2012-2013 Jeremy Salwen
License: wxWindows License Version 3.1 (See the file license3.txt)
*/
#ifndef TESTMAIN_H
#define TESTMAIN_H
//(*Headers(TerminalWxFrame)
#include <wx/menu.h>
#include <wx/statusbr.h>
#include <wx/frame.h>
//*)
#include <wx/event.h>
#include <wx/window.h>
#include "src/terminalwx.h"
class TerminalWxFrame: public wxFrame
{
public:
TerminalWxFrame(wxWindow* parent,wxWindowID id = -1);
virtual ~TerminalWxFrame();
private:
//(*Handlers(TerminalWxFrame)
void OnQuit(wxCommandEvent& event);
void OnAbout(wxCommandEvent& event);
void OnClose(wxCloseEvent& event);
void OnCustom1Paint(wxPaintEvent& event);
//*)
//(*Identifiers(TerminalWxFrame)
static const long ID_TERM;
static const long idMenuQuit;
static const long idMenuAbout;
static const long ID_STATUSBAR1;
//*)
//(*Declarations(TerminalWxFrame)
wxStatusBar* StatusBar1;
TerminalWx* Term1;
//*)
DECLARE_EVENT_TABLE()
};
#endif // TERMINALWXMAIN_H