]>
git.saurik.com Git - wxWidgets.git/blob - src/osx/carbon/statline.cpp
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 );