// Created: 23.05.99
// RCS-ID: $Id$
// Copyright: (c) wxWidgets team
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ===========================================================================
// headers
// ---------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "caret.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#define CALL_CARET_API(api, args) \
if ( !api args ) \
- wxLogLastError(_T(#api))
+ wxLogLastError(wxT(#api))
// ===========================================================================
// implementation
CALL_CARET_API(CreateCaret, (GetWinHwnd(GetWindow()), 0,
m_width, m_height));
- m_hasCaret = TRUE;
+ m_hasCaret = true;
}
return m_hasCaret;
{
if ( m_hasCaret )
{
- m_hasCaret = FALSE;
+ m_hasCaret = false;
CALL_CARET_API(DestroyCaret, ());
}
{
if ( m_hasCaret )
{
- m_hasCaret = FALSE;
+ m_hasCaret = false;
CALL_CARET_API(DestroyCaret, ());
MSWCreateCaret();
OnSetFocus();