// Name: src/gtk/statbox.cpp
// Purpose:
// Author: Robert Roebling
-// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
}
#endif
+ m_container.DisableSelfFocus();
+
return true;
}
gtk_container_add( GTK_CONTAINER (m_widget), m_wxwindow );
}
- wxWindow::AddChild( child );
+ wxStaticBoxBase::AddChild(child);
}
void wxStaticBox::SetLabel( const wxString& label )
wxVisualAttributes
wxStaticBox::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
{
- return GetDefaultAttributesFromGTKWidget(gtk_frame_new);
+ return GetDefaultAttributesFromGTKWidget(gtk_frame_new(""));
}
-
void wxStaticBox::GetBordersForSizer(int *borderTop, int *borderOther) const
{
*borderTop = GetCharHeight();