changeset 2 | 5331bd08a294 |
child 4 | a3d29fb016c3 |
1:d89c6e7de299 | 2:5331bd08a294 |
---|---|
1 #include <wx/wx.h> |
|
2 #include <wx/image.h> |
|
3 #include "MainWindow.hpp" |
|
4 |
|
5 MainWindow::MainWindow() |
|
6 :wxFrame(0, wxID_ANY, _("Lingvigilo"), wxDefaultPosition) |
|
7 { |
|
8 wxBoxSizer *s = new wxBoxSizer(wxVERTICAL); |
|
9 wxStaticText *label = new wxStaticText(this, wxID_ANY, |
|
10 _("Introdueix la frase:")); |
|
11 wxTextCtrl *text = new wxTextCtrl(this, wxID_ANY); |
|
12 s->Add(label); |
|
13 s->Add(text); |
|
14 |
|
15 text->SetFocus(); |
|
16 |
|
17 SetSizerAndFit(s); |
|
18 } |