author | viric <viriketo@gmail.com> |
Sun, 13 Feb 2011 08:27:44 +0100 | |
changeset 4 | a3d29fb016c3 |
parent 2 | 5331bd08a294 |
child 5 | f2a2f64eb682 |
permissions | -rw-r--r-- |
2 | 1 |
#include <wx/wx.h> |
2 |
#include <wx/image.h> |
|
3 |
#include "MainWindow.hpp" |
|
4 | 4 |
#include "TextBox.hpp" |
2 | 5 |
|
6 |
MainWindow::MainWindow() |
|
7 |
:wxFrame(0, wxID_ANY, _("Lingvigilo"), wxDefaultPosition) |
|
8 |
{ |
|
9 |
wxBoxSizer *s = new wxBoxSizer(wxVERTICAL); |
|
10 |
wxStaticText *label = new wxStaticText(this, wxID_ANY, |
|
11 |
_("Introdueix la frase:")); |
|
4 | 12 |
wxTextBox *text = new wxTextBox(this, wxID_ANY); |
2 | 13 |
s->Add(label); |
14 |
s->Add(text); |
|
15 |
||
16 |
text->SetFocus(); |
|
17 |
||
18 |
SetSizerAndFit(s); |
|
19 |
} |