removed USE_SHARED_LIBRARY(IES)
[wxWidgets.git] / src / qt / statbmp.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: statbmp.cpp
3 // Purpose: wxStaticBitmap
4 // Author: AUTHOR
5 // Modified by:
6 // Created: ??/??/98
7 // RCS-ID: $Id$
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifdef __GNUG__
13 #pragma implementation "statbmp.h"
14 #endif
15
16 #include "wx/statbmp.h"
17
18 IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
19
20 /*
21 * wxStaticBitmap
22 */
23
24 bool wxStaticBitmap::Create(wxWindow *parent, wxWindowID id,
25 const wxBitmap& bitmap,
26 const wxPoint& pos,
27 const wxSize& size,
28 long style,
29 const wxString& name)
30 {
31 m_messageBitmap = bitmap;
32 SetName(name);
33 if (parent) parent->AddChild(this);
34
35 if ( id == -1 )
36 m_windowId = (int)NewControlId();
37 else
38 m_windowId = id;
39
40 m_windowStyle = style;
41
42 // TODO: create static bitmap control
43 return FALSE;
44 }
45
46 void wxStaticBitmap::SetSize(int x, int y, int width, int height, int sizeFlags)
47 {
48 // TODO
49 }
50
51 void wxStaticBitmap::SetBitmap(const wxBitmap& bitmap)
52 {
53 m_messageBitmap = bitmap;
54
55 // TODO: redraw bitmap
56 }
57