]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/statbmp.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __GTKSTATICBITMAPH__
12 #define __GTKSTATICBITMAPH__
22 #include "wx/object.h"
23 #include "wx/control.h"
24 #include "wx/bitmap.h"
26 //-----------------------------------------------------------------------------
28 //-----------------------------------------------------------------------------
32 //-----------------------------------------------------------------------------
34 //-----------------------------------------------------------------------------
36 extern const char* wxStaticBitmapNameStr
;
38 //-----------------------------------------------------------------------------
40 //-----------------------------------------------------------------------------
42 class wxStaticBitmap
: public wxControl
44 DECLARE_DYNAMIC_CLASS(wxStaticBitmap
)
49 wxStaticBitmap( wxWindow
*parent
, wxWindowID id
, const wxBitmap
& label
,
50 const wxPoint
& pos
= wxDefaultPosition
, const wxSize
& size
= wxDefaultSize
,
51 long style
= 0, const wxString
& name
= wxStaticBitmapNameStr
);
52 bool Create( wxWindow
*parent
, wxWindowID id
, const wxBitmap
& label
,
53 const wxPoint
& pos
= wxDefaultPosition
, const wxSize
& size
= wxDefaultSize
,
54 long style
= 0, const wxString
& name
= wxStaticBitmapNameStr
);
55 virtual void SetBitmap( const wxBitmap
& bitmap
);
56 wxBitmap
& GetBitmap(void) const { return (wxBitmap
&)m_bitmap
; }
65 #endif // __GTKSTATICBITMAPH__