// Modified by:
// Created: 23.05.99
// RCS-ID: $Id$
-// Copyright: (c) wxWindows team
+// Copyright: (c) wxWidgets team
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// headers
// ---------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "caret.h"
#endif
// macros
// ---------------------------------------------------------------------------
-// under Win16 the caret APIs are void but under Win32 they may return an
-// error code which we want to check - this macro does just this
-#ifdef __WIN16__
- #define CALL_CARET_API(api, args) api args
-#else // Win32
- #define CALL_CARET_API(api, args) \
+#define CALL_CARET_API(api, args) \
if ( !api args ) \
wxLogLastError(_T(#api))
-#endif // Win16/32
// ===========================================================================
// implementation