]> git.saurik.com Git - wxWidgets.git/blame - src/stubs/statbox.cpp
icon support moved to wxBitmap, allowing for fully transparent usage
[wxWidgets.git] / src / stubs / statbox.cpp
CommitLineData
93cf77c0
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: statbox.cpp
3// Purpose: wxStaticBox
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 "statbox.h"
14#endif
15
16#include "wx/statbox.h"
17
93cf77c0
JS
18IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
19
20BEGIN_EVENT_TABLE(wxStaticBox, wxControl)
21 EVT_ERASE_BACKGROUND(wxStaticBox::OnEraseBackground)
22END_EVENT_TABLE()
23
93cf77c0
JS
24
25/*
26 * Static box
27 */
28
29bool wxStaticBox::Create(wxWindow *parent, wxWindowID id,
30 const wxString& label,
31 const wxPoint& pos,
32 const wxSize& size,
33 long style,
34 const wxString& name)
35{
36 SetName(name);
37
38 if (parent) parent->AddChild(this);
39
40 if ( id == -1 )
41 m_windowId = (int)NewControlId();
42 else
43 m_windowId = id;
44
45 m_windowStyle = style;
46
47 // TODO: create static box
48 return FALSE;
49}
50
51void wxStaticBox::SetLabel(const wxString& label)
52{
53 // TODO
54}
55
56void wxStaticBox::SetSize(int x, int y, int width, int height, int sizeFlags)
57{
58 // TODO
59}
60