]> git.saurik.com Git - wxWidgets.git/blame - src/mac/carbon/statline.cpp
non-pch build fix
[wxWidgets.git] / src / mac / carbon / statline.cpp
CommitLineData
72e7876b
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: generic/statline.cpp
3// Purpose: a generic wxStaticLine class
4// Author: Vadim Zeitlin
5// Created: 28.06.99
6// Version: $Id$
7// Copyright: (c) 1998 Vadim Zeitlin
65571936 8// Licence: wxWindows licence
72e7876b
SC
9/////////////////////////////////////////////////////////////////////////////
10
72e7876b
SC
11#include "wx/wxprec.h"
12
13#ifdef __BORLANDC__
14 #pragma hdrstop
15#endif
16
17#include "wx/statline.h"
18#include "wx/statbox.h"
19
72e7876b
SC
20IMPLEMENT_DYNAMIC_CLASS(wxStaticLine, wxControl)
21
72e7876b
SC
22
23bool wxStaticLine::Create( wxWindow *parent,
43524b15
DS
24 wxWindowID id,
25 const wxPoint &pos,
26 const wxSize &size,
27 long style,
28 const wxString &name )
72e7876b 29{
43524b15
DS
30 if ( !CreateBase( parent, id, pos, size, style, wxDefaultValidator, name ) )
31 return false;
72e7876b 32
43524b15
DS
33 // this is ugly but it's better than nothing:
34 // use a thin static box to emulate static line
72e7876b 35
43524b15 36 wxSize sizeReal = AdjustSize( size );
72e7876b 37
43524b15 38// m_statbox = new wxStaticBox( parent, id, wxT(""), pos, sizeReal, style, name );
72e7876b 39
43524b15 40 return true;
72e7876b 41}