]> git.saurik.com Git - wxWidgets.git/blame - src/mgl/dcscreen.cpp
Warning fix.
[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
a4bbc9f7
VS
9// For compilers that support precompilation, includes "wx.h".
10#include "wx/wxprec.h"
11
12#ifdef __BORLANDC__
13 #pragma hdrstop
14#endif
15
32b8ec41 16#include "wx/dcscreen.h"
a4bbc9f7 17#include "wx/mgl/private.h"
32b8ec41 18
a4bbc9f7 19IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxDC)
32b8ec41 20
a4bbc9f7
VS
21wxScreenDC::wxScreenDC() : wxDC()
22{
23 SetMGLDC(g_displayDC, FALSE /* no ownership */);
69830d1f
VS
24
25 // VS: we have to hide the mouse, otherwise rendering artifacts may occur
26 MS_obscure();
27}
28
29wxScreenDC::~wxScreenDC()
30{
31 MS_show();
a4bbc9f7 32}