]>
git.saurik.com Git - wxWidgets.git/blob - src/mac/classic/statline.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/mac/classic/statline.cpp
3 // Purpose: wxStaticLine class
4 // Author: Vadim Zeitlin
7 // Copyright: (c) 1998 Vadim Zeitlin
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 // ============================================================================
13 // ============================================================================
15 // ----------------------------------------------------------------------------
17 // ----------------------------------------------------------------------------
19 // For compilers that support precompilation, includes "wx.h".
20 #include "wx/wxprec.h"
26 #include "wx/statline.h"
29 #include "wx/statbox.h"
32 // ============================================================================
34 // ============================================================================
36 IMPLEMENT_DYNAMIC_CLASS(wxStaticLine
, wxControl
)
38 // ----------------------------------------------------------------------------
40 // ----------------------------------------------------------------------------
42 bool wxStaticLine::Create( wxWindow
*parent
,
49 if ( !CreateBase(parent
, id
, pos
, size
, style
, wxDefaultValidator
, name
) )
52 // ok, this is ugly but it's better than nothing: use a thin static box to
53 // emulate static line
55 wxSize sizeReal
= AdjustSize(size
);
57 // m_statbox = new wxStaticBox(parent, id, wxT(""), pos, sizeReal, style, name);