]> git.saurik.com Git - wxWidgets.git/commitdiff
Added (Start|End)DrawingOnTop stubs
authorDavid Elliott <dfe@tgwbd.org>
Mon, 14 Jul 2003 13:59:20 +0000 (13:59 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Mon, 14 Jul 2003 13:59:20 +0000 (13:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cocoa/dcscreen.h

index bf04321efdca54df64f632edc700d5640d969c46..f6e08fd04369698cd9af1c19b3a4e4ab57651082 100644 (file)
@@ -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__