cpp/MainWindow.cpp
changeset 2 5331bd08a294
child 4 a3d29fb016c3
--- /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 <wx/wx.h>
+#include <wx/image.h>
+#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);
+}