racket/src/wxwindow/include/msw/wx_dcmem.h
Eli Barzilay b87d94de94 2005->2006
svn: r1694
2005-12-26 20:45:10 +00:00

39 lines
770 B
C++

/*
* File: wx_dcmem.h
* Purpose: Memory device context declaration
* Author: Julian Smart
* Created: 1993
* Updated:
* Copyright: (c) 2004-2006 PLT Scheme Inc.
* Copyright: (c) 1993, AIAI, University of Edinburgh
*
* Renovated by Matthew for MrEd, 1995-2000
*/
#ifndef wx_dcmemh
#define wx_dcmemh
#include "common.h"
#include "wb_dcmem.h"
class wxMemoryDC: public wxbMemoryDC
{
public:
Bool read_only;
Bool refcount; /* when used as a mask cache */
wxMemoryDC(Bool read_only = 0);
wxMemoryDC(wxCanvasDC *old_dc); // Create compatible DC
~wxMemoryDC(void);
virtual void SelectObject(wxBitmap *bitmap);
virtual wxBitmap* GetObject();
void GetSize(double *width, double *height);
wxGL *GetGL();
Bool Ok(void);
};
#endif // wx_dcmemh