// timer stuff
// ----------------------------------------------------------------------------
-wxCaretTimer::wxCaretTimer(wxCaret *caret)
-{
- m_caret = caret;
+wxCaretTimer::wxCaretTimer(wxCaret *caret)
+{
+ m_caret = caret;
}
-void wxCaretTimer::Notify()
-{
- m_caret->OnTimer();
+void wxCaretTimer::Notify()
+{
+ m_caret->OnTimer();
}
void wxCaret::OnTimer()
void wxCaret::InitGeneric()
{
- m_hasFocus = TRUE;
- m_blinkedOut = TRUE;
+ m_hasFocus = true;
+ m_blinkedOut = true;
m_xOld =
m_yOld = -1;
void wxCaret::OnSetFocus()
{
- m_hasFocus = TRUE;
+ m_hasFocus = true;
if ( IsVisible() )
Refresh();
void wxCaret::OnKillFocus()
{
- m_hasFocus = FALSE;
+ m_hasFocus = false;
if ( IsVisible() )
{