]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/mac/classic/statline.cpp
Unicode compilation fixes
[wxWidgets.git] / src / mac / classic / statline.cpp
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: src/mac/classic/statline.cpp
3// Purpose: wxStaticLine class
4// Author: Vadim Zeitlin
5// Created: 28.06.99
6// Version: $Id$
7// Copyright: (c) 1998 Vadim Zeitlin
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11// ============================================================================
12// declarations
13// ============================================================================
14
15// ----------------------------------------------------------------------------
16// headers
17// ----------------------------------------------------------------------------
18
19// For compilers that support precompilation, includes "wx.h".
20#include "wx/wxprec.h"
21
22#ifdef __BORLANDC__
23 #pragma hdrstop
24#endif
25
26#include "wx/statline.h"
27
28#ifndef WX_PRECOMP
29 #include "wx/statbox.h"
30#endif
31
32// ============================================================================
33// implementation
34// ============================================================================
35
36IMPLEMENT_DYNAMIC_CLASS(wxStaticLine, wxControl)
37
38// ----------------------------------------------------------------------------
39// wxStaticLine
40// ----------------------------------------------------------------------------
41
42bool wxStaticLine::Create( wxWindow *parent,
43 wxWindowID id,
44 const wxPoint &pos,
45 const wxSize &size,
46 long style,
47 const wxString &name)
48{
49 if ( !CreateBase(parent, id, pos, size, style, wxDefaultValidator, name) )
50 return false;
51
52 // ok, this is ugly but it's better than nothing: use a thin static box to
53 // emulate static line
54
55 wxSize sizeReal = AdjustSize(size);
56
57// m_statbox = new wxStaticBox(parent, id, wxT(""), pos, sizeReal, style, name);
58
59 return true;
60}