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 // ----------------------------------------------------------------------------
19 // For compilers that support precompilation, includes "wx.h".
20 #include "wx/wxprec.h"
26 #include "wx/statline.h"
27 #include "wx/statbox.h"
29 #include "wx/mac/uma.h"
31 // ============================================================================
33 // ============================================================================
35 IMPLEMENT_DYNAMIC_CLASS(wxStaticLine
, wxControl
)
37 // ----------------------------------------------------------------------------
39 // ----------------------------------------------------------------------------
41 bool wxStaticLine::Create( wxWindow
*parent
,
48 if ( !wxStaticLineBase::Create(parent
, id
, pos
, size
,
49 style
, wxDefaultValidator
, name
) )
55 MacPreControlCreate( parent
, id
, wxEmptyString
, pos
, size
,style
, wxDefaultValidator
, name
, &bounds
, title
) ;
57 m_macControl
= (WXWidget
) ::NewControl( MAC_WXHWND(parent
->MacGetRootWindow()) , &bounds
, title
, false , 0 , 0 , 1,
58 kControlSeparatorLineProc
, (long) this ) ;
60 MacPostControlCreate() ;