]>
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
6 // Version: $Id: statlmac.cpp 54129 2008-06-11 19:30:52Z SC $
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