git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13819
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
public:
wxScreenDC();
- ~wxScreenDC() {}
+ ~wxScreenDC();
static bool StartDrawingOnTop(wxWindow *WXUNUSED(window)) { return TRUE; }
static bool StartDrawingOnTop(wxRect *WXUNUSED(rect) = NULL) { return TRUE; }
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();
}