]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/os2/display.cpp
wxControl::SetLabel no longer strips out codes so do it here
[wxWidgets.git] / src / os2 / display.cpp
... / ...
CommitLineData
1///////////////////////////////////////////////////////////////////////////
2// Name: displayx11.cpp
3// Purpose: Unix/X11 implementation of wxDisplay class
4// Author: Brian Victor
5// Modified by:
6// Created: 12/05/02
7// RCS-ID: $Id$
8// Copyright: (c) wxWidgets team
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12// For compilers that support precompilation, includes "wx.h".
13#include "wx/wxprec.h"
14
15#ifdef __BORLANDC__
16 #pragma hdrstop
17#endif
18
19#include "wx/display.h"
20#include "wx/intl.h"
21#include "wx/log.h"
22
23#ifndef WX_PRECOMP
24 #include "wx/dynarray.h"
25 #include "wx/gdicmn.h"
26 #include "wx/string.h"
27 #include "wx/utils.h"
28#endif /* WX_PRECOMP */
29
30#if wxUSE_DISPLAY
31
32size_t wxDisplayBase::GetCount()
33{
34 return 1;
35}
36
37int wxDisplayBase::GetFromPoint(const wxPoint &p)
38{
39 return -1;
40}
41
42wxDisplay::wxDisplay(size_t index)
43: wxDisplayBase ( index )
44{
45}
46
47wxDisplay::~wxDisplay()
48{
49}
50
51wxRect wxDisplay::GetGeometry() const
52{
53 wxRect vRect(0,0,0,0);
54
55 return vRect;
56}
57
58int wxDisplay::GetDepth() const
59{
60 return 24;
61}
62
63wxString wxDisplay::GetName() const
64{
65 return wxEmptyString;
66}
67
68
69wxArrayVideoModes wxDisplay::GetModes(const wxVideoMode& mode) const
70{
71 wxArrayVideoModes modes;
72 return modes;
73}
74
75wxVideoMode wxDisplay::GetCurrentMode() const
76{
77 // Not implemented
78 return wxVideoMode();
79}
80
81bool wxDisplay::ChangeMode(const wxVideoMode& mode)
82{
83 // Not implemented
84 return false;
85}
86
87#endif /* wxUSE_DISPLAY */