]>
Commit | Line | Data |
---|---|---|
7c78e7c7 RR |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: statbox.cpp | |
01b2eeec KB |
3 | // Purpose: wxStaticBox |
4 | // Author: AUTHOR | |
5 | // Modified by: | |
6 | // Created: ??/??/98 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) AUTHOR | |
9 | // Licence: wxWindows licence | |
7c78e7c7 RR |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
12 | #ifdef __GNUG__ | |
13 | #pragma implementation "statbox.h" | |
14 | #endif | |
15 | ||
16 | #include "wx/statbox.h" | |
17 | ||
01b2eeec KB |
18 | #if !USE_SHARED_LIBRARY |
19 | IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl) | |
7c78e7c7 | 20 | |
01b2eeec KB |
21 | BEGIN_EVENT_TABLE(wxStaticBox, wxControl) |
22 | EVT_ERASE_BACKGROUND(wxStaticBox::OnEraseBackground) | |
23 | END_EVENT_TABLE() | |
7c78e7c7 | 24 | |
01b2eeec KB |
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) | |
7c78e7c7 | 37 | { |
01b2eeec KB |
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; | |
7c78e7c7 | 46 | |
01b2eeec KB |
47 | m_windowStyle = style; |
48 | ||
49 | // TODO: create static box | |
50 | return FALSE; | |
51 | } | |
52 | ||
53 | void wxStaticBox::SetLabel(const wxString& label) | |
7c78e7c7 | 54 | { |
01b2eeec KB |
55 | // TODO |
56 | } | |
7c78e7c7 | 57 | |
01b2eeec | 58 | void wxStaticBox::SetSize(int x, int y, int width, int height, int sizeFlags) |
7c78e7c7 | 59 | { |
01b2eeec KB |
60 | // TODO |
61 | } | |
62 |