]> git.saurik.com Git - wxWidgets.git/blame - src/mgl/dcscreen.cpp
make sure gs_captureWindow is always set to NULL in DoReleaseMouse
[wxWidgets.git] / src / mgl / dcscreen.cpp
CommitLineData
32b8ec41
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcscreen.cpp
a4bbc9f7 3// Author: Vaclav Slavik
32b8ec41 4// Id: $Id$
a4bbc9f7 5// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
32b8ec41
VZ
6// Licence: wxWindows licence
7/////////////////////////////////////////////////////////////////////////////
8
9#ifdef __GNUG__
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 */);
28}