X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11dbb4bfab8f7441e87b34cd094ac6e69438b50a..5778dedc92f6d31435aa1cda6846979a0e9ad35b:/src/msw/dcscreen.cpp?ds=sidebyside 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 ); } +