diff --git a/src/gtk/checkbox.cpp b/src/gtk/checkbox.cpp index d11c7ef205..d33908be4d 100644 --- a/src/gtk/checkbox.cpp +++ b/src/gtk/checkbox.cpp @@ -146,6 +146,11 @@ bool wxCheckBox::Create(wxWindow *parent, g_object_ref(m_widget); SetLabel( label ); + if ( style & wxNO_BORDER ) + { + gtk_container_set_border_width(GTK_CONTAINER(m_widgetCheckbox), 0); + } + g_signal_connect (m_widgetCheckbox, "toggled", G_CALLBACK (gtk_checkbox_toggled_callback), this);