]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dcscreen.h
native implementation of wxDirDialog for wxCocoa (patch 1403780)
[wxWidgets.git] / include / wx / cocoa / dcscreen.h
index bf04321efdca54df64f632edc700d5640d969c46..6d097f32ab08e5b69e9378af04012f2fc326784b 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__
@@ -21,6 +21,11 @@ public:
     wxScreenDC(void);
     wxScreenDC( wxDC *dc ); // Create compatible DC
     ~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__