]>
git.saurik.com Git - wxWidgets.git/blob - src/osx/carbon/statline.cpp
62a3db302c0da64974a0793f262c6497db921d2e
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/osx/carbon/statline.cpp
3 // Purpose: wxStaticLine class
4 // Author: Vadim Zeitlin
6 // Copyright: (c) 1998 Vadim Zeitlin
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #include "wx/wxprec.h"
16 #include "wx/statline.h"
19 #include "wx/statbox.h"
22 bool wxStaticLine::Create( wxWindow
*parent
,
27 const wxString
&name
)
29 if ( !CreateBase( parent
, id
, pos
, size
, style
, wxDefaultValidator
, name
) )
32 // this is ugly but it's better than nothing:
33 // use a thin static box to emulate static line
35 wxSize sizeReal
= AdjustSize( size
);
37 // m_statbox = new wxStaticBox( parent, id, wxT(""), pos, sizeReal, style, name );