Debian Codegraph @

wxcrafter/src/multi_string_ctrl.h

raw
1 #ifndef __multi_string_ctrl__
2 #define __multi_string_ctrl__
3
4 #include "gui.h"
5
6 extern const wxEventType wxEVT_MUTLI_STRING_UPDATE;
7
8 /** Implementing MultiStringCtrl */
9 class MultiStringCtrl : public wxTextCtrl
10 {
11 wxString m_delim;
12 wxString m_msg;
13
14 protected:
15 virtual void OnTextEnter(wxCommandEvent& event);
16 virtual void OnMouseLeft(wxMouseEvent& event);
17
18 void DoEdit();
19 void DoNotify();
20
21 public:
22 /** Constructor */
23 MultiStringCtrl(wxWindow* parent, const wxString& value, const wxString& delim = wxT(";"),
24 const wxString& msg = wxT(""));
25 virtual ~MultiStringCtrl();
26 void SetTip(const wxString& tooltip) { SetToolTip(tooltip); }
27 };
28
29 #endif // __multi_string_ctrl__