]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/dcmemory.h
Corrected hotkeys for MDI menus.
[wxWidgets.git] / include / wx / gtk / dcmemory.h
CommitLineData
c801d85f
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcmemory.h
3// Purpose:
4// Author: Robert Roebling
6f65e337 5// RCS-ID: $Id$
dbf858b5 6// Copyright: (c) 1998 Robert Roebling
8bbe427f 7// Licence: wxWindows licence
c801d85f
KB
8/////////////////////////////////////////////////////////////////////////////
9
10
11#ifndef __GTKDCMEMORYH__
12#define __GTKDCMEMORYH__
13
14#ifdef __GNUG__
15#pragma interface
16#endif
17
18#include "wx/defs.h"
19#include "wx/dcclient.h"
20
21//-----------------------------------------------------------------------------
22// classes
23//-----------------------------------------------------------------------------
24
25class wxMemoryDC;
26
27//-----------------------------------------------------------------------------
28// wxMemoryDC
29//-----------------------------------------------------------------------------
30
ec758a20 31class wxMemoryDC: public wxWindowDC
c801d85f
KB
32{
33 DECLARE_DYNAMIC_CLASS(wxMemoryDC)
34
ec758a20 35public:
4bc67cc5 36 wxMemoryDC();
ec758a20 37 wxMemoryDC( wxDC *dc ); // Create compatible DC
4bc67cc5 38 ~wxMemoryDC();
ec758a20 39 virtual void SelectObject( const wxBitmap& bitmap );
4e4ea166 40 void DoGetSize( int *width, int *height ) const;
c801d85f 41
8bbe427f
VZ
42 // implementation
43
ec758a20 44 wxBitmap m_selected;
c801d85f
KB
45};
46
47#endif
48 // __GTKDCMEMORYH__
49