projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no message
[wxWidgets.git]
/
src
/
gtk1
/
radiobox.cpp
diff --git
a/src/gtk1/radiobox.cpp
b/src/gtk1/radiobox.cpp
index 805ac0a2cac114aed6c4dc9d12ed8d32cad83f27..66a3e6f593f871c4f69356d277ead5b569ee1c2f 100644
(file)
--- 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;
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();
}
}
node = node->Next();
}
}