]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/statbmp.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __GTKSTATICBITMAPH__
12 #define __GTKSTATICBITMAPH__
19 #include "wx/object.h"
20 #include "wx/control.h"
22 //-----------------------------------------------------------------------------
24 //-----------------------------------------------------------------------------
28 //-----------------------------------------------------------------------------
30 //-----------------------------------------------------------------------------
32 extern const char* wxStaticBitmapNameStr
;
34 //-----------------------------------------------------------------------------
36 //-----------------------------------------------------------------------------
38 class wxStaticBitmap
: public wxControl
40 DECLARE_DYNAMIC_CLASS(wxStaticBitmap
)
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
; }
59 #endif // __GTKSTATICBITMAPH__