// Name: dcscreen.cpp
// Author: Vaclav Slavik
// Id: $Id$
-// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "dcscreen.h"
#endif
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();
}