GtkWidget* label_widget = gtk_frame_get_label_widget(GTK_FRAME(widget));
int w = alloc->width -
2 * widget->style->xthickness - 2 * LABEL_PAD - 2 * LABEL_SIDE_PAD;
- if (w < 0)
+ if (w < 0)
w = 0;
if (label_widget->allocation.width > w)
// wxStaticBox
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
-
wxStaticBox::wxStaticBox()
{
}
{
// 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 );
}