]> git.saurik.com Git - wxWidgets.git/blob - src/osx/statline_osx.cpp
Set missing Language: headers in PO files.
[wxWidgets.git] / src / osx / statline_osx.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/osx/statline_osx.cpp
3 // Purpose: a generic wxStaticLine class
4 // Author: Vadim Zeitlin
5 // Created: 28.06.99
6 // Copyright: (c) 1998 Vadim Zeitlin
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 // ============================================================================
11 // declarations
12 // ============================================================================
13
14 // ----------------------------------------------------------------------------
15 // headers
16 // ----------------------------------------------------------------------------
17
18 // For compilers that support precompilation, includes "wx.h".
19 #include "wx/wxprec.h"
20
21 #ifdef __BORLANDC__
22 #pragma hdrstop
23 #endif
24
25 #if wxUSE_STATLINE
26
27 #include "wx/statline.h"
28
29 #ifndef WX_PRECOMP
30 #include "wx/statbox.h"
31 #endif
32
33 #include "wx/osx/private.h"
34
35 // ============================================================================
36 // implementation
37 // ============================================================================
38
39 // ----------------------------------------------------------------------------
40 // wxStaticLine
41 // ----------------------------------------------------------------------------
42
43 bool wxStaticLine::Create( wxWindow *parent,
44 wxWindowID id,
45 const wxPoint &pos,
46 const wxSize &size,
47 long style,
48 const wxString &name)
49 {
50 DontCreatePeer();
51
52 if ( !wxStaticLineBase::Create(parent, id, pos, size,
53 style, wxDefaultValidator, name) )
54 return false;
55
56 SetPeer(wxWidgetImpl::CreateStaticLine( this, parent, id, pos, size, style, GetExtraStyle() ));
57
58 MacPostControlCreate(pos,size) ;
59
60 return true;
61 }
62
63 #endif //wxUSE_STATLINE