]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dcscreen.h
As per wx-dev, split the sort arrow options out to a separate parameter.
[wxWidgets.git] / include / wx / cocoa / dcscreen.h
index bf04321efdca54df64f632edc700d5640d969c46..5b67bb8eca6b33d826a6197685e11471ab6641d5 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2003/03/16
 // 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__