]> git.saurik.com Git - wxWidgets.git/blame - src/mgl/dcscreen.cpp
SetTextColor --> SetTextColour, to be consistent with the rest of the lib
[wxWidgets.git] / src / mgl / dcscreen.cpp
CommitLineData
32b8ec41 1/////////////////////////////////////////////////////////////////////////////
11dbb4bf 2// Name: src/mgl/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"
11dbb4bf 17
a4bbc9f7 18#include "wx/mgl/private.h"
32b8ec41 19
a4bbc9f7 20IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxDC)
32b8ec41 21
11dbb4bf
WS
22wxScreenDC::wxScreenDC()
23 :wxDC()
a4bbc9f7
VS
24{
25 SetMGLDC(g_displayDC, FALSE /* no ownership */);
11dbb4bf 26
69830d1f
VS
27 // VS: we have to hide the mouse, otherwise rendering artifacts may occur
28 MS_obscure();
29}
30
31wxScreenDC::~wxScreenDC()
32{
33 MS_show();
a4bbc9f7 34}