]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dcscreen.h
Fixed typo.
[wxWidgets.git] / include / wx / cocoa / dcscreen.h
index bf04321efdca54df64f632edc700d5640d969c46..8c330c5b6f37c76a86ff979822bc6227bb17cd53 100644 (file)
@@ -4,9 +4,9 @@
 // Author:      David Elliott
 // Modified by:
 // Created:     2003/03/16
-// RCS-ID:      $Id:
+// RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
-// Licence:    wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef __WX_COCOA_DCSCREEN_H__
@@ -20,7 +20,12 @@ class WXDLLEXPORT wxScreenDC: public wxDC
 public:
     wxScreenDC(void);
     wxScreenDC( wxDC *dc ); // Create compatible DC
-    ~wxScreenDC(void);
+    virtual ~wxScreenDC(void);
+
+    // 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; }
 };
 
 #endif // __WX_COCOA_DCSCREEN_H__