1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/cocoa/statbmp.h
3 // Purpose: wxStaticBitmap class
4 // Author: David Elliott
8 // Copyright: (c) 2003 David Elliott
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef __WX_COCOA_STATBMP_H__
13 #define __WX_COCOA_STATBMP_H__
15 // #include "wx/cocoa/NSxxx.h"
17 // ========================================================================
19 // ========================================================================
20 class WXDLLEXPORT wxStaticBitmap
: public wxStaticBitmapBase
//, protected wxCocoaNSxxx
22 DECLARE_DYNAMIC_CLASS(wxStaticBitmap
)
24 // WX_DECLARE_COCOA_OWNER(NSxxx,NSControl,NSView)
25 // ------------------------------------------------------------------------
27 // ------------------------------------------------------------------------
30 wxStaticBitmap(wxWindow
*parent
, wxWindowID winid
,
31 const wxBitmap
& bitmap
,
32 const wxPoint
& pos
= wxDefaultPosition
,
33 const wxSize
& size
= wxDefaultSize
, long style
= 0,
34 const wxString
& name
= wxStaticBitmapNameStr
)
36 Create(parent
, winid
, bitmap
, pos
, size
, style
, name
);
39 bool Create(wxWindow
*parent
, wxWindowID winid
,
40 const wxBitmap
& bitmap
,
41 const wxPoint
& pos
= wxDefaultPosition
,
42 const wxSize
& size
= wxDefaultSize
, long style
= 0,
43 const wxString
& name
= wxStaticBitmapNameStr
);
44 virtual ~wxStaticBitmap();
46 // ------------------------------------------------------------------------
48 // ------------------------------------------------------------------------
49 // ------------------------------------------------------------------------
51 // ------------------------------------------------------------------------
52 virtual void SetIcon(const wxIcon
& icon
);
53 virtual void SetBitmap(const wxBitmap
& bitmap
);
54 virtual wxBitmap
GetBitmap() const;
57 #endif // __WX_COCOA_STATBMP_H__