X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11dbb4bfab8f7441e87b34cd094ac6e69438b50a..1c467e8804ff4c1cd3aee52bb16dfa4f976160a0:/src/msw/dcscreen.cpp diff --git a/src/msw/dcscreen.cpp b/src/msw/dcscreen.cpp index 26d350895d..755a59263f 100644 --- a/src/msw/dcscreen.cpp +++ b/src/msw/dcscreen.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 01/02/97 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -16,7 +15,7 @@ #pragma hdrstop #endif -#include "wx/dcscreen.h" +#include "wx/msw/dcscreen.h" #ifndef WX_PRECOMP #include "wx/string.h" @@ -25,10 +24,11 @@ #include "wx/msw/private.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); @@ -36,3 +36,4 @@ wxScreenDC::wxScreenDC() // DrawText() to OPAQUE as required, otherwise always TRANSPARENT ::SetBkMode( GetHdc(), TRANSPARENT ); } +