projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
typo fix
[wxWidgets.git]
/
src
/
gtk1
/
radiobox.cpp
diff --git
a/src/gtk1/radiobox.cpp
b/src/gtk1/radiobox.cpp
index f969e6e4d17a2c9dcb6d260118f78e6b7ecfc250..2f760c38cff3f27d60c8297839cf360a5e9ec1f9 100644
(file)
--- a/
src/gtk1/radiobox.cpp
+++ b/
src/gtk1/radiobox.cpp
@@
-202,6
+202,11
@@
bool wxRadioBox::Create( wxWindow *parent, wxWindowID id, const wxString& title,
m_widget = gtk_frame_new(NULL);
SetLabel(title);
m_widget = gtk_frame_new(NULL);
SetLabel(title);
+ if ( HasFlag(wxNO_BORDER) )
+ {
+ // If we don't do this here, the wxNO_BORDER style is ignored in Show()
+ gtk_frame_set_shadow_type(GTK_FRAME(m_widget), GTK_SHADOW_NONE);
+ }
// majorDim may be 0 if all trailing parameters were omitted, so don't
// assert here but just use the correct value for it
// majorDim may be 0 if all trailing parameters were omitted, so don't
// assert here but just use the correct value for it