]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/carbon/dcclient.h
correct access for virtuals
[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
SC
15#include "wx/dc.h"
16
17//-----------------------------------------------------------------------------
18// classes
19//-----------------------------------------------------------------------------
20
21class WXDLLEXPORT wxPaintDC;
22class WXDLLEXPORT wxWindow;
23
24class WXDLLEXPORT wxWindowDC: public wxDC
25{
26 DECLARE_DYNAMIC_CLASS(wxWindowDC)
27
28 public:
29 wxWindowDC(void);
30
31 // Create a DC corresponding to a canvas
32 wxWindowDC(wxWindow *win);
33
34 ~wxWindowDC(void);
8cf73271 35 protected :
6f02a879 36 virtual void DoGetSize( int *width, int *height ) const;
8cf73271
SC
37 wxWindow *m_window;
38};
39
40
41class WXDLLEXPORT wxClientDC: public wxWindowDC
42{
43 DECLARE_DYNAMIC_CLASS(wxClientDC)
44
45 public:
46 wxClientDC(void);
47
48 // Create a DC corresponding to a canvas
49 wxClientDC(wxWindow *win);
50
51 ~wxClientDC(void);
6f02a879
VZ
52
53protected:
8cf73271
SC
54 virtual void DoGetSize( int *width, int *height ) const;
55};
56
57class WXDLLEXPORT wxPaintDC: public wxWindowDC
58{
59 DECLARE_DYNAMIC_CLASS(wxPaintDC)
60
61 public:
62 wxPaintDC(void);
63
64 // Create a DC corresponding to a canvas
65 wxPaintDC(wxWindow *win);
66
67 ~wxPaintDC(void);
6f02a879
VZ
68
69protected:
8cf73271
SC
70 virtual void DoGetSize( int *width, int *height ) const;
71};
72
73#endif
74 // _WX_DCCLIENT_H_