]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/mgl/dcscreen.cpp
added a cast to wxDecodeSurrogate() to fix wxMSW cross-compilation
[wxWidgets.git] / src / mgl / dcscreen.cpp
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcscreen.cpp
3// Author: Vaclav Slavik
4// Id: $Id$
5// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
6// Licence: wxWindows licence
7/////////////////////////////////////////////////////////////////////////////
8
9// For compilers that support precompilation, includes "wx.h".
10#include "wx/wxprec.h"
11
12#ifdef __BORLANDC__
13 #pragma hdrstop
14#endif
15
16#include "wx/dcscreen.h"
17#include "wx/mgl/private.h"
18
19IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxDC)
20
21wxScreenDC::wxScreenDC() : wxDC()
22{
23 SetMGLDC(g_displayDC, FALSE /* no ownership */);
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();
32}