]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/dcscreen.h
activating DrawRectangle optimization
[wxWidgets.git] / include / wx / dfb / dcscreen.h
index 25bccefa5a31e0bef904bee393ba18e1c90d9818..5173402d2f4c5ccf75a6189f7466d203d117b4fb 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        wx/dfb/dcscreen.h
 /////////////////////////////////////////////////////////////////////////////
 // Name:        wx/dfb/dcscreen.h
-// Purpose:     wxScreenDC declaration
+// Purpose:     wxScreenDCImpl declaration
 // Author:      Vaclav Slavik
 // Created:     2006-08-10
 // RCS-ID:      $Id$
 // Author:      Vaclav Slavik
 // Created:     2006-08-10
 // RCS-ID:      $Id$
 #ifndef _WX_DFB_DCSCREEN_H_
 #define _WX_DFB_DCSCREEN_H_
 
 #ifndef _WX_DFB_DCSCREEN_H_
 #define _WX_DFB_DCSCREEN_H_
 
-#include "wx/dc.h"
+#include "wx/dfb/dc.h"
 
 
-class WXDLLIMPEXP_CORE wxScreenDC: public wxDC
+class WXDLLIMPEXP_CORE wxScreenDCImpl : public wxDFBDCImpl
 {
 public:
 {
 public:
-    wxScreenDC();
+    wxScreenDCImpl(wxScreenDC *owner);
 
 
-    static bool StartDrawingOnTop(wxWindow *WXUNUSED(window))
-        { return true; }
-    static bool StartDrawingOnTop(wxRect *WXUNUSED(rect) = NULL)
-        { return true; }
-    static bool EndDrawingOnTop()
-        { return true; }
-
-    DECLARE_DYNAMIC_CLASS(wxScreenDC)
+    DECLARE_DYNAMIC_CLASS(wxScreenDCImpl)
 };
 
 #endif // _WX_DFB_DCSCREEN_H_
 };
 
 #endif // _WX_DFB_DCSCREEN_H_