X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..b404a8f3b072129c107c6d9a5e0f6f53cd34807b:/src/mgl/dcscreen.cpp?ds=sidebyside diff --git a/src/mgl/dcscreen.cpp b/src/mgl/dcscreen.cpp index 67fbc4590f..4edb3f61c7 100644 --- a/src/mgl/dcscreen.cpp +++ b/src/mgl/dcscreen.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dcscreen.cpp +// Name: src/mgl/dcscreen.cpp // Author: Vaclav Slavik // Id: $Id$ // Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com) @@ -14,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(); }