Fillid in many more missing functions (such as Enable())

There are still things to fix when compiling sockets ..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-09-06 20:27:21 +00:00
parent 13439807d3
commit d3904ceb9a
20 changed files with 258 additions and 82 deletions

View File

@@ -89,6 +89,14 @@ bool wxCheckBox::GetValue(void) const
return tb->active;
}
void wxCheckBox::Enable( bool enable )
{
wxControl::Enable( enable );
GtkButton *bin = GTK_BUTTON( m_widget );
GtkWidget *label = bin->child;
gtk_widget_set_sensitive( label, enable );
}
void wxCheckBox::SetFont( const wxFont &font )
{
if (((wxFont*)&font)->Ok())