]> git.saurik.com Git - wxWidgets.git/blame - src/common/dpycmn.cpp
Spelling fixes [#1017001], source cleaning.
[wxWidgets.git] / src / common / dpycmn.cpp
CommitLineData
c6985199
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: common/dpycmn.cpp
3// Purpose: wxDisplayBase implementation
4// Author: Vadim Zeitlin
5// Modified by:
6// Created: 01.03.03
7// RCS-ID: $Id$
8// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
65571936 9// License: wxWindows licence
c6985199
VZ
10///////////////////////////////////////////////////////////////////////////////
11
12// ============================================================================
13// declarations
14// ============================================================================
15
16// ----------------------------------------------------------------------------
17// headers
18// ----------------------------------------------------------------------------
19
14f355c2 20#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
c6985199
VZ
21 #pragma implementation "displaybase.h"
22#endif
23
24// For compilers that support precompilation, includes "wx.h".
25#include "wx/wxprec.h"
26
27#ifdef __BORLANDC__
28 #pragma hdrstop
29#endif
30
31#include "wx/display.h"
32
fdc37e95 33#if wxUSE_DISPLAY
c6985199
VZ
34
35#include "wx/arrimpl.cpp"
36WX_DEFINE_OBJARRAY(wxArrayVideoModes);
37
38const wxVideoMode wxDefaultVideoMode;
39
40// ============================================================================
41// implementation
42// ============================================================================
43
44wxDisplayBase::wxDisplayBase(size_t index)
45 : m_index (index)
46{
d890ea0d 47 wxASSERT_MSG( m_index < GetCount(),
c6985199
VZ
48 wxT("An invalid index was passed to wxDisplay") );
49}
50
51#endif // wxUSE_DISPLAY
52