X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d09b97f5321d0accd758eb420c008853ad9ec26..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/msw/dcscreen.cpp?ds=inline diff --git a/src/msw/dcscreen.cpp b/src/msw/dcscreen.cpp index eb843c9bff..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); @@ -37,18 +38,3 @@ wxScreenDC::wxScreenDC() ::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; -}