1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/motif/dcmemory.h
3 // Purpose: wxMemoryDCImpl class
4 // Author: Julian Smart
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_DCMEMORY_H_
12 #define _WX_DCMEMORY_H_
14 #include "wx/motif/dcclient.h"
16 class WXDLLIMPEXP_CORE wxMemoryDCImpl
: public wxWindowDCImpl
19 wxMemoryDCImpl(wxMemoryDC
*owner
) : wxWindowDCImpl(owner
) { Init(); }
20 wxMemoryDCImpl(wxMemoryDC
*owner
, wxBitmap
& bitmap
)
21 : wxWindowDCImpl(owner
)
27 wxMemoryDCImpl(wxMemoryDC
*owner
, wxDC
*dc
);
28 virtual ~wxMemoryDCImpl();
30 virtual void DoGetSize( int *width
, int *height
) const;
31 virtual void DoSelect(const wxBitmap
& bitmap
);
34 friend class wxPaintDC
;
40 DECLARE_DYNAMIC_CLASS(wxMemoryDCImpl
)