// Author: Julian Smart
// Modified by:
// Created: 01/02/97
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
+#include "wx/msw/dcscreen.h"
+
#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/window.h"
#include "wx/msw/private.h"
-#include "wx/dcscreen.h"
-
-IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxDC)
+IMPLEMENT_ABSTRACT_CLASS(wxScreenDCImpl, wxMSWDCImpl)
// Create a DC representing the whole screen
-wxScreenDC::wxScreenDC()
+wxScreenDCImpl::wxScreenDCImpl( wxScreenDC *owner ) :
+ wxMSWDCImpl( owner )
{
m_hDC = (WXHDC) ::GetDC((HWND) NULL);
::SetBkMode( GetHdc(), TRANSPARENT );
}
-// deprecated functions
-bool wxScreenDC::StartDrawingOnTop(wxWindow* WXUNUSED(window))
-{
- return true;
-}
-
-bool wxScreenDC::StartDrawingOnTop(wxRect* WXUNUSED(rect))
-{
- return true;
-}
-
-bool wxScreenDC::EndDrawingOnTop()
-{
- return true;
-}