TextKillFocusHandler.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00024 #ifndef _TEXTKILLFOCUSHANDLER_H
00025 #define _TEXTKILLFOCUSHANDLER_H
00026 
00027 
00034 class TextKillFocusHandler : public wxEvtHandler
00035 {
00036 public:
00037 
00042     TextKillFocusHandler(wxWindow * parent)
00043         : m_parent(parent), dirty(false)
00044         { }
00045 
00048     virtual ~TextKillFocusHandler();
00049 
00050     void OnKillFocus(wxFocusEvent & e);
00051     void OnTextChange(wxCommandEvent & e);
00052     void OnTextEnter(wxCommandEvent & e);
00053 
00054 private:
00055     wxWindow * m_parent;
00056     
00057     bool dirty;
00058 
00059     DECLARE_EVENT_TABLE()
00060 
00061 };
00062 
00063 
00064 
00065 #endif // _TEXTKILLFOCUSHANDLER_H

Generated on Thu Aug 28 01:25:34 2014 for Hugintrunk by  doxygen 1.3.9.1