]> git.saurik.com Git - wxWidgets.git/blame - src/qt/statbmp.cpp
Visualage C++ V4.0 duplicate symbol fixes
[wxWidgets.git] / src / qt / statbmp.cpp
CommitLineData
7c78e7c7
RR
1/////////////////////////////////////////////////////////////////////////////
2// Name: statbmp.cpp
01b2eeec
KB
3// Purpose: wxStaticBitmap
4// Author: AUTHOR
5// Modified by:
6// Created: ??/??/98
7// RCS-ID: $Id$
8// Copyright: (c) AUTHOR
7c78e7c7
RR
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13#pragma implementation "statbmp.h"
14#endif
15
16#include "wx/statbmp.h"
17
01b2eeec 18IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
7c78e7c7 19
01b2eeec
KB
20/*
21 * wxStaticBitmap
22 */
7c78e7c7 23
01b2eeec
KB
24bool 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)
7c78e7c7 30{
01b2eeec
KB
31 m_messageBitmap = bitmap;
32 SetName(name);
33 if (parent) parent->AddChild(this);
7c78e7c7 34
01b2eeec
KB
35 if ( id == -1 )
36 m_windowId = (int)NewControlId();
37 else
38 m_windowId = id;
39
40 m_windowStyle = style;
7c78e7c7 41
01b2eeec
KB
42 // TODO: create static bitmap control
43 return FALSE;
44}
45
46void wxStaticBitmap::SetSize(int x, int y, int width, int height, int sizeFlags)
7c78e7c7 47{
01b2eeec
KB
48 // TODO
49}
7c78e7c7 50
01b2eeec 51void wxStaticBitmap::SetBitmap(const wxBitmap& bitmap)
7c78e7c7 52{
01b2eeec
KB
53 m_messageBitmap = bitmap;
54
55 // TODO: redraw bitmap
56}
7c78e7c7 57