]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dcscreen.h
Applied patch [ 892543 ] wxUniversal: Bitmaps in disabled menu items
[wxWidgets.git] / 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__