| 1 |
#ifndef TEXTEDITOR_H |
| 2 |
#define TEXTEDITOR_H |
| 3 |
#include "wxcrafter.h" |
| 4 |
|
| 5 |
extern const wxEventType wxEVT_CMD_TEXT_EDITOR; |
| 6 |
|
| 7 |
class TextEditor : public TextEditorBaseClass |
| 8 |
{ |
| 9 |
public: |
| 10 |
TextEditor(wxWindow* parent); |
| 11 |
virtual ~TextEditor(); |
| 12 |
virtual void OnKeyDown(wxKeyEvent& event); |
| 13 |
virtual void OnKillFocus(wxFocusEvent& event); |
| 14 |
virtual void OnTextEnter(wxCommandEvent& event); |
| 15 |
|
| 16 |
void SetValue(const wxString& value); |
| 17 |
void MoveTo(const wxRect& rect); |
| 18 |
}; |
| 19 |
#endif // TEXTEDITOR_H |