From: David Elliott <dfe@tgwbd.org>
Date: Mon, 14 Jul 2003 13:59:20 +0000 (+0000)
Subject: Added (Start|End)DrawingOnTop stubs
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/15d521a109c4de5b2e18bb7b953bfedd5505a1ee?ds=sidebyside

Added (Start|End)DrawingOnTop stubs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/include/wx/cocoa/dcscreen.h b/include/wx/cocoa/dcscreen.h
index bf04321efd..f6e08fd043 100644
--- a/include/wx/cocoa/dcscreen.h
+++ b/include/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__