1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/osx/cocoa/statline.mm
3 // Purpose: wxStaticLine class
4 // Author: Stefan Csomor
6 // Version: $Id: statline.mm 54129 2008-06-11 19:30:52Z SC $
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,
44 NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
45 wxNSBox* v = [[wxNSBox alloc] initWithFrame:r];
46 wxWidgetCocoaImpl* c = new wxWidgetCocoaImpl( wxpeer, v );
47 [v setImplementation:c];
51 #endif //wxUSE_STATLINE