]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/dcclient.h
removed InitBase()
[wxWidgets.git] / include / wx / mac / dcclient.h
CommitLineData
0dbd6262
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcclient.h
3// Purpose: wxClientDC, wxPaintDC and wxWindowDC classes
a31a5f85 4// Author: Stefan Csomor
0dbd6262 5// Modified by:
a31a5f85 6// Created: 1998-01-01
0dbd6262 7// RCS-ID: $Id$
a31a5f85 8// Copyright: (c) Stefan Csomor
d921af51 9// Licence: wxWindows licence
0dbd6262
SC
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DCCLIENT_H_
13#define _WX_DCCLIENT_H_
14
12028905 15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
0dbd6262
SC
16#pragma interface "dcclient.h"
17#endif
18
19#include "wx/dc.h"
20
21//-----------------------------------------------------------------------------
22// classes
23//-----------------------------------------------------------------------------
24
25class WXDLLEXPORT wxPaintDC;
26class WXDLLEXPORT wxWindow;
27
0dbd6262
SC
28class WXDLLEXPORT wxWindowDC: public wxDC
29{
30 DECLARE_DYNAMIC_CLASS(wxWindowDC)
31
519cb848
SC
32 public:
33 wxWindowDC(void);
34
35 // Create a DC corresponding to a canvas
36 wxWindowDC(wxWindow *win);
37
38 ~wxWindowDC(void);
5f965f0b
SC
39 virtual void DoGetSize( int *width, int *height ) const;
40 protected :
41 wxWindow *m_window;
0dbd6262
SC
42};
43
0dbd6262 44
519cb848 45class WXDLLEXPORT wxClientDC: public wxWindowDC
0dbd6262 46{
519cb848 47 DECLARE_DYNAMIC_CLASS(wxClientDC)
0dbd6262 48
519cb848
SC
49 public:
50 wxClientDC(void);
0dbd6262 51
519cb848
SC
52 // Create a DC corresponding to a canvas
53 wxClientDC(wxWindow *win);
0dbd6262 54
519cb848 55 ~wxClientDC(void);
5f965f0b 56 virtual void DoGetSize( int *width, int *height ) const;
0dbd6262
SC
57};
58
519cb848 59class WXDLLEXPORT wxPaintDC: public wxWindowDC
0dbd6262 60{
519cb848 61 DECLARE_DYNAMIC_CLASS(wxPaintDC)
0dbd6262 62
519cb848
SC
63 public:
64 wxPaintDC(void);
0dbd6262 65
519cb848
SC
66 // Create a DC corresponding to a canvas
67 wxPaintDC(wxWindow *win);
0dbd6262 68
519cb848 69 ~wxPaintDC(void);
5f965f0b 70 virtual void DoGetSize( int *width, int *height ) const;
0dbd6262
SC
71};
72
73#endif
74 // _WX_DCCLIENT_H_