1 /////////////////////////////////////////////////////////////////////////////
 
   2 // Name:        src/osx/cocoa/statline.mm
 
   3 // Purpose:     wxStaticLine class
 
   4 // Author:      Stefan Csomor
 
   6 // Copyright:   (c) 2008 Stefan Csomor
 
   7 // Licence:     wxWindows licence
 
   8 /////////////////////////////////////////////////////////////////////////////
 
  10 // ============================================================================
 
  12 // ============================================================================
 
  14 // ----------------------------------------------------------------------------
 
  16 // ----------------------------------------------------------------------------
 
  18 // For compilers that support precompilation, includes "wx.h".
 
  19 #include "wx/wxprec.h"
 
  27 #include "wx/statline.h"
 
  30     #include "wx/statbox.h"
 
  33 #include "wx/osx/private.h"
 
  35 wxWidgetImplType* wxWidgetImpl::CreateStaticLine( wxWindowMac* wxpeer,
 
  36                                     wxWindowMac* WXUNUSED(parent),
 
  37                                     wxWindowID WXUNUSED(id),
 
  41                                     long WXUNUSED(extraStyle))
 
  43     NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
 
  44     wxNSBox* v = [[wxNSBox alloc] initWithFrame:r];
 
  45     wxWidgetCocoaImpl* c = new wxWidgetCocoaImpl( wxpeer, v );
 
  49 #endif //wxUSE_STATLINE