X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c6985199b0e04b1cf34896f2d2ebf199d239fd3f..affd2611c569d9d8e60fa542614f6668956b16de:/src/common/dpycmn.cpp diff --git a/src/common/dpycmn.cpp b/src/common/dpycmn.cpp index 87f303c065..8797f81ecb 100644 --- a/src/common/dpycmn.cpp +++ b/src/common/dpycmn.cpp @@ -6,7 +6,7 @@ // Created: 01.03.03 // RCS-ID: $Id$ // Copyright: (c) 2003 Vadim Zeitlin -// License: wxWindows license +// License: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "displaybase.h" #endif @@ -44,7 +44,7 @@ const wxVideoMode wxDefaultVideoMode; 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") ); }