From 15d521a109c4de5b2e18bb7b953bfedd5505a1ee Mon Sep 17 00:00:00 2001 From: David Elliott Date: Mon, 14 Jul 2003 13:59:20 +0000 Subject: [PATCH] Added (Start|End)DrawingOnTop stubs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/cocoa/dcscreen.h | 5 +++++ 1 file changed, 5 insertions(+) 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__ -- 2.47.2