Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TextKillFocusHandler.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
24 #ifndef _TEXTKILLFOCUSHANDLER_H
25 #define _TEXTKILLFOCUSHANDLER_H
26 
27 
34 class TextKillFocusHandler : public wxEvtHandler
35 {
36 public:
37 
42  TextKillFocusHandler(wxWindow* parent);
43 
46  virtual ~TextKillFocusHandler();
47 
48  void OnKillFocus(wxFocusEvent & e);
49  void OnTextChange(wxCommandEvent & e);
50  void OnTextEnter(wxCommandEvent & e);
51 
52 private:
53  wxWindow * m_parent;
54 
55  bool dirty;
56 };
57 
58 #endif // _TEXTKILLFOCUSHANDLER_H
TextKillFocusHandler(wxWindow *parent)
ctor.
void OnTextEnter(wxCommandEvent &e)
void OnKillFocus(wxFocusEvent &e)
virtual ~TextKillFocusHandler()
dtor.
Handle EVT_KILL_FOCUS and convert it to a EVT_TEXT_ENTER event.
void OnTextChange(wxCommandEvent &e)