]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcscreen.cpp
Override email address for Jaakko Salli.
[wxWidgets.git] / src / msw / dcscreen.cpp
index eb843c9bff98230b8f40540e26d209418a9788f0..f55eddd5a054b2e4cfc7c6a7f3670cf692c0f605 100644 (file)
 #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"
 
 #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;
-}