--- a/cpp/MainWindow.cpp Sun Feb 13 08:11:31 2011 +0100
+++ b/cpp/MainWindow.cpp Sun Feb 13 08:27:44 2011 +0100
@@ -1,6 +1,7 @@
#include <wx/wx.h>
#include <wx/image.h>
#include "MainWindow.hpp"
+#include "TextBox.hpp"
MainWindow::MainWindow()
:wxFrame(0, wxID_ANY, _("Lingvigilo"), wxDefaultPosition)
@@ -8,7 +9,7 @@
wxBoxSizer *s = new wxBoxSizer(wxVERTICAL);
wxStaticText *label = new wxStaticText(this, wxID_ANY,
_("Introdueix la frase:"));
- wxTextCtrl *text = new wxTextCtrl(this, wxID_ANY);
+ wxTextBox *text = new wxTextBox(this, wxID_ANY);
s->Add(label);
s->Add(text);