]>
git.saurik.com Git - wxWidgets.git/blob - src/osx/statline_osx.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/osx/carbon/statlmac.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"
28 #include "wx/statline.h"
31 #include "wx/statbox.h"
34 #include "wx/osx/private.h"
36 // ============================================================================
38 // ============================================================================
40 IMPLEMENT_DYNAMIC_CLASS(wxStaticLine
, wxControl
)
42 // ----------------------------------------------------------------------------
44 // ----------------------------------------------------------------------------
46 bool wxStaticLine::Create( wxWindow
*parent
,
53 m_macIsUserPane
= false ;
55 if ( !wxStaticLineBase::Create(parent
, id
, pos
, size
,
56 style
, wxDefaultValidator
, name
) )
59 m_peer
= wxWidgetImpl::CreateStaticLine( this, parent
, id
, pos
, size
, style
, GetExtraStyle() );
61 MacPostControlCreate(pos
,size
) ;
66 #endif //wxUSE_STATLINE