diff --git a/include/wx/gtk/statbox.h b/include/wx/gtk/statbox.h index 7dd72b86ff..b019740133 100644 --- a/include/wx/gtk/statbox.h +++ b/include/wx/gtk/statbox.h @@ -16,14 +16,21 @@ class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase { public: - wxStaticBox(); + wxStaticBox() + { + } + wxStaticBox( wxWindow *parent, wxWindowID id, const wxString &label, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = 0, - const wxString &name = wxStaticBoxNameStr ); + const wxString &name = wxStaticBoxNameStr ) + { + Create( parent, id, label, pos, size, style, name ); + } + bool Create( wxWindow *parent, wxWindowID id, const wxString &label, diff --git a/src/gtk/statbox.cpp b/src/gtk/statbox.cpp index 797d80caf8..1e4a724497 100644 --- a/src/gtk/statbox.cpp +++ b/src/gtk/statbox.cpp @@ -59,21 +59,6 @@ static gboolean expose_event(GtkWidget* widget, GdkEventExpose*, wxWindow*) // 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, wxWindowID id, const wxString& label,