]> git.saurik.com Git - wxWidgets.git/blob - include/wx/cocoa/dcmemory.h
Catch and forward the following mouse related events:
[wxWidgets.git] / include / wx / cocoa / dcmemory.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/cocoa/dcmemory.h
3 // Purpose: wxMemoryDC class
4 // Author: David Elliott
5 // Modified by:
6 // Created: 2003/03/16
7 // RCS-ID: $Id:
8 // Copyright: (c) 2003 David Elliott
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef __WX_COCOA_DCMEMORY_H__
13 #define __WX_COCOA_DCMEMORY_H__
14
15 #include "wx/dcclient.h"
16
17 class WXDLLEXPORT wxMemoryDC: public wxDC
18 {
19 DECLARE_DYNAMIC_CLASS(wxMemoryDC)
20 public:
21 wxMemoryDC(void);
22 wxMemoryDC( wxDC *dc ); // Create compatible DC
23 ~wxMemoryDC(void);
24 virtual void SelectObject(const wxBitmap& bitmap);
25 virtual void DoGetSize(int *width, int *height) const;
26 };
27
28 #endif // __WX_COCOA_DCMEMORY_H__