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:
Vadim Zeitlin
2017-12-18 18:28:53 +01:00
parent f36973875e
commit 87afebd6f2
2 changed files with 9 additions and 17 deletions

View File

@@ -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,

View File

@@ -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,