X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f81dc6e93170cb73c6d614b77e26be49baa724d2..abd474ea63667f727940a009cc3e0b23ba9f418f:/src/msw/dcscreen.cpp?ds=sidebyside diff --git a/src/msw/dcscreen.cpp b/src/msw/dcscreen.cpp index 0dc06f194c..f55eddd5a0 100644 --- a/src/msw/dcscreen.cpp +++ b/src/msw/dcscreen.cpp @@ -13,9 +13,11 @@ #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" @@ -23,12 +25,11 @@ #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);