// headers
// ---------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "caret.h"
#endif
#include "wx/caret.h"
+#if wxUSE_CARET
+
#include "wx/msw/private.h"
// ---------------------------------------------------------------------------
m_hasCaret = FALSE;
CALL_CARET_API(DestroyCaret, ());
MSWCreateCaret();
- DoMove();
+ OnSetFocus();
}
}
+
+#endif