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