forked from bitcoinprogrammer/BitTXGenerator
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Untitled1Frm.cpp
61 lines (51 loc) · 1.68 KB
/
Untitled1Frm.cpp
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
55
56
57
58
59
60
61
//---------------------------------------------------------------------------
//
// Name: Untitled1Frm.cpp
// Author: bunkdeath
// Created: 7/15/2010 9:28:59 AM
// Description: Untitled1Frm class implementation
//
//---------------------------------------------------------------------------
#include "Untitled1Frm.h"
//Do not add custom headers between
//Header Include Start and Header Include End
//wxDev-C++ designer will remove them
////Header Include Start
////Header Include End
//----------------------------------------------------------------------------
// Untitled1Frm
//----------------------------------------------------------------------------
//Add Custom Events only in the appropriate block.
//Code added in other places will be removed by wxDev-C++
////Event Table Start
BEGIN_EVENT_TABLE(Untitled1Frm,wxFrame)
////Manual Code Start
////Manual Code End
EVT_CLOSE(Untitled1Frm::OnClose)
END_EVENT_TABLE()
////Event Table End
Untitled1Frm::Untitled1Frm(wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &position, const wxSize& size, long style)
: wxFrame(parent, id, title, position, size, style)
{
CreateGUIControls();
}
Untitled1Frm::~Untitled1Frm()
{
}
void Untitled1Frm::CreateGUIControls()
{
//Do not add custom code between
//GUI Items Creation Start and GUI Items Creation End
//wxDev-C++ designer will remove them.
//Add the custom code before or after the blocks
////GUI Items Creation Start
SetTitle(wxT("Untitled1"));
SetIcon(wxNullIcon);
SetSize(8,8,320,334);
Center();
////GUI Items Creation End
}
void Untitled1Frm::OnClose(wxCloseEvent& event)
{
Destroy();
}