]>
git.saurik.com Git - wxWidgets.git/blob - src/stubs/statbmp.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxStaticBitmap
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma implementation "statbmp.h"
16 #include "wx/statbmp.h"
18 #if !USE_SHARED_LIBRARY
19 IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap
, wxControl
)
26 bool wxStaticBitmap::Create(wxWindow
*parent
, wxWindowID id
,
27 const wxBitmap
& bitmap
,
33 m_messageBitmap
= bitmap
;
35 if (parent
) parent
->AddChild(this);
38 m_windowId
= (int)NewControlId();
42 m_windowStyle
= style
;
44 // TODO: create static bitmap control
48 void wxStaticBitmap::SetSize(int x
, int y
, int width
, int height
, int sizeFlags
)
53 void wxStaticBitmap::SetBitmap(const wxBitmap
& bitmap
)
55 m_messageBitmap
= bitmap
;
57 // TODO: redraw bitmap