]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk1/statbmp.h
more wxCloseEvent changes: now the behaviour should be conforming to the one
[wxWidgets.git] / include / wx / gtk1 / statbmp.h
CommitLineData
c801d85f
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: statbmp.h
3// Purpose:
4// Author: Robert Roebling
58614078
RR
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
c801d85f
KB
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10
11#ifndef __GTKSTATICBITMAPH__
12#define __GTKSTATICBITMAPH__
13
14#ifdef __GNUG__
15#pragma interface
16#endif
17
18#include "wx/defs.h"
19#include "wx/object.h"
c801d85f 20#include "wx/control.h"
ac57418f 21#include "wx/bitmap.h"
c801d85f
KB
22
23//-----------------------------------------------------------------------------
24// classes
25//-----------------------------------------------------------------------------
26
27class wxStaticBitmap;
28
1a56f55c
RR
29//-----------------------------------------------------------------------------
30// global data
31//-----------------------------------------------------------------------------
32
33extern const char* wxStaticBitmapNameStr;
34
c801d85f
KB
35//-----------------------------------------------------------------------------
36// wxStaticBitmap
37//-----------------------------------------------------------------------------
38
1a56f55c
RR
39class wxStaticBitmap: public wxControl
40{
41 DECLARE_DYNAMIC_CLASS(wxStaticBitmap)
42
43 public:
44
45 wxStaticBitmap(void);
debe6624 46 wxStaticBitmap( wxWindow *parent, wxWindowID id, const wxBitmap& label,
1a56f55c 47 const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
debe6624
JS
48 long style = 0, const wxString& name = wxStaticBitmapNameStr );
49 bool Create( wxWindow *parent, wxWindowID id, const wxBitmap& label,
1a56f55c 50 const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
debe6624 51 long style = 0, const wxString& name = wxStaticBitmapNameStr);
1a56f55c
RR
52 virtual void SetBitmap( const wxBitmap& bitmap );
53 wxBitmap& GetBitmap(void) const { return (wxBitmap&)m_bitmap; }
58614078 54
1a56f55c
RR
55 private:
56
57 wxBitmap m_bitmap;
58};
59
c801d85f 60#endif // __GTKSTATICBITMAPH__