author | viric <viriketo@gmail.com> |
Sun, 13 Feb 2011 08:11:31 +0100 | |
changeset 3 | 01dafa022fa1 |
parent 2 | 5331bd08a294 |
child 4 | a3d29fb016c3 |
permissions | -rw-r--r-- |
2 | 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 |
} |