]> git.saurik.com Git - wxWidgets.git/blame - src/dfb/dcscreen.cpp
Correct wxPickerBase size calculation.
[wxWidgets.git] / src / dfb / dcscreen.cpp
CommitLineData
b3c86150
VS
1/////////////////////////////////////////////////////////////////////////////
2// Name: src/dfb/dcscreen.cpp
3// Purpose: wxScreenDC implementation
4// Author: Vaclav Slavik
5// Created: 2006-08-16
6// RCS-ID: $Id$
7// Copyright: (c) 2006 REA Elektronik GmbH
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11// ===========================================================================
12// declarations
13// ===========================================================================
14
15// ---------------------------------------------------------------------------
16// headers
17// ---------------------------------------------------------------------------
18
19// For compilers that support precompilation, includes "wx.h".
20#include "wx/wxprec.h"
21
22#include "wx/dcscreen.h"
23
24#include "wx/dfb/private.h"
25
26// ===========================================================================
27// implementation
28// ===========================================================================
29
30//-----------------------------------------------------------------------------
31// wxScreenDC
32//-----------------------------------------------------------------------------
33
34#warning "FIXME: verify that wxScreenDC works in 2nd DirectFB app started"
35// FIXME: maybe use a subsurface as well?
36
37IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxDC)
38
39wxScreenDC::wxScreenDC()
40{
a5b31f4e 41 Init(wxIDirectFB::Get()->GetPrimarySurface());
b3c86150
VS
42}
43
44#warning "FIXME: does wxScreenDC need Flip call in dtor?"