Inline wxStaticBox ctors in wxGTK
No real changes, just make the trivial ctors of this class inline for consistency with the new ctor about to be added.
This commit is contained in:
@@ -16,14 +16,21 @@
|
|||||||
class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
|
class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxStaticBox();
|
wxStaticBox()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
wxStaticBox( wxWindow *parent,
|
wxStaticBox( wxWindow *parent,
|
||||||
wxWindowID id,
|
wxWindowID id,
|
||||||
const wxString &label,
|
const wxString &label,
|
||||||
const wxPoint &pos = wxDefaultPosition,
|
const wxPoint &pos = wxDefaultPosition,
|
||||||
const wxSize &size = wxDefaultSize,
|
const wxSize &size = wxDefaultSize,
|
||||||
long style = 0,
|
long style = 0,
|
||||||
const wxString &name = wxStaticBoxNameStr );
|
const wxString &name = wxStaticBoxNameStr )
|
||||||
|
{
|
||||||
|
Create( parent, id, label, pos, size, style, name );
|
||||||
|
}
|
||||||
|
|
||||||
bool Create( wxWindow *parent,
|
bool Create( wxWindow *parent,
|
||||||
wxWindowID id,
|
wxWindowID id,
|
||||||
const wxString &label,
|
const wxString &label,
|
||||||
|
@@ -59,21 +59,6 @@ static gboolean expose_event(GtkWidget* widget, GdkEventExpose*, wxWindow*)
|
|||||||
// wxStaticBox
|
// wxStaticBox
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
wxStaticBox::wxStaticBox()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
wxStaticBox::wxStaticBox( wxWindow *parent,
|
|
||||||
wxWindowID id,
|
|
||||||
const wxString &label,
|
|
||||||
const wxPoint& pos,
|
|
||||||
const wxSize& size,
|
|
||||||
long style,
|
|
||||||
const wxString& name )
|
|
||||||
{
|
|
||||||
Create( parent, id, label, pos, size, style, name );
|
|
||||||
}
|
|
||||||
|
|
||||||
bool wxStaticBox::Create( wxWindow *parent,
|
bool wxStaticBox::Create( wxWindow *parent,
|
||||||
wxWindowID id,
|
wxWindowID id,
|
||||||
const wxString& label,
|
const wxString& label,
|
||||||
|
Reference in New Issue
Block a user