]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk1/dcmemory.h
added methods for sequential scan of wxTextFile: Get{First|Next|Prev|Last}Line
[wxWidgets.git] / include / wx / gtk1 / dcmemory.h
CommitLineData
c801d85f
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcmemory.h
3// Purpose:
4// Author: Robert Roebling
5// Created: 01/02/97
6f65e337 6// RCS-ID: $Id$
c801d85f
KB
7// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11
12#ifndef __GTKDCMEMORYH__
13#define __GTKDCMEMORYH__
14
15#ifdef __GNUG__
16#pragma interface
17#endif
18
19#include "wx/defs.h"
20#include "wx/dcclient.h"
21
22//-----------------------------------------------------------------------------
23// classes
24//-----------------------------------------------------------------------------
25
26class wxMemoryDC;
27
28//-----------------------------------------------------------------------------
29// wxMemoryDC
30//-----------------------------------------------------------------------------
31
32class WXDLLEXPORT wxMemoryDC: public wxPaintDC
33{
34 DECLARE_DYNAMIC_CLASS(wxMemoryDC)
35
36 public:
37 wxMemoryDC(void);
38 wxMemoryDC( wxDC *dc ); // Create compatible DC
39 ~wxMemoryDC(void);
40 virtual void SelectObject( const wxBitmap& bitmap );
0180d5da 41 void GetSize( int *width, int *height ) const;
c801d85f
KB
42
43 private:
6f65e337 44 friend wxPaintDC;
c801d85f
KB
45 wxBitmap m_selected;
46};
47
48#endif
49 // __GTKDCMEMORYH__
50