]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcscreen.cpp
Enable variadic macros for VC9 and later.
[wxWidgets.git] / src / msw / dcscreen.cpp
index 0dc06f194c509dcea070c39432a7b54e4d88fd58..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);