X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..1f4d7e441c3706ae396a4153df76871080ea3802:/src/gtk/statbox.cpp?ds=inline diff --git a/src/gtk/statbox.cpp b/src/gtk/statbox.cpp index 72a26ebbca..151f04d0fa 100644 --- a/src/gtk/statbox.cpp +++ b/src/gtk/statbox.cpp @@ -48,8 +48,6 @@ static void size_allocate(GtkWidget* widget, GtkAllocation* alloc, void*) // wxStaticBox //----------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl) - wxStaticBox::wxStaticBox() { } @@ -114,7 +112,7 @@ void wxStaticBox::AddChild( wxWindowBase *child ) { // make this window a container of other wxWindows by instancing a wxPizza // and packing it into the GtkFrame: - m_wxwindow = wxPizza::New( 0, this ); + m_wxwindow = wxPizza::New(); gtk_widget_show( m_wxwindow ); gtk_container_add( GTK_CONTAINER (m_widget), m_wxwindow ); }