wxVisualAttributes
wxAnyButton::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
{
- return GetDefaultAttributesFromGTKWidget(gtk_button_new);
+ return GetDefaultAttributesFromGTKWidget(gtk_button_new());
}
// ----------------------------------------------------------------------------
}
else // have both label and bitmap
{
- {
- image = gtk_button_get_image(GTK_BUTTON(m_widget));
- }
+ image = gtk_button_get_image(GTK_BUTTON(m_widget));
}
wxCHECK_RET( image && GTK_IS_IMAGE(image), "must have image widget" );