-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathInputUIntDialog.h
48 lines (36 loc) · 906 Bytes
/
InputUIntDialog.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
#ifndef INPUTUINTDIALOG_H
#define INPUTUINTDIALOG_H
//(*Headers(InputUIntDialog)
#include <wx/stattext.h>
#include <wx/spinctrl.h>
#include <wx/button.h>
#include <wx/dialog.h>
//*)
class InputUIntDialog: public wxDialog
{
public:
InputUIntDialog(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);
virtual ~InputUIntDialog();
private:
//(*Declarations(InputUIntDialog)
wxStaticText* m_MessageLabel;
wxButton* m_ButtonOK;
wxSpinCtrl* m_UIntValueInput;
//*)
protected:
//(*Identifiers(InputUIntDialog)
static const long ID_STATICTEXT1;
static const long ID_SPINCTRL1;
static const long ID_BUTTON1;
//*)
public:
//(*Handlers(InputUIntDialog)
void Onm_ButtonOKClick(wxCommandEvent& event);
//*)
unsigned int GetValue()
{
return m_UIntValueInput->GetValue();
}
DECLARE_EVENT_TABLE()
};
#endif