]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/dcscreen.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / mac / carbon / dcscreen.h
index 6b126f54bd6e0ff97d5563d9f51a6d34e6510f8c..a97d66554e917c3f52c8aabfbfb6c36486bb4ab8 100644 (file)
 #define _WX_DCSCREEN_H_
 
 #include "wx/dcclient.h"
 #define _WX_DCSCREEN_H_
 
 #include "wx/dcclient.h"
+#include "wx/mac/carbon/dcclient.h"
 
 
-class WXDLLEXPORT wxScreenDC: public wxWindowDC
+class WXDLLIMPEXP_CORE wxScreenDCImpl: public wxWindowDCImpl
 {
 {
-  DECLARE_DYNAMIC_CLASS(wxScreenDC)
+public:
+    wxScreenDCImpl( wxDC *owner );
+    virtual ~wxScreenDCImpl();
 
 
- public:
-  // Create a DC representing the whole screen
-  wxScreenDC();
-  virtual ~wxScreenDC();
-
-  // Compatibility with X's requirements for
-  // drawing on top of all windows
-  static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return TRUE; }
-  static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return TRUE; }
-  static bool EndDrawingOnTop() { return TRUE; }
- private:
-       void* m_overlayWindow;
+private:
+    void* m_overlayWindow;
+        
+private:
+    DECLARE_CLASS(wxScreenDCImpl)
+    DECLARE_NO_COPY_CLASS(wxScreenDCImpl)
 };
 
 #endif
 };
 
 #endif