e6460682a2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
66 lines
1.2 KiB
C++
66 lines
1.2 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: dcclient.h
|
|
// Purpose: wxClientDC class
|
|
// Author: Julian Smart
|
|
// Modified by:
|
|
// Created: 01/02/97
|
|
// RCS-ID: $Id$
|
|
// Copyright: (c) Julian Smart and Markus Holzem
|
|
// Licence: wxWindows license
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _WX_DCCLIENT_H_
|
|
#define _WX_DCCLIENT_H_
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface "dcclient.h"
|
|
#endif
|
|
|
|
#include "wx/dc.h"
|
|
|
|
class WXDLLEXPORT wxWindowDC: public wxDC
|
|
{
|
|
DECLARE_DYNAMIC_CLASS(wxWindowDC)
|
|
|
|
public:
|
|
wxWindowDC(void);
|
|
|
|
// Create a DC corresponding to a canvas
|
|
wxWindowDC(wxWindow *win);
|
|
|
|
~wxWindowDC(void);
|
|
};
|
|
|
|
class WXDLLEXPORT wxClientDC: public wxWindowDC
|
|
{
|
|
DECLARE_DYNAMIC_CLASS(wxClientDC)
|
|
|
|
public:
|
|
wxClientDC(void);
|
|
|
|
// Create a DC corresponding to a canvas
|
|
wxClientDC(wxWindow *win);
|
|
|
|
~wxClientDC(void);
|
|
};
|
|
|
|
class WXDLLEXPORT wxPaintDC: public wxWindowDC
|
|
{
|
|
DECLARE_DYNAMIC_CLASS(wxPaintDC)
|
|
|
|
public:
|
|
wxPaintDC(void);
|
|
|
|
// Create a DC corresponding to a canvas
|
|
wxPaintDC(wxWindow *win);
|
|
|
|
~wxPaintDC(void);
|
|
|
|
protected:
|
|
static WXHDC ms_PaintHDC;
|
|
static size_t ms_PaintCount;
|
|
};
|
|
|
|
#endif
|
|
// _WX_DCCLIENT_H_
|