X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..623cf1fa931c06f4bb6223262ef377bb76f8b026:/src/mgl/dcscreen.cpp?ds=sidebyside diff --git a/src/mgl/dcscreen.cpp b/src/mgl/dcscreen.cpp index 148ca94a29..4edb3f61c7 100644 --- a/src/mgl/dcscreen.cpp +++ b/src/mgl/dcscreen.cpp @@ -1,15 +1,11 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dcscreen.cpp +// Name: src/mgl/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" @@ -18,14 +14,16 @@ #endif #include "wx/dcscreen.h" + #include "wx/mgl/private.h" IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxDC) -wxScreenDC::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(); }