]> git.saurik.com Git - wxWidgets.git/blame - src/common/dpycmn.cpp
deprecated wxSizerItem::IsShown() because it doesn't really make sense for the sizers
[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
c6985199
VZ
20// For compilers that support precompilation, includes "wx.h".
21#include "wx/wxprec.h"
22
23#ifdef __BORLANDC__
24 #pragma hdrstop
25#endif
26
27#include "wx/display.h"
28
fdc37e95 29#if wxUSE_DISPLAY
c6985199
VZ
30
31#include "wx/arrimpl.cpp"
28c91b7d 32WX_DEFINE_OBJARRAY(wxArrayVideoModes)
c6985199
VZ
33
34const wxVideoMode wxDefaultVideoMode;
35
36// ============================================================================
37// implementation
38// ============================================================================
39
40wxDisplayBase::wxDisplayBase(size_t index)
41 : m_index (index)
42{
d890ea0d 43 wxASSERT_MSG( m_index < GetCount(),
c6985199
VZ
44 wxT("An invalid index was passed to wxDisplay") );
45}
46
47#endif // wxUSE_DISPLAY
48