X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e179bd6537b8e3d7543d23db3b6735ea7effe159..fc4b32c270ed42e15421d2761fbf785134dd53fe:/src/generic/caret.cpp?ds=sidebyside diff --git a/src/generic/caret.cpp b/src/generic/caret.cpp index 21f1231a64..2620630941 100644 --- a/src/generic/caret.cpp +++ b/src/generic/caret.cpp @@ -17,8 +17,8 @@ // headers // ---------------------------------------------------------------------------- -#if 0 //def __GNUG__ - #pragma implementation "caret.h" +#ifdef __GNUG__ +#pragma implementation "caret.h" #endif // For compilers that support precompilation, includes "wx.h". @@ -46,6 +46,16 @@ static int gs_blinkTime = 500; // in milliseconds // implementation // ============================================================================ +wxCaretTimer::wxCaretTimer(wxCaret *caret) +{ + m_caret = caret; +} + +void wxCaretTimer::Notify() +{ + m_caret->Blink(); +} + // ---------------------------------------------------------------------------- // wxCaret static functions and data // ----------------------------------------------------------------------------