X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d6d1892b8906380cb70c4bd3c88328f1c4851dc6..520e470fdd0daef09c77938db642e4583933c90d:/src/gtk1/radiobox.cpp diff --git a/src/gtk1/radiobox.cpp b/src/gtk1/radiobox.cpp index 805ac0a2ca..66a3e6f593 100644 --- a/src/gtk1/radiobox.cpp +++ b/src/gtk1/radiobox.cpp @@ -158,6 +158,10 @@ void wxRadioBox::OnSize( wxSizeEvent &event ) gtk_myfixed_move( GTK_MYFIXED(m_parent->m_wxwindow), button, x, y ); y += 20; + int w = m_width-10; + if (w < 15) w = 15; + gtk_widget_set_usize( button, w, 20 ); + node = node->Next(); } }