]> git.saurik.com Git - wxWidgets.git/blame - src/stubs/stattext.cpp
Compile fix for filefn.cpp
[wxWidgets.git] / src / stubs / stattext.cpp
CommitLineData
93cf77c0
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: stattext.cpp
3// Purpose: wxStaticText
4// Author: AUTHOR
5// Modified by:
6// Created: 04/01/98
7// RCS-ID: $Id$
8// Copyright: (c) AUTHOR
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13#pragma implementation "stattext.h"
14#endif
15
93cf77c0 16#include "wx/app.h"
93cf77c0 17#include "wx/stattext.h"
34138703 18
93cf77c0
JS
19#include <stdio.h>
20
21#if !USE_SHARED_LIBRARY
22IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl)
23#endif
24
25bool wxStaticText::Create(wxWindow *parent, wxWindowID id,
26 const wxString& label,
27 const wxPoint& pos,
28 const wxSize& size,
29 long style,
30 const wxString& name)
31{
32 SetName(name);
33 if (parent) parent->AddChild(this);
34
c0ed460c
JS
35 SetBackgroundColour(parent->GetBackgroundColour()) ;
36 SetForegroundColour(parent->GetForegroundColour()) ;
93cf77c0
JS
37
38 if ( id == -1 )
39 m_windowId = (int)NewControlId();
40 else
41 m_windowId = id;
42
93cf77c0
JS
43 m_windowStyle = style;
44
c0ed460c 45 SetFont(parent->GetFont());
34138703
JS
46
47 // TODO
48 return FALSE;
93cf77c0
JS
49}
50
51void wxStaticText::SetSize(int x, int y, int width, int height, int sizeFlags)
52{
34138703 53 // TODO
93cf77c0
JS
54}
55
56void wxStaticText::SetLabel(const wxString& label)
57{
34138703 58 // TODO
93cf77c0
JS
59}
60