]>
git.saurik.com Git - wxWidgets.git/blob - src/mac/classic/statline.cpp
52f3d407331cc40daa2fa89eaa99d9acd7821e42
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: generic/statline.cpp
3 // Purpose: a generic wxStaticLine class
4 // Author: Vadim Zeitlin
7 // Copyright: (c) 1998 Vadim Zeitlin
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 // ============================================================================
13 // ============================================================================
15 // ----------------------------------------------------------------------------
17 // ----------------------------------------------------------------------------
20 #pragma implementation "statline.h"
23 // For compilers that support precompilation, includes "wx.h".
24 #include "wx/wxprec.h"
30 #include "wx/statline.h"
31 #include "wx/statbox.h"
33 // ============================================================================
35 // ============================================================================
37 IMPLEMENT_DYNAMIC_CLASS(wxStaticLine
, wxControl
)
39 // ----------------------------------------------------------------------------
41 // ----------------------------------------------------------------------------
43 bool wxStaticLine::Create( wxWindow
*parent
,
50 if ( !CreateBase(parent
, id
, pos
, size
, style
, wxDefaultValidator
, name
) )
53 // ok, this is ugly but it's better than nothing: use a thin static box to
54 // emulate static line
56 wxSize sizeReal
= AdjustSize(size
);
58 // m_statbox = new wxStaticBox(parent, id, wxT(""), pos, sizeReal, style, name);