]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/dcscreen.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / cocoa / dcscreen.cpp
index ade3a4c0d876c1873cc9fe764f25b2fccb5a7536..44b3aa093f6fa78e56c3fbfc5e52b96c9de4a123 100644 (file)
@@ -1,33 +1,39 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        src/cocoa/dcscreen.cpp
 /////////////////////////////////////////////////////////////////////////////
 // Name:        src/cocoa/dcscreen.cpp
-// Purpose:     wxScreenDC class
+// Purpose:     wxScreenDCImpl class
 // Author:      David Elliott
 // Modified by:
 // Created:     2003/03/16
 // Author:      David Elliott
 // Modified by:
 // Created:     2003/03/16
-// RCS-ID:      $Id:
+// RCS-ID:      $Id$
 // Copyright:   (c) 2002 David Elliott
 // Copyright:   (c) 2002 David Elliott
-// Licence:    wxWindows license
+// Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
 /////////////////////////////////////////////////////////////////////////////
 
-#include "wx/dcscreen.h"
+#include "wx/wxprec.h"
+
+#include "wx/cocoa/dcscreen.h"
+
+#ifndef WX_PRECOMP
+#endif //WX_PRECOMP
 
 //-----------------------------------------------------------------------------
 // wxMemoryDC
 //-----------------------------------------------------------------------------
 
 
 //-----------------------------------------------------------------------------
 // wxMemoryDC
 //-----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxScreenDC,wxDC)
+IMPLEMENT_ABSTRACT_CLASS(wxScreenDCImpl,wxCocoaDCImpl)
 
 
-wxScreenDC::wxScreenDC(void)
+wxScreenDCImpl::wxScreenDCImpl(wxScreenDC *owner)
+:   wxCocoaDCImpl(owner)
 {
 {
-  m_ok = false;
-};
+    m_ok = false;
+}
 
 
-wxScreenDC::wxScreenDC( wxDC *WXUNUSED(dc) )
+wxScreenDCImpl::wxScreenDCImpl(wxScreenDC *owner, wxDC *WXUNUSED(dc) )
+:   wxCocoaDCImpl(owner)
 {
 {
-  m_ok = false;
-};
+    m_ok = false;
+}
 
 
-wxScreenDC::~wxScreenDC(void)
+wxScreenDCImpl::~wxScreenDCImpl(void)
 {
 }
 {
 }
-