]> git.saurik.com Git - wxWidgets.git/blob - src/common/dpycmn.cpp
fixing small scrollbars
[wxWidgets.git] / src / common / dpycmn.cpp
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>
9 // License: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 // ============================================================================
13 // declarations
14 // ============================================================================
15
16 // ----------------------------------------------------------------------------
17 // headers
18 // ----------------------------------------------------------------------------
19
20 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
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"
36 WX_DEFINE_OBJARRAY(wxArrayVideoModes);
37
38 const wxVideoMode wxDefaultVideoMode;
39
40 // ============================================================================
41 // implementation
42 // ============================================================================
43
44 wxDisplayBase::wxDisplayBase(size_t index)
45 : m_index (index)
46 {
47 wxASSERT_MSG( m_index < GetCount(),
48 wxT("An invalid index was passed to wxDisplay") );
49 }
50
51 #endif // wxUSE_DISPLAY
52