]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/dcclient.h
Incremented the version number to 2.9.4 everywhere.
[wxWidgets.git] / include / wx / osx / dcclient.h
CommitLineData
6762286d 1/////////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: wx/osx/dcclient.h
6762286d
SC
3// Purpose: wxClientDC, wxPaintDC and wxWindowDC classes
4// Author: Stefan Csomor
5// Modified by:
6// Created: 1998-01-01
7// RCS-ID: $Id$
8// Copyright: (c) Stefan Csomor
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DCCLIENT_H_
13#define _WX_DCCLIENT_H_
14
15#include "wx/dc.h"
16#include "wx/dcgraph.h"
17
18//-----------------------------------------------------------------------------
19// classes
20//-----------------------------------------------------------------------------
21
22class WXDLLIMPEXP_FWD_CORE wxPaintDC;
23class WXDLLIMPEXP_FWD_CORE wxWindow;
24
25class WXDLLIMPEXP_CORE wxWindowDCImpl: public wxGCDCImpl
26{
27public:
28 wxWindowDCImpl( wxDC *owner );
29 wxWindowDCImpl( wxDC *owner, wxWindow *window );
30 virtual ~wxWindowDCImpl();
31
32 virtual void DoGetSize( int *width, int *height ) const;
33 virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const;
34
35protected:
36 bool m_release;
37 int m_width;
38 int m_height;
39
40 DECLARE_CLASS(wxWindowDCImpl)
c0c133e1 41 wxDECLARE_NO_COPY_CLASS(wxWindowDCImpl);
6762286d
SC
42};
43
44
45class WXDLLIMPEXP_CORE wxClientDCImpl: public wxWindowDCImpl
46{
47public:
48 wxClientDCImpl( wxDC *owner );
49 wxClientDCImpl( wxDC *owner, wxWindow *window );
50 virtual ~wxClientDCImpl();
51
52private:
53 DECLARE_CLASS(wxClientDCImpl)
c0c133e1 54 wxDECLARE_NO_COPY_CLASS(wxClientDCImpl);
6762286d
SC
55};
56
57
58class WXDLLIMPEXP_CORE wxPaintDCImpl: public wxWindowDCImpl
59{
60public:
61 wxPaintDCImpl( wxDC *owner );
62 wxPaintDCImpl( wxDC *owner, wxWindow *win );
63 virtual ~wxPaintDCImpl();
64
65protected:
66 DECLARE_CLASS(wxPaintDCImpl)
c0c133e1 67 wxDECLARE_NO_COPY_CLASS(wxPaintDCImpl);
6762286d
SC
68};
69
70
5c6eb3a8 71#endif
6762286d 72 // _WX_DCCLIENT_H_