git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			64 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
/////////////////////////////////////////////////////////////////////////////
 | 
						|
// Name:        wx/dcclient.h
 | 
						|
// Purpose:     wxClientDC base header
 | 
						|
// Author:      Julian Smart
 | 
						|
// Copyright:   (c) Julian Smart
 | 
						|
// RCS-ID:      $Id$
 | 
						|
// Licence:     wxWindows Licence
 | 
						|
/////////////////////////////////////////////////////////////////////////////
 | 
						|
 | 
						|
#ifndef _WX_DCCLIENT_H_BASE_
 | 
						|
#define _WX_DCCLIENT_H_BASE_
 | 
						|
 | 
						|
#include "wx/dc.h"
 | 
						|
 | 
						|
//-----------------------------------------------------------------------------
 | 
						|
// wxWindowDC
 | 
						|
//-----------------------------------------------------------------------------
 | 
						|
 | 
						|
class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
 | 
						|
{
 | 
						|
public:
 | 
						|
    wxWindowDC(wxWindow *win);
 | 
						|
 | 
						|
protected:
 | 
						|
    wxWindowDC(wxDCImpl *impl) : wxDC(impl) { }
 | 
						|
 | 
						|
private:
 | 
						|
    DECLARE_ABSTRACT_CLASS(wxWindowDC)
 | 
						|
};
 | 
						|
 | 
						|
//-----------------------------------------------------------------------------
 | 
						|
// wxClientDC
 | 
						|
//-----------------------------------------------------------------------------
 | 
						|
 | 
						|
class WXDLLIMPEXP_CORE wxClientDC : public wxWindowDC
 | 
						|
{
 | 
						|
public:
 | 
						|
    wxClientDC(wxWindow *win);
 | 
						|
 | 
						|
protected:
 | 
						|
    wxClientDC(wxDCImpl *impl) : wxWindowDC(impl) { }
 | 
						|
 | 
						|
private:
 | 
						|
    DECLARE_ABSTRACT_CLASS(wxClientDC)
 | 
						|
};
 | 
						|
 | 
						|
//-----------------------------------------------------------------------------
 | 
						|
// wxPaintDC
 | 
						|
//-----------------------------------------------------------------------------
 | 
						|
 | 
						|
class WXDLLIMPEXP_CORE wxPaintDC : public wxClientDC
 | 
						|
{
 | 
						|
public:
 | 
						|
    wxPaintDC(wxWindow *win);
 | 
						|
 | 
						|
protected:
 | 
						|
    wxPaintDC(wxDCImpl *impl) : wxClientDC(impl) { }
 | 
						|
 | 
						|
private:
 | 
						|
    DECLARE_ABSTRACT_CLASS(wxPaintDC)
 | 
						|
};
 | 
						|
 | 
						|
#endif // _WX_DCCLIENT_H_BASE_
 |