]>
git.saurik.com Git - wxWidgets.git/blob - src/gtk/statline.cpp
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #pragma implementation "statline.h"
14 #include "wx/statline.h"
21 //-----------------------------------------------------------------------------
23 //-----------------------------------------------------------------------------
25 IMPLEMENT_DYNAMIC_CLASS(wxStaticLine
, wxControl
)
27 wxStaticLine::wxStaticLine()
31 wxStaticLine::wxStaticLine( wxWindow
*parent
, wxWindowID id
,
32 const wxPoint
&pos
, const wxSize
&size
,
33 long style
, const wxString
&name
)
35 Create( parent
, id
, pos
, size
, style
, name
);
38 bool wxStaticLine::Create( wxWindow
*parent
, wxWindowID id
,
39 const wxPoint
&pos
, const wxSize
&size
,
40 long style
, const wxString
&name
)
44 PreCreation( parent
, id
, pos
, size
, style
, name
);
47 m_widget
= gtk_vseparator_new();
49 m_widget
= gtk_hseparator_new();
51 m_parent
->DoAddChild( this );