]> git.saurik.com Git - wxWidgets.git/blame - src/mgl/dcscreen.cpp
Updated configure and aclocal.m4 for new 0.1.8 Bakefile on account of
[wxWidgets.git] / src / mgl / dcscreen.cpp
CommitLineData
32b8ec41
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcscreen.cpp
a4bbc9f7 3// Author: Vaclav Slavik
32b8ec41 4// Id: $Id$
c41c20a5 5// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
65571936 6// Licence: wxWindows licence
32b8ec41
VZ
7/////////////////////////////////////////////////////////////////////////////
8
14f355c2 9#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
32b8ec41
VZ
10#pragma implementation "dcscreen.h"
11#endif
12
a4bbc9f7
VS
13// For compilers that support precompilation, includes "wx.h".
14#include "wx/wxprec.h"
15
16#ifdef __BORLANDC__
17 #pragma hdrstop
18#endif
19
32b8ec41 20#include "wx/dcscreen.h"
a4bbc9f7 21#include "wx/mgl/private.h"
32b8ec41 22
a4bbc9f7 23IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxDC)
32b8ec41 24
a4bbc9f7
VS
25wxScreenDC::wxScreenDC() : wxDC()
26{
27 SetMGLDC(g_displayDC, FALSE /* no ownership */);
69830d1f
VS
28
29 // VS: we have to hide the mouse, otherwise rendering artifacts may occur
30 MS_obscure();
31}
32
33wxScreenDC::~wxScreenDC()
34{
35 MS_show();
a4bbc9f7 36}