X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e179bd6537b8e3d7543d23db3b6735ea7effe159..284b4c8866ab36694b6ec2a308690bba4db4fed2:/src/generic/caret.cpp?ds=inline 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 // ----------------------------------------------------------------------------