1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/osx/cocoa/statline.mm
3 // Purpose: wxStaticLine class
4 // Author: Stefan Csomor
7 // Copyright: (c) 2008 Stefan Csomor
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 wxWidgetImplType* wxWidgetImpl::CreateStaticLine( wxWindowMac* wxpeer,
37 wxWindowMac* WXUNUSED(parent),
38 wxWindowID WXUNUSED(id),
42 long WXUNUSED(extraStyle))
44 NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
45 wxNSBox* v = [[wxNSBox alloc] initWithFrame:r];
46 wxWidgetCocoaImpl* c = new wxWidgetCocoaImpl( wxpeer, v );
50 #endif //wxUSE_STATLINE