]> git.saurik.com Git - wxWidgets.git/blob - src/stubs/statbox.cpp
fixed menu accelerators
[wxWidgets.git] / src / stubs / statbox.cpp
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
18 #if !USE_SHARED_LIBRARY
19 IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
20
21 BEGIN_EVENT_TABLE(wxStaticBox, wxControl)
22 EVT_ERASE_BACKGROUND(wxStaticBox::OnEraseBackground)
23 END_EVENT_TABLE()
24
25 #endif
26
27 /*
28 * Static box
29 */
30
31 bool wxStaticBox::Create(wxWindow *parent, wxWindowID id,
32 const wxString& label,
33 const wxPoint& pos,
34 const wxSize& size,
35 long style,
36 const wxString& name)
37 {
38 SetName(name);
39
40 if (parent) parent->AddChild(this);
41
42 if ( id == -1 )
43 m_windowId = (int)NewControlId();
44 else
45 m_windowId = id;
46
47 m_windowStyle = style;
48
49 // TODO: create static box
50 return FALSE;
51 }
52
53 void wxStaticBox::SetLabel(const wxString& label)
54 {
55 // TODO
56 }
57
58 void wxStaticBox::SetSize(int x, int y, int width, int height, int sizeFlags)
59 {
60 // TODO
61 }
62