]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/dcmemory.h
added wxTextCtrl::ChangeValue() which is the same as SetValue() but doesn't send...
[wxWidgets.git] / include / wx / motif / dcmemory.h
CommitLineData
9b6dbb09 1/////////////////////////////////////////////////////////////////////////////
925f7740 2// Name: wx/motif/dcmemory.h
9b6dbb09
JS
3// Purpose: wxMemoryDC class
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
65571936 9// Licence: wxWindows licence
9b6dbb09
JS
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DCMEMORY_H_
13#define _WX_DCMEMORY_H_
14
9b6dbb09
JS
15#include "wx/dcclient.h"
16
94c7b088 17class WXDLLIMPEXP_CORE wxMemoryDC : public wxWindowDC
9b6dbb09 18{
83df96d6 19 DECLARE_DYNAMIC_CLASS(wxMemoryDC)
925f7740 20
af0bb3b1
VZ
21public:
22 wxMemoryDC();
9b6dbb09 23 wxMemoryDC( wxDC *dc ); // Create compatible DC
d3c7fc99 24 virtual ~wxMemoryDC();
925f7740 25
9b6dbb09 26 virtual void SelectObject( const wxBitmap& bitmap );
925f7740 27
96f201da 28 void DoGetSize( int *width, int *height ) const;
925f7740 29
af0bb3b1 30 wxBitmap& GetBitmap() const { return (wxBitmap&) m_bitmap; }
925f7740 31
af0bb3b1 32private:
f6bcfd97 33 friend class wxPaintDC;
925f7740 34
16c1f7f3 35 wxBitmap m_bitmap;
9b6dbb09
JS
36};
37
38#endif
83df96d6 39// _WX_DCMEMORY_H_