cpp/TextBox.hpp
author viric <viriketo@gmail.com>
Sun, 13 Feb 2011 08:27:44 +0100
changeset 4 a3d29fb016c3
permissions -rw-r--r--
Adding handling of tab and enter

#include <wx/textctrl.h>
#include <wx/event.h>

class wxTextBox : public wxTextCtrl
{
    private:
        void OnKeyEvent(wxKeyEvent &e);

    public:
        wxTextBox(wxWindow *parent, int id, wxString text = _T(""));

    DECLARE_EVENT_TABLE();
};