]> git.saurik.com Git - wxWidgets.git/blame - interface/wx/dcgraph.h
Don't pass spin text control messages processed at wx level to Windows.
[wxWidgets.git] / interface / wx / dcgraph.h
CommitLineData
6d99a337
RR
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcgraph.h
3// Purpose: interface of wxGCDC
4// Author: wxWidgets team
d0bbcd06 5// RCS-ID: $Id$
526954c5 6// Licence: wxWindows licence
6d99a337
RR
7/////////////////////////////////////////////////////////////////////////////
8
9/**
10 @class wxGCDC
6d99a337
RR
11
12 wxGCDC is a device context that draws on a wxGraphicsContext.
13
14 @library{wxcore}
15 @category{dc}
16
17 @see wxDC, wxGraphicsContext
18*/
19
20class wxGCDC: public wxDC
21{
22public:
23 /**
24 Constructs a wxGCDC from a wxWindowDC.
25 */
26 wxGCDC( const wxWindowDC& dc );
d0bbcd06 27
6d99a337
RR
28 /**
29 Constructs a wxGCDC from a wxMemoryDC.
30 */
31 wxGCDC( const wxMemoryDC& dc );
d0bbcd06 32
6d99a337
RR
33 /**
34 Constructs a wxGCDC from a wxPrinterDC.
35 */
36 wxGCDC( const wxPrinterDC& dc );
d0bbcd06 37
2d770c4f
VZ
38 /**
39 Constructs a wxGCDC from a wxEnhMetaFileDC.
40
41 This constructor is only available in wxMSW port and when @c
42 wxUSE_ENH_METAFILE build option is enabled, i.e. when wxEnhMetaFileDC
43 class itself is available.
44
45 @since 2.9.3
46 */
47 wxGCDC( const wxEnhMetaFileDC& dc );
48
6d99a337
RR
49 /**
50 Retrieves associated wxGraphicsContext
51 */
6c0e710f 52 wxGraphicsContext* GetGraphicsContext() const;
6d99a337
RR
53};
54