1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/motif/dcmemory.h
3 // Purpose: wxMemoryDCImpl class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_DCMEMORY_H_
13 #define _WX_DCMEMORY_H_
15 #include "wx/motif/dcclient.h"
17 class WXDLLIMPEXP_CORE wxMemoryDCImpl
: public wxWindowDCImpl
20 wxMemoryDCImpl(wxMemoryDC
*owner
) : wxWindowDCImpl(owner
) { Init(); }
21 wxMemoryDCImpl(wxMemoryDC
*owner
, wxBitmap
& bitmap
)
22 : wxWindowDCImpl(owner
)
28 wxMemoryDCImpl(wxMemoryDC
*owner
, wxDC
*dc
);
29 virtual ~wxMemoryDCImpl();
31 virtual void DoGetSize( int *width
, int *height
) const;
32 virtual void DoSelect(const wxBitmap
& bitmap
);
35 friend class wxPaintDC
;
41 DECLARE_DYNAMIC_CLASS(wxMemoryDCImpl
)