]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/statbmp.h
added untyped Sort() for compatibility
[wxWidgets.git] / include / wx / gtk1 / statbmp.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: statbmp.h
3 // Purpose:
4 // Author: Robert Roebling
5 // Id: $Id$
6 // Copyright: (c) 1998 Robert Roebling
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"
20 #include "wx/control.h"
21
22 //-----------------------------------------------------------------------------
23 // classes
24 //-----------------------------------------------------------------------------
25
26 class wxStaticBitmap;
27
28 //-----------------------------------------------------------------------------
29 // global data
30 //-----------------------------------------------------------------------------
31
32 extern const char* wxStaticBitmapNameStr;
33
34 //-----------------------------------------------------------------------------
35 // wxStaticBitmap
36 //-----------------------------------------------------------------------------
37
38 class wxStaticBitmap: public wxControl
39 {
40 DECLARE_DYNAMIC_CLASS(wxStaticBitmap)
41
42 public:
43
44 wxStaticBitmap(void);
45 wxStaticBitmap( wxWindow *parent, wxWindowID id, const wxBitmap& label,
46 const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
47 long style = 0, const wxString& name = wxStaticBitmapNameStr );
48 bool Create( wxWindow *parent, wxWindowID id, const wxBitmap& label,
49 const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
50 long style = 0, const wxString& name = wxStaticBitmapNameStr);
51 virtual void SetBitmap( const wxBitmap& bitmap );
52 wxBitmap& GetBitmap(void) const { return (wxBitmap&)m_bitmap; }
53
54 private:
55
56 wxBitmap m_bitmap;
57 };
58
59 #endif // __GTKSTATICBITMAPH__