]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/mgl/display.cpp
fixed event generation for wxComboBox to be consistent with the other platforms and...
[wxWidgets.git] / src / mgl / display.cpp
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: src/mgl/display.cpp
3// Purpose: MGL Implementation of wxDisplay class
4// Author: Wlodzimierz ABX Skiba
5// Modified by:
6// Created: 05/03/2006
7// RCS-ID: $Id$
8// Copyright: (c) Wlodzimierz Skiba
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#if wxUSE_DISPLAY
20
21#ifndef WX_PRECOMP
22 #include "wx/gdicmn.h"
23#endif
24
25#include "wx/display.h"
26
27/* static */
28int wxDisplayBase::GetFromPoint ( const wxPoint& WXUNUSED(pt) )
29{
30 // TODO
31 return wxNOT_FOUND;
32}
33
34/* static */
35size_t wxDisplayBase::GetCount()
36{
37 // TODO
38 return 1;
39}
40
41// ----------------------------------------------------------------------------
42// wxDisplay ctor/dtor
43// ----------------------------------------------------------------------------
44
45wxDisplay::wxDisplay ( size_t n )
46 : wxDisplayBase ( n )
47{
48}
49
50wxDisplay::~wxDisplay()
51{
52}
53
54bool wxDisplay::IsOk() const
55{
56 // TODO
57 return m_index < GetCount();
58}
59
60wxRect wxDisplay::GetGeometry() const
61{
62 wxRect rect;
63 // TODO
64 return rect;
65}
66
67wxString wxDisplay::GetName() const
68{
69 // TODO
70 return wxEmptyString;
71}
72
73wxArrayVideoModes wxDisplay::GetModes(const wxVideoMode& WXUNUSED(modeMatch)) const
74{
75 wxArrayVideoModes modes;
76 // TODO
77 return modes;
78}
79
80wxVideoMode wxDisplay::GetCurrentMode() const
81{
82 wxVideoMode mode;
83 // TODO
84 return mode;
85}
86
87bool wxDisplay::ChangeMode(const wxVideoMode& WXUNUSED(mode))
88{
89 // TODO
90 return false;
91}
92
93bool wxDisplay::IsPrimary() const
94{
95 // TODO
96 return false;
97}
98
99#endif // wxUSE_DISPLAY