]>
git.saurik.com Git - wxWidgets.git/blob - src/mac/carbon/statline.cpp
   1 ///////////////////////////////////////////////////////////////////////////// 
   2 // Name:        src/mac/carbon/statline.cpp 
   3 // Purpose:     wxStaticLine class 
   4 // Author:      Vadim Zeitlin 
   7 // Copyright:   (c) 1998 Vadim Zeitlin 
   8 // Licence:     wxWindows licence 
   9 ///////////////////////////////////////////////////////////////////////////// 
  11 #include "wx/wxprec.h" 
  17 #include "wx/statline.h" 
  20     #include "wx/statbox.h" 
  23 IMPLEMENT_DYNAMIC_CLASS(wxStaticLine
, wxControl
) 
  26 bool wxStaticLine::Create( wxWindow 
*parent
, 
  31     const wxString 
&name 
) 
  33     if ( !CreateBase( parent
, id
, pos
, size
, style
, wxDefaultValidator
, name 
) ) 
  36     // this is ugly but it's better than nothing: 
  37     // use a thin static box to emulate static line 
  39     wxSize sizeReal 
= AdjustSize( size 
); 
  41 //    m_statbox = new wxStaticBox( parent, id, wxT(""), pos, sizeReal, style, name );