-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPatientListBtnPanel.cpp
More file actions
29 lines (25 loc) · 962 Bytes
/
PatientListBtnPanel.cpp
File metadata and controls
29 lines (25 loc) · 962 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
#include "PatientListBtnPanel.h"
PatientListBtnPanel::PatientListBtnPanel(wxWindow* parent) : wxPanel(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, 2621440L, wxPanelNameStr)
{
// Sizer for patient list buttons.
wxBoxSizer* button_sizer = new wxBoxSizer(wxHORIZONTAL);
button_sizer->Add
(
new wxButton(this, SAVEPATIENTBTN_ID, "Save Patient", wxDefaultPosition, wxDefaultSize, 0L, wxDefaultValidator, wxButtonNameStr),
wxSizerFlags(1).Expand().Border(wxALL, 5)
);
button_sizer->Add
(
new wxButton(this, ADDPATIENTBTN_ID, "Add Patient", wxDefaultPosition, wxDefaultSize, 0L, wxDefaultValidator, wxButtonNameStr),
wxSizerFlags(1).Expand().Border(wxALL, 5)
);
button_sizer->Add
(
new wxButton(this, REMOVEPATIENTBTN_ID, "Remove Patient", wxDefaultPosition, wxDefaultSize, 0L, wxDefaultValidator, wxButtonNameStr),
wxSizerFlags(1).Expand().Border(wxALL, 5)
);
SetSizer(button_sizer);
}
PatientListBtnPanel::~PatientListBtnPanel()
{
}