]>
Commit | Line | Data |
---|---|---|
0e320a79 DW |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: dcmemory.h | |
3 | // Purpose: wxMemoryDC class | |
f0a56ab0 | 4 | // Author: David Webster |
0e320a79 | 5 | // Modified by: |
f0a56ab0 | 6 | // Created: 09/09/99 |
0e320a79 | 7 | // RCS-ID: $Id$ |
f0a56ab0 DW |
8 | // Copyright: (c) David Webster |
9 | // Licence: wxWindows licence | |
0e320a79 DW |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
12 | #ifndef _WX_DCMEMORY_H_ | |
13 | #define _WX_DCMEMORY_H_ | |
14 | ||
0e320a79 DW |
15 | #include "wx/dcclient.h" |
16 | ||
fb46a9a6 | 17 | class WXDLLEXPORT wxMemoryDC: public wxDC |
0e320a79 DW |
18 | { |
19 | DECLARE_DYNAMIC_CLASS(wxMemoryDC) | |
20 | ||
21 | public: | |
22 | wxMemoryDC(void); | |
23 | wxMemoryDC( wxDC *dc ); // Create compatible DC | |
ce44c50e | 24 | |
0e320a79 DW |
25 | ~wxMemoryDC(void); |
26 | virtual void SelectObject( const wxBitmap& bitmap ); | |
fb46a9a6 | 27 | virtual void DoGetSize( int *width, int *height ) const; |
0e320a79 DW |
28 | }; |
29 | ||
30 | #endif | |
31 | // _WX_DCMEMORY_H_ |