X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb896a322a2ed53d393ee738765ddd3f72cee004..3b49331b7441e091fc5997b830801d76a1243f28:/include/wx/cocoa/dcscreen.h diff --git a/include/wx/cocoa/dcscreen.h b/include/wx/cocoa/dcscreen.h index bf04321efd..8c330c5b6f 100644 --- a/include/wx/cocoa/dcscreen.h +++ b/include/wx/cocoa/dcscreen.h @@ -4,9 +4,9 @@ // Author: David Elliott // Modified by: // Created: 2003/03/16 -// RCS-ID: $Id: +// 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__