]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/carbon/dcclient.h
popup activation scope and l&f
[wxWidgets.git] / include / wx / mac / carbon / dcclient.h
CommitLineData
8cf73271
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcclient.h
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
65571936 9// Licence: wxWindows licence
8cf73271
SC
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DCCLIENT_H_
13#define _WX_DCCLIENT_H_
14
8cf73271 15#include "wx/dc.h"
888dde65 16#include "wx/dcgraph.h"
8cf73271
SC
17
18//-----------------------------------------------------------------------------
19// classes
20//-----------------------------------------------------------------------------
21
b5dbe15d
VS
22class WXDLLIMPEXP_FWD_CORE wxPaintDC;
23class WXDLLIMPEXP_FWD_CORE wxWindow;
8cf73271 24
888dde65 25class WXDLLEXPORT wxWindowDCImpl: public wxGCDCImpl
8cf73271 26{
888dde65
RR
27public:
28 wxWindowDCImpl( wxDC *owner );
29 wxWindowDCImpl( wxDC *owner, wxWindow *window );
30 virtual ~wxWindowDCImpl();
31
6f02a879 32 virtual void DoGetSize( int *width, int *height ) const;
b2d123f1 33 virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const;
09b632b2 34
512cfcc3 35protected:
888dde65
RR
36 bool m_release;
37 int m_width;
38 int m_height;
09b632b2 39
888dde65
RR
40 DECLARE_CLASS(wxWindowDCImpl)
41 DECLARE_NO_COPY_CLASS(wxWindowDCImpl)
8cf73271
SC
42};
43
44
888dde65 45class WXDLLEXPORT wxClientDCImpl: public wxWindowDCImpl
8cf73271 46{
888dde65
RR
47public:
48 wxClientDCImpl( wxDC *owner );
49 wxClientDCImpl( wxDC *owner, wxWindow *window );
50 virtual ~wxClientDCImpl();
51
52private:
53 DECLARE_CLASS(wxClientDCImpl)
54 DECLARE_NO_COPY_CLASS(wxClientDCImpl)
8cf73271
SC
55};
56
8cf73271 57
888dde65
RR
58class WXDLLEXPORT wxPaintDCImpl: public wxWindowDCImpl
59{
60public:
61 wxPaintDCImpl( wxDC *owner );
62 wxPaintDCImpl( wxDC *owner, wxWindow *win );
63 virtual ~wxPaintDCImpl();
6f02a879
VZ
64
65protected:
888dde65
RR
66 DECLARE_CLASS(wxPaintDCImpl)
67 DECLARE_NO_COPY_CLASS(wxPaintDCImpl)
8cf73271
SC
68};
69
888dde65 70
8cf73271
SC
71#endif
72 // _WX_DCCLIENT_H_