52750c2e10
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
76 lines
1.9 KiB
C++
76 lines
1.9 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: dcclient.h
|
|
// Purpose:
|
|
// Author: Vaclav Slavik
|
|
// Id: $Id$
|
|
// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef __WX_DCCLIENT_H__
|
|
#define __WX_DCCLIENT_H__
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface "dcclient.h"
|
|
#endif
|
|
|
|
#include "wx/dc.h"
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// classes
|
|
//-----------------------------------------------------------------------------
|
|
|
|
class WXDLLEXPORT wxWindowDC;
|
|
class WXDLLEXPORT wxPaintDC;
|
|
class WXDLLEXPORT wxClientDC;
|
|
class WXDLLEXPORT wxWindowMGL;
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// wxWindowDC
|
|
//-----------------------------------------------------------------------------
|
|
|
|
class WXDLLEXPORT wxWindowDC : public wxDC
|
|
{
|
|
public:
|
|
wxWindowDC() {}
|
|
virtual ~wxWindowDC();
|
|
wxWindowDC(wxWindow *win);
|
|
|
|
protected:
|
|
wxWindow *m_wnd;
|
|
bool m_inPaintHandler;
|
|
|
|
private:
|
|
DECLARE_DYNAMIC_CLASS(wxWindowDC)
|
|
};
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// wxClientDC
|
|
//-----------------------------------------------------------------------------
|
|
|
|
class WXDLLEXPORT wxClientDC : public wxWindowDC
|
|
{
|
|
public:
|
|
wxClientDC() : wxWindowDC() {}
|
|
wxClientDC(wxWindow *win);
|
|
|
|
private:
|
|
DECLARE_DYNAMIC_CLASS(wxClientDC)
|
|
};
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// wxPaintDC
|
|
//-----------------------------------------------------------------------------
|
|
|
|
class WXDLLEXPORT wxPaintDC : public wxClientDC
|
|
{
|
|
public:
|
|
wxPaintDC() : wxClientDC() {}
|
|
wxPaintDC(wxWindow *win) : wxClientDC(win) {}
|
|
|
|
private:
|
|
DECLARE_DYNAMIC_CLASS(wxPaintDC)
|
|
};
|
|
|
|
#endif // __WX_DCCLIENT_H__
|