]>
git.saurik.com Git - wxWidgets.git/blob - src/gtk/statbox.cpp
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
7 // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
12 #pragma implementation "statbox.h"
15 #include "wx/statbox.h"
17 //-----------------------------------------------------------------------------
19 //-----------------------------------------------------------------------------
21 IMPLEMENT_DYNAMIC_CLASS(wxStaticBox
,wxControl
)
23 wxStaticBox::wxStaticBox(void)
27 wxStaticBox::wxStaticBox( wxWindow
*parent
, wxWindowID id
, const wxString
&label
,
28 const wxPoint
&pos
, const wxSize
&size
,
29 long style
, const wxString
&name
)
31 Create( parent
, id
, label
, pos
, size
, style
, name
);
34 bool wxStaticBox::Create( wxWindow
*parent
, wxWindowID id
, const wxString
&label
,
35 const wxPoint
&pos
, const wxSize
&size
,
36 long style
, const wxString
&name
)
40 PreCreation( parent
, id
, pos
, size
, style
, name
);
43 m_widget
= gtk_frame_new(m_label
);