]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/dcscreen.h
use class keyword to match forward decl, call static members directly
[wxWidgets.git] / include / wx / gtk / dcscreen.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: dcscreen.h
3 // Purpose:
4 // Author: Robert Roebling
5 // Id: $Id$
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef __GTKDCSCREENH__
11 #define __GTKDCSCREENH__
12
13 #include "wx/dcclient.h"
14
15 //-----------------------------------------------------------------------------
16 // wxScreenDC
17 //-----------------------------------------------------------------------------
18
19 #if wxUSE_NEW_DC
20 class WXDLLIMPEXP_CORE wxGTKScreenImplDC : public wxGTKWindowImplDC
21 #else
22 #define wxGTKScreenImplDC wxScreenDC
23 class WXDLLIMPEXP_CORE wxScreenDC : public wxWindowDC
24 #endif
25 {
26 public:
27
28 #if wxUSE_NEW_DC
29 wxGTKScreenImplDC( wxScreenDC *owner );
30 #else
31 wxScreenDC();
32 #endif
33
34 ~wxGTKScreenImplDC();
35
36 static bool StartDrawingOnTop(wxWindow * WXUNUSED(window))
37 { return true; }
38 static bool StartDrawingOnTop(wxRect * WXUNUSED(rect) = NULL)
39 { return true; }
40 static bool EndDrawingOnTop() { return true; }
41
42
43 protected:
44 virtual void DoGetSize(int *width, int *height) const;
45
46 void Init();
47
48 private:
49 DECLARE_ABSTRACT_CLASS(wxGTKScreenImplDC)
50 };
51
52 #endif // __GTKDCSCREENH__
53