// Created: 01.03.03
// RCS-ID: $Id$
// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
-// License: wxWindows license
+// License: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "displaybase.h"
#endif
wxDisplayBase::wxDisplayBase(size_t index)
: m_index (index)
{
- wxASSERT_MSG( m_index < wxDisplayBase::GetCount(),
+ wxASSERT_MSG( m_index < GetCount(),
wxT("An invalid index was passed to wxDisplay") );
}