SetFont() the second

#ifdefed SetFont() in Statusbars destructor
  wxRadioBox setsize corrected (Still only simple layout)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-09-06 18:34:18 +00:00
parent f4ada56822
commit 3f659fd6b1
19 changed files with 108 additions and 48 deletions

View File

@@ -91,7 +91,10 @@ bool wxCheckBox::GetValue(void) const
void wxCheckBox::SetFont( const wxFont &font )
{
m_font = font;
if (((wxFont*)&font)->Ok())
m_font = font;
else
m_font = *wxSWISS_FONT;
GtkButton *bin = GTK_BUTTON( m_widget );
GtkWidget *label = bin->child;