Files
wxWidgets/src/mgl/dcscreen.cpp
Julian Smart 655719367a Use old licence name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00

37 lines
909 B
C++

/////////////////////////////////////////////////////////////////////////////
// Name: dcscreen.cpp
// Author: Vaclav Slavik
// Id: $Id$
// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "dcscreen.h"
#endif
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#include "wx/dcscreen.h"
#include "wx/mgl/private.h"
IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxDC)
wxScreenDC::wxScreenDC() : wxDC()
{
SetMGLDC(g_displayDC, FALSE /* no ownership */);
// VS: we have to hide the mouse, otherwise rendering artifacts may occur
MS_obscure();
}
wxScreenDC::~wxScreenDC()
{
MS_show();
}