// headers
// ----------------------------------------------------------------------------
-#if 0 //def __GNUG__
- #pragma implementation "caret.h"
+#ifdef __GNUG__
+#pragma implementation "caret.h"
#endif
// For compilers that support precompilation, includes "wx.h".
#endif
#ifndef WX_PRECOMP
- #include "wx/wx.h"
+ #include "wx/window.h"
+ #include "wx/dcclient.h"
#endif //WX_PRECOMP
#include "wx/caret.h"
// implementation
// ============================================================================
+wxCaretTimer::wxCaretTimer(wxCaret *caret)
+{
+ m_caret = caret;
+}
+
+void wxCaretTimer::Notify()
+{
+ m_caret->Blink();
+}
+
// ----------------------------------------------------------------------------
// wxCaret static functions and data
// ----------------------------------------------------------------------------