]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/statbmp.h
ab6e7c331d7f371b45c85bf84c4923aa68b32c4e
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"
21 #include "wx/bitmap.h"
23 //-----------------------------------------------------------------------------
25 //-----------------------------------------------------------------------------
29 //-----------------------------------------------------------------------------
31 //-----------------------------------------------------------------------------
33 extern const char* wxStaticBitmapNameStr
;
35 //-----------------------------------------------------------------------------
37 //-----------------------------------------------------------------------------
39 class wxStaticBitmap
: public wxControl
41 DECLARE_DYNAMIC_CLASS(wxStaticBitmap
)
46 wxStaticBitmap( wxWindow
*parent
, wxWindowID id
, const wxBitmap
& label
,
47 const wxPoint
& pos
= wxDefaultPosition
, const wxSize
& size
= wxDefaultSize
,
48 long style
= 0, const wxString
& name
= wxStaticBitmapNameStr
);
49 bool Create( 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 virtual void SetBitmap( const wxBitmap
& bitmap
);
53 wxBitmap
& GetBitmap(void) const { return (wxBitmap
&)m_bitmap
; }
60 #endif // __GTKSTATICBITMAPH__