X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e179bd6537b8e3d7543d23db3b6735ea7effe159..41acf5c0bd373d2dbe127fc6a64ac03b672b2431:/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 // ----------------------------------------------------------------------------