]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/dcmemory.h
642ae88afd1942acdb6fbf8880eec871bebe7649
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxMemoryDC class
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_DCMEMORY_H_
13 #define _WX_DCMEMORY_H_
16 #pragma interface "dcmemory.h"
19 #include "wx/dcclient.h"
21 class WXDLLEXPORT wxMemoryDC
: public wxPaintDC
23 DECLARE_DYNAMIC_CLASS(wxMemoryDC
)
27 wxMemoryDC( wxDC
*dc
); // Create compatible DC
29 virtual void SelectObject( const wxBitmap
& bitmap
);
30 void GetSize( int *width
, int *height
) const;
31 wxBitmap
GetSelectedObject() { return m_selected
; }