X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11dbb4bfab8f7441e87b34cd094ac6e69438b50a..07aaf32633ecf18ec3edfbb41793a112914792d0:/src/msw/dcscreen.cpp?ds=inline diff --git a/src/msw/dcscreen.cpp b/src/msw/dcscreen.cpp index 26d350895d..f55eddd5a0 100644 --- a/src/msw/dcscreen.cpp +++ b/src/msw/dcscreen.cpp @@ -16,7 +16,7 @@ #pragma hdrstop #endif -#include "wx/dcscreen.h" +#include "wx/msw/dcscreen.h" #ifndef WX_PRECOMP #include "wx/string.h" @@ -25,10 +25,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 +37,4 @@ wxScreenDC::wxScreenDC() // DrawText() to OPAQUE as required, otherwise always TRANSPARENT ::SetBkMode( GetHdc(), TRANSPARENT ); } +