diff -r d89c6e7de299 -r 5331bd08a294 cpp/MainWindow.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cpp/MainWindow.cpp Sun Feb 13 07:57:02 2011 +0100 @@ -0,0 +1,18 @@ +#include +#include +#include "MainWindow.hpp" + +MainWindow::MainWindow() + :wxFrame(0, wxID_ANY, _("Lingvigilo"), wxDefaultPosition) +{ + wxBoxSizer *s = new wxBoxSizer(wxVERTICAL); + wxStaticText *label = new wxStaticText(this, wxID_ANY, + _("Introdueix la frase:")); + wxTextCtrl *text = new wxTextCtrl(this, wxID_ANY); + s->Add(label); + s->Add(text); + + text->SetFocus(); + + SetSizerAndFit(s); +}