Lines Matching defs:caret
2 // Name: caret.cpp
7 // RCS-ID: $Id: caret.cpp 29599 2004-10-02 12:36:02Z VS $
26 #include "wx/caret.h"
69 // caret movement
85 // move the caret to m_xCaret, m_yCaret
99 // position (in text coords) of the caret
213 menuFile->Append(Caret_Move, _T("&Move caret\tCtrl-C"));
246 wxMessageBox(_T("The caret wxWidgets sample.\n(c) 1999 Vadim Zeitlin"),
259 _T("The caret blink time is the time between two blinks"),
277 _T("The font size also determines the caret size so\nthis demonstrates resizing the caret."),
328 wxCaret *caret = new wxCaret(this, m_widthChar, m_heightChar);
329 SetCaret(caret);
331 caret->Move(m_xMargin, m_yMargin);
332 caret->Show();
345 wxCaret *caret = GetCaret();
346 if ( caret )
348 caret->SetSize(m_widthChar, m_heightChar);
402 // NB: this method is horrible inefficient especially because the caret
404 // the caret location and not the entire window - in a real program we