]> git.saurik.com Git - wxWidgets.git/blame - src/common/dpycmn.cpp
fix Alt-letter navigation with spin controls (bug 672974)
[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>
55d99c7a 9// License: wxWindows licence
c6985199
VZ
10///////////////////////////////////////////////////////////////////////////////
11
12// ============================================================================
13// declarations
14// ============================================================================
15
16// ----------------------------------------------------------------------------
17// headers
18// ----------------------------------------------------------------------------
19
20#ifdef __GNUG__
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
33#if wxUSE_DISPLAY
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{
47 wxASSERT_MSG( m_index < wxDisplayBase::GetCount(),
48 wxT("An invalid index was passed to wxDisplay") );
49}
50
51#endif // wxUSE_DISPLAY
52